feat: wire dashboard KPI cards to live analytics#618
Closed
xx7412421-cloud wants to merge 4 commits into
Closed
Conversation
Adds the CSV export dialog for the My Commitments page.
Covers CSV downloads, empty exports, missing sessions, and keyboard behavior.
Adds an accessible export button next to the create action.
Connects the export modal to the My Commitments page and fixes related props.
|
@xx7412421-cloud is attempting to deploy a commit to the 1nonly's projects Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
|
nice start wiring the dashboard KPIs to live analytics — but #585 isn't assigned to you, and we ask that contributors get assigned to an issue before opening a PR for it. closing as invalid for now; please grab #585 on the board first, then re-raise and we'll take a proper look. https://discord.gg/WV7tdYkJk |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #585
Summary
DashboardKpiRowclient component that fetches/api/analytics/userand/api/marketplace/stats.Validation
npm exec -- vitest run tests/components/DashboardKpiRow.test.tsxnpm exec -- eslint src/app/commitments/page.tsx src/components/DashboardKpiRow/DashboardKpiRow.tsx tests/components/DashboardKpiRow.test.tsxnpm exec -- prettier --check src/components/DashboardKpiRow/DashboardKpiRow.tsx src/components/DashboardKpiRow/DashboardKpiRow.module.css tests/components/DashboardKpiRow.test.tsxgit diff --checkFull
npm run test -- --runwas also attempted, but the repository currently has unrelated pre-existing failures outside this change, including duplicate declarations in backend helpers, JSX syntax errors in an existing modal, missing@testing-library/user-event, and several existing environment setup failures.