feat: Build Bounty Analytics Dashboard (T3 Bounty) (#859)#1261
Conversation
|
This still misses the “exportable reports (CSV, PDF)” acceptance criterion for #859. The UI exposes both export buttons, but the exports are placeholders rather than reports of the dashboard data: const csvContent = "data:text/csv;charset=utf-8,Date,Bounties,Volume\n2026-05-01,12,50000\n2026-05-02,15,62000";That CSV is hard-coded to two dates and does not include the selected |
|
Thank you for the review! I've updated the
The export actions now accurately reflect the rendered state and analytics values. Let me know if further adjustments are needed! |
cc56eb5 to
a3fe6ec
Compare
|
Thanks for the update. One concrete blocker remains in the new PDF export path: Because those are static bare module specifiers, the frontend build/reviewer install path cannot resolve them. A reviewer clicking the PDF button, or running the Vite/TypeScript build, will hit missing-module errors before the new export path can work. Small fix: add the two dependencies to the frontend package manifest/lockfile, or implement the PDF export using an already-present dependency. After that, I would also suggest keeping the CSV data source shared with the rendered charts so the export cannot drift from the displayed analytics state. |
|
I have amended the commit to include Also, the CSV export now uses a Ready for a re-review when you get a chance! |
a3fe6ec to
b55aebd
Compare
|
Thanks for adding the dependencies. One smaller correctness issue remains in the export data path: the CSV still does not export the same data that is rendered in the charts.
A reviewer can reproduce this by loading |
Resolves #859. - Created `/analytics` page displaying core platform metrics (Volume, Bounties, Contributors, Completion Rate). - Integrated `recharts` for time-series area, bar, and composed charts reflecting growth trends. - Implemented mock export handlers for CSV and PDF. - Exposed a time range filter toggle.
|
Fixed! The |
b55aebd to
cff44ad
Compare
|
Confirmed. The latest commit now creates |
Claims and resolves #859 (T3 Bounty).
AnalyticsPageproviding high-level metrics widgets across Volume, Count, Contributors, and Completion Rate.AnalyticsChartsutilizingrechartsto render a stacked area volume chart, composed completions chart, and contributor growth bar chart.