fix: show all tabs when subscription required instead of hiding#1448
Conversation
Keep tabs visible and show blurred content with modal overlay instead of filtering tabs when subscription is missing. Move payment check logic to layout level for consistent UX across all app views.
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (1)
Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. 📝 WalkthroughWalkthroughThe PR refactors payment-related UI handling by moving unpaid organization checks from the app layout to individual pages. It replaces tab filtering and route redirects with a blur overlay and PaymentRequiredModal, consolidating logic where payment state is actually checked instead of globally restricting navigation. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 51cbe87554
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| > | ||
| <RouterView class="w-full" /> | ||
| </div> | ||
| <PaymentRequiredModal v-if="isOrgUnpaid" /> |
There was a problem hiding this comment.
Preserve security-compliance priority over payment modal
The layout now renders PaymentRequiredModal whenever currentOrganizationFailed is true, but the previous flow in app/[package].vue only showed this modal when !lacksSecurityAccess so password/2FA enforcement could take priority. With this change, an org that is unpaid and also requires 2FA/password will get the payment overlay while the entire RouterView is blurred and pointer-events-none, which makes the FailedCard actions unreachable. This blocks users from completing security compliance even though that flow is meant to take precedence; consider gating the modal on !lacksSecurityAccess or otherwise preserving that priority.
Useful? React with 👍 / 👎.
|



Summary
When a user is missing a subscription and visits an app, tabs are now visible instead of being hidden. The content is blurred with a modal overlay floating above, providing better UX consistency with other parts of the app.
Test plan
Screenshots
The tabs now display with blur effect when subscription is required, matching the design pattern used elsewhere in the app.
Checklist
bun run lint.Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.