Skip to content

No API rate limit handling in backend.ts #307

Description

@ritaifeoluwa

What changed

  • src/lib/backend.ts makes API calls to smartdrop-backend without handling 429 rate limit responses
  • If the backend rate limits the frontend, users see generic errors

Why

  • Should detect 429 responses and show a "rate limited — try again in X seconds" message
  • Could also implement client-side request queuing

How to test

  1. Check src/lib/backend.ts for 429 handling
  2. Confirm no retry-after or rate limit logic

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions