Skip to content

feat(frontend): empty-state call to action for researchers - #197

Closed
dezzy-music wants to merge 1 commit into
DepRadarOrg:mainfrom
dezzy-music:frontend/182-empty-state-cta
Closed

dezzy-music wants to merge 1 commit into
DepRadarOrg:mainfrom
dezzy-music:frontend/182-empty-state-cta

Conversation

@dezzy-music

Copy link
Copy Markdown

Description

Replaces the plain "No bounties" placeholder on the bounty board with an informative empty-state Call to Action (EmptyCTA) when no open bounties or filtered results exist. It explains DepRadar's on-chain bounty coordination mechanics for dependency typosquats and supply-chain vulnerabilities, and offers direct links to docs/TUTORIAL.md, CONTRIBUTING.md, and the GitHub issues board.

Closes #182


Tasks Completed

  • Introduced EmptyCTA component in frontend/src/components/ui.tsx.
  • Styled .empty-cta, .empty-cta-title, .empty-cta-desc, and .empty-cta-actions with brand design tokens in frontend/src/index.css.
  • Rendered EmptyCTA in frontend/src/pages/BountyList.tsx when no bounties match the active filter or when the board is empty.
  • Added unit tests for EmptyCTA in frontend/src/components/ui.test.tsx (total 22 frontend tests passing).
  • Verified in browser with full-page screenshot saved at assets/empty-state-cta.png.
  • Documented the change in PROGRESS.md.

Screenshot

DepRadar Empty State Call to Action


Acceptance Criteria

  • Screenshot in the PR (assets/empty-state-cta.png)
  • npm run lint (0 errors, 0 warnings with oxlint)
  • npm run typecheck (tsc -b passes)
  • npm run test (all 22 Vitest tests pass)
  • npm run build (vite build completes cleanly)
  • PROGRESS.md entry added, and the PR description includes Closes #182

Stellar Address (Stellar Wave Program)

GDLCJGQLXZGDAAT5QGRF6FM2MBEER3FPYGCSVPXYL47G2ABIOX2M2S6K

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[frontend] Empty-state call to action for researchers

2 participants