Skip to content

Stop offering Pro again when a paid plan hits the daily cap - #173

Merged
Programcode merged 1 commit into
mainfrom
cursor/pro-limit-not-an-upgrade-791b
Oct 22, 2026
Merged

Programcode merged 1 commit into
mainfrom
cursor/pro-limit-not-an-upgrade-791b

Conversation

@Programcode

Copy link
Copy Markdown
Owner

The daily-cap dialog always showed "Upgrade to Pro - $5/mo", including for a student who already pays and has simply used today's included requests. The description already says access comes back at midnight UTC. The button contradicted that.

When the signed-in plan is Pro or Legacy Free and the dialog is the daily cap, the primary button is now OK (Entendido / Rendben) and it only closes the dialog. The price note and the upgrade button stay hidden. A trial that has ended still offers Pro.

UI change for the preview: open the daily-cap dialog on a Pro account and confirm it says OK, with no $5/mo button. A free or expired account should still see Upgrade to Pro.

Verified locally (GitHub Actions is out of minutes, so this is not a CI pass):

  • npx vitest run src/test/components/LimitReachedModal.test.tsx (3 passed)
  • npx eslint on the modal and the test
  • npm run typecheck
  • npm run docs:check

Not run: npm run verify and a browser pass. Page tests mock this modal away, so the new test renders it directly with the subscription hook mocked.

Open in Web Open in Cursor 

The limit dialog always showed Upgrade to Pro at $5 a month, including for
someone who already pays and has simply used today's included requests. That
case now closes with OK, and the price note stays hidden.

Co-authored-by: Gáborjáni-Szabó Ádám <Programcode@users.noreply.github.com>
@vercel

vercel Bot commented Oct 22, 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 Oct 22, 2026 11:10am UTC
debatelab-staging Ready Ready Preview Oct 22, 2026 11:10am UTC

@coderabbitai

coderabbitai Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

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).

Next included review available in 49 minutes.

Check out review usage here.

View limit details

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

Learn how review limits work.

Review configuration:

⚙️ Run configuration
📥 Commits

Reviewing files that changed from the base of the PR and between 4f9e0a0 and cff1f42.

📒 Files selected for processing: 5
  • src/components/features/subscription/LimitReachedModal.tsx
  • src/locales/en.json
  • src/locales/es.json
  • src/locales/hu.json
  • src/test/components/LimitReachedModal.test.tsx
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

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.

@Programcode
Programcode merged commit f08e1f0 into main Oct 22, 2026
7 of 14 checks passed

This branch was successfully deployed

2 active deployments
Preview – debatelab-staging — cff1f426 Deployed Oct 22, 2026 by vercel[bot]
Preview – debate-navigator — cff1f426 Deployed Oct 22, 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.

3 participants