Skip to content

fix: add contextual empty-state variants for dashboards (#54) - #175

Open
rafaio1 wants to merge 1 commit into
MergeFi:mainfrom
rafaio1:fix/54-empty-state-variants
Open

fix: add contextual empty-state variants for dashboards (#54)#175
rafaio1 wants to merge 1 commit into
MergeFi:mainfrom
rafaio1:fix/54-empty-state-variants

Conversation

@rafaio1

@rafaio1 rafaio1 commented Aug 20, 2026

Copy link
Copy Markdown

Fixes #54.

  • Enhance EmptyState component with a variant prop (default, success, filtered, error) providing distinct visual treatments (border, background, icon color) for different empty-state contexts.
  • Update maintainer dashboard to use the success variant when all PRs are reviewed ("All caught up"), distinguishing a positive empty state from a call-to-action one.
  • Update contributor dashboard to use success variant for completed claims tab and default for active claims tab, with appropriate icons.
  • Update sponsor dashboard to conditionally use success variant when no active bounties exist but the sponsor has previously funded (indicating completion rather than abandonment).
  • TypeScript compiles cleanly with npx tsc --noEmit.

@vercel

vercel Bot commented Aug 20, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the chonilius' projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

Add contextual empty-state variants across dashboards and filtered views

1 participant