feat(landing): add featured projects section#335
Conversation
|
@chigozzdevv is attempting to deploy a commit to the Threadflow Team on Vercel. A member of the Team first needs to authorize it. |
|
@chigozzdevv Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
|
Warning Review limit reached
Next review available in: 47 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughAdds a ChangesFeatured Projects
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant FeaturedProjects
participant useFeaturedProjects
participant apiFetch
participant OpportunityCard
FeaturedProjects->>useFeaturedProjects: request featured projects
useFeaturedProjects->>apiFetch: GET /projects/featured
apiFetch-->>useFeaturedProjects: paginated project data
useFeaturedProjects-->>FeaturedProjects: query state and projects
FeaturedProjects->>OpportunityCard: render mapped project cards
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@components/landing/to-project-card.ts`:
- Around line 68-72: Update the featured project data passed to OpportunityCard
so reward and countdown fields use actual API values instead of fabricated empty
strings and zero values. If the API does not provide them, make the
corresponding fields optional and ensure OpportunityCard hides the unavailable
rows rather than rendering placeholders.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: b1c56ebc-0050-4310-a2d4-6fa3a3ab6e0f
📒 Files selected for processing (2)
components/landing/featured-projects.tsxcomponents/landing/to-project-card.ts

Summary
apiFetchOpportunityCardViewand render the existing cards/projectsVerification
npm run lintNEXT_PUBLIC_API_URL=https://stage-api.boundlessfi.xyz npm run buildCloses #321
Summary by CodeRabbit