Skip to content

fix: label permanently-mock dashboard widgets as sample data (#73) - #164

Open
rafaio1 wants to merge 1 commit into
MergeFi:mainfrom
rafaio1:fix/73-dashboard-mock-data
Open

fix: label permanently-mock dashboard widgets as sample data (#73)#164
rafaio1 wants to merge 1 commit into
MergeFi:mainfrom
rafaio1:fix/73-dashboard-mock-data

Conversation

@rafaio1

@rafaio1 rafaio1 commented Aug 20, 2026

Copy link
Copy Markdown

Fixes #73.

  • Add per-widget 'Sample data' badges to contributor earnings chart, contributor activity feed, sponsor spend chart, sponsor spend-by-repo panel, sponsor activity feed, and maintainer activity feed whenever the page is in live-data mode (or always for the server-rendered maintainer dashboard).
  • Prevents authenticated users from seeing fabricated personal-looking charts/activity under a misleading page-level 'Live data' badge when no backend endpoint exists yet for those widgets.
  • 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.

Dashboard charts, activity feeds, and spend-by-repo panels are permanently hardcoded mock data, regardless of the Live data badge

1 participant