Skip to content

frontend changes for rate limiting and anonymus user deny#276

Open
Parvgheewala wants to merge 1 commit intodevelopfrom
feature/ratelimiting-anonymus-user-denied-frontned-develop
Open

frontend changes for rate limiting and anonymus user deny#276
Parvgheewala wants to merge 1 commit intodevelopfrom
feature/ratelimiting-anonymus-user-denied-frontned-develop

Conversation

@Parvgheewala
Copy link
Copy Markdown
Collaborator

Frontend 403 Handling for Direct and Compare Modes

  1. Added dailyLimitReached flag to Redux auth state for tracking limits.
  2. Typed 403 errors now thrown from fetchWithAuth in client.
  3. Streaming hooks re-throw 403 and clean up optimistic messages.
  4. Anonymous users see AuthModal when using Direct or Compare.
  5. Daily limit toast shown and input disabled on 403 response.

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 3, 2026

Deploy Preview for indic-arena ready!

Name Link
🔨 Latest commit a12097b
🔍 Latest deploy log https://app.netlify.com/projects/indic-arena/deploys/69a70d78a11b480008fd1a40
😎 Deploy Preview https://deploy-preview-276--indic-arena.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant