Skip to content

fix: simplify Settings access status - #48

Merged
Programcode merged 4 commits into
mainfrom
codex/rate-limit-ui-cleanup
Sep 19, 2026
Merged

Programcode merged 4 commits into
mainfrom
codex/rate-limit-ui-cleanup

Conversation

@Programcode

@Programcode Programcode commented Sep 19, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • replace routine numeric quota details with localized access-status copy
  • keep tier, trial expiration, upgrade, and billing actions
  • preserve detailed blocked-request limit messaging

Verification

  • npm run verify
  • focused Settings, LimitReachedModal, i18n, and subscription-error tests
  • 169 Chromium checks passed; 1 existing check skipped

Scope

Frontend and localization only. No quota calculations, RPCs, Edge Functions, migrations, or subscription enforcement changed.

Summary by CodeRabbit

  • Changes

    • Settings now shows whether AI access is active or expired, with guidance to upgrade when access has ended.
    • Removed daily usage counts, progress indicators, reset countdowns, and related help messaging from the subscription section.
    • Updated the access-status messaging in English, Spanish, and Hungarian.
    • Subscription status displays now reflect trial, Pro, and expired access states more clearly.
  • Tests

    • Added coverage for access statuses, tier-specific actions, usage-limit details, and upgrade interactions.

@vercel

vercel Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
debate-navigator Ready Ready Preview Sep 19, 2026 8:44pm UTC

Copilot AI lite review requested due to automatic review settings September 19, 2026 20:05

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

Warning

Review limit reached

Next included review available in 21 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Free

Run ID: 80776dd3-50b8-477f-9157-890439e49470

📥 Commits

Reviewing files that changed from the base of the PR and between 21cdbdd and 8709ad0.

📒 Files selected for processing (2)
  • src/pages/SettingsPage.tsx
  • src/test/pages/SettingsPage.test.tsx
ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Free

Run ID: 995e106d-96b8-42a7-b7f6-d912b4c3aa20

📥 Commits

Reviewing files that changed from the base of the PR and between 9689594 and 21cdbdd.

📒 Files selected for processing (6)
  • src/locales/en.json
  • src/locales/es.json
  • src/locales/hu.json
  • src/pages/SettingsPage.tsx
  • src/test/components/LimitReachedModal.test.tsx
  • src/test/pages/SettingsPage.test.tsx

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The settings page replaces daily AI usage and reset information with localized active or expired access messages. Locale keys were updated in three languages. Tests cover the new subscription states and the existing limit-reached modal.

Changes

AI access status

Layer / File(s) Summary
Access status UI and translations
src/pages/SettingsPage.tsx, src/locales/*.json
The page removes usage calculations, progress display, reset messaging, and tooltip content. It renders active or expired access text from the updated locale keys.
Access status validation
src/test/pages/SettingsPage.test.tsx, src/test/components/LimitReachedModal.test.tsx
Tests cover trial, pro, and expired subscription states. Limit-reached modal tests verify usage text and the upgrade callback.

Estimated code review effort: 2 (Simple) | ~12 minutes


Note

🎁 Summarized by CodeRabbit Free

Your organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Essentials by visiting https://app.coderabbit.ai/settings/billing.

Comment @coderabbitai help to get the list of available commands.

@Programcode
Programcode merged commit b2ba178 into main Sep 19, 2026
7 checks passed
@Programcode
Programcode deleted the codex/rate-limit-ui-cleanup branch September 19, 2026 20:58

This branch was successfully deployed

1 active deployment
Preview — 8709ad07 Deployed Sep 19, 2026 by vercel[bot]
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.

2 participants