Bug Description
The dashboard’s Commit Activity Tracker does not load commit data for the signed-in user. It always renders the same seven hard-coded weekday values for commits, additions, and deletions, while presenting them as a personalized activity chart. The empty state is unreachable because the fixed array is never empty.
Steps to Reproduce
- Go to the dashboard as any signed-in user.
- Open the Commit Activity Tracker and note the values for each weekday.
- Sign in with a different account, or use an account with no recent commits.
- Return to the widget and observe the identical chart and tooltip values.
Affected Area
Dashboard
Screenshots
Not applicable. The current widget defines MOCK_TELEMETRY_DATA directly in src/components/dashboard/CommitActivityWidget.tsx and passes it to the chart without an API request.
Browser & OS
Chrome 139 on macOS 15
Environment
Both
Additional Context
The component should request the authenticated user’s commit activity, render a loading and an honest empty/error state, and only display chart values derived from that response. Regression coverage should include two accounts with different activity and a user with no data.
Bug Description
The dashboard’s Commit Activity Tracker does not load commit data for the signed-in user. It always renders the same seven hard-coded weekday values for commits, additions, and deletions, while presenting them as a personalized activity chart. The empty state is unreachable because the fixed array is never empty.
Steps to Reproduce
Affected Area
Dashboard
Screenshots
Not applicable. The current widget defines
MOCK_TELEMETRY_DATAdirectly insrc/components/dashboard/CommitActivityWidget.tsxand passes it to the chart without an API request.Browser & OS
Chrome 139 on macOS 15
Environment
Both
Additional Context
The component should request the authenticated user’s commit activity, render a loading and an honest empty/error state, and only display chart values derived from that response. Regression coverage should include two accounts with different activity and a user with no data.