Skip to content

feat: add LLM review results to bounty detail page#1019

Open
liufang88789-ui wants to merge 5 commits intoSolFoundry:mainfrom
liufang88789-ui:feat/bounty-837-llm-review-results
Open

feat: add LLM review results to bounty detail page#1019
liufang88789-ui wants to merge 5 commits intoSolFoundry:mainfrom
liufang88789-ui:feat/bounty-837-llm-review-results

Conversation

@liufang88789-ui
Copy link
Copy Markdown

Summary

  • add a dedicated ReviewResultsPanel to the bounty detail page
  • display Claude / Codex / Gemini scores side-by-side with aggregate score, confidence, quality state, and review status
  • expose review reasoning plus deep links to full review details
  • extend Submission typing for AI review metadata
  • add targeted coverage for the review results panel
  • restore missing frontend lib/animations and lib/utils modules required for successful build validation

Validation

  • npm run build
  • npx vitest run src/__tests__/review-results-panel.test.tsx
  • ⚠️ npm test still fails in unrelated pre-existing suites because the repo currently contains tests that reference missing modules/files outside this PR scope (for example admin/tokenomics/analytics/disputes/e2e paths and backend files not present in this checkout)

Acceptance Criteria Mapping

  • Display review scores from all three LLMs side-by-side → implemented in ReviewResultsPanel via per-model score cards
  • Show review quality indicators and confidence percentages → implemented with aggregate score, confidence, threshold/pass state, and review completion state
  • Link to full review details with reasoning → implemented with reasoning block and external review details / PR link

liufang88789-ui and others added 5 commits April 7, 2026 08:43
- Add ForgeHeroBackground component with:
  - 35 animated spark particles (framer-motion, 60fps)
  - 6 rotating industrial gear silhouettes
  - Molten metal glow system (emerald/orange/amber)
  - Heat shimmer distortion overlay
  - Animated anvil/forge SVG silhouette
  - Edge vignette for depth
  - prefers-reduced-motion accessibility support
- Integrate ForgeHeroBackground into HeroSection replacing
  inline grid/gradient layers and simple EmberParticles
- All animations use CSS transforms (GPU-accelerated)
- Bundle impact: minimal (pure TSX + CSS transforms)

Closes SolFoundry#850
- New OnboardingWizard component: 6-step guided flow
  1. Welcome — system intro + value props
  2. Profile Setup — username, avatar (GitHub-linked), bio
  3. Skills — language + domain selection (TypeScript, Rust, etc.)
  4. Wallet — Phantom/Solfare connection CTA
  5. Bounty Education — 4-step bounty lifecycle explanation
  6. Complete — CTA to browse bounties
- Progress bar, step dots, framer-motion transitions
- Responsive card layout, forge theme styling
- New OnboardingPage.tsx routed at /onboarding
- Route added to App.tsx under AuthGuard

Closes SolFoundry#843
- New ContributorStats component: GitHub activity heatmap, earnings charts, key stats
  - GitHub activity calendar heatmap (365-day contribution graph)
  - GitHub stats: commits, PRs opened/merged, last active
  - Dual-axis earnings chart: USDC + FNDRY over 12 months
  - Stat cards: total earned, FNDRY, day streak, bounties completed
- Integrate GitHub API via stored access token for real activity data
- Update ProfileDashboard: add Stats tab, recharts earnings chart
- Stats tab defaults to active on profile page load

Closes SolFoundry#836
New telegram-bot/ directory:
- bot.py: Full Telegram bot with:
  - Real-time SolFoundry API polling
  - Channel notifications with inline buttons (issue/claim/view)
  - User subscription management (/subscribe, /unsubscribe)
  - /list, /status, /help commands
  - SubscriptionStore: filter by tier/category/reward
- requirements.txt: python-telegram-bot==20.8, requests
- Dockerfile: Python 3.12 slim, multi-stage ready
- README.md: Full setup guide + architecture diagram
- .env.example: Environment variable template

Also updated ProfileDashboard with Stats tab icon fix (TrendingUp).

Closes SolFoundry#847
- add ReviewResultsPanel to bounty detail page
- display per-model scores, confidence, quality and review links
- extend Submission type for AI review metadata
- add targeted vitest coverage for review results panel
- restore missing frontend lib utilities required for build
- fix onboarding lazy import and localStorage token typing

Validation:
- PASS: npm run build
- PASS: npx vitest run src/__tests__/review-results-panel.test.tsx
- NOTE: full npm test still fails due pre-existing missing modules/files outside SolFoundry#837 scope
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

missing-wallet PR is missing a Solana wallet for bounty payout

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant