Skip to content

🚀 Feature: Add GitHub API Rate Limit Handling UI #496

@ananyadarna

Description

@ananyadarna

🔖 Feature description

Feature Description

Currently, when the GitHub API rate limit is exceeded, the application either fails silently or shows a generic error message. This creates confusion for users because they do not understand why the data is not loading or why requests suddenly stop working.

The application should properly detect GitHub API rate limit responses and display a user-friendly message explaining the issue.

Expected Improvements

  • Detect GitHub API rate limit errors (403 responses)
  • Show a clear and meaningful error message
  • Display remaining API request count if available
  • Show reset/retry time for the next request
  • Improve overall user experience during API failures

Example

GitHub API rate limit exceeded.
Please wait a few minutes before trying again.

### 🎤 Screenshot

N/A

### 🔄️ Additional Information

## Additional Information

Possible implementation can include:

- Axios interceptors for error handling
- Toast/alert notifications
- Reading GitHub API rate limit headers:
  - `X-RateLimit-Limit`
  - `X-RateLimit-Remaining`
  - `X-RateLimit-Reset`

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions