Summary
When the GitHub API returns 403 (rate limited), the sync button in DashboardHeader spins briefly then stops — no error message shown. User doesn't know why their metrics didn't update.
Steps to Reproduce
- Exhaust GitHub API rate limit (or mock a 403 response)
- Click the sync button in DashboardHeader
- Button stops spinning — no error message appears
Expected Behaviour
Show a toast or inline error: 'GitHub API rate limit reached. Resets at HH:MM. Try again later.' Extract reset time from X-RateLimit-Reset response header.
Implementation Notes
- Parse X-RateLimit-Reset header from failed response
- Convert Unix timestamp to local time string
- Show error in the existing toast/notification system
GSSoC Info
- Difficulty: Intermediate — 35 pts
- Area: Bug Fix / UX
Summary
When the GitHub API returns 403 (rate limited), the sync button in DashboardHeader spins briefly then stops — no error message shown. User doesn't know why their metrics didn't update.
Steps to Reproduce
Expected Behaviour
Show a toast or inline error: 'GitHub API rate limit reached. Resets at HH:MM. Try again later.' Extract reset time from X-RateLimit-Reset response header.
Implementation Notes
GSSoC Info