Skip to content

[BUG] DashboardHeader sync button gives no user feedback when GitHub API is rate-limited #244

@Priyanshu-byte-coder

Description

@Priyanshu-byte-coder

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

  1. Exhaust GitHub API rate limit (or mock a 403 response)
  2. Click the sync button in DashboardHeader
  3. 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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggssoc26GSSoC 2026 contributionlevel:intermediateGSSoC: Intermediate difficulty (35 pts)type:bugGSSoC type bonus: bug fix

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions