fix(settings): keep billing header stable - #7010
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummaryMedium Risk Overview Failed billing loads now render Reviewed by Cursor Bugbot for commit 9e91d11. Configure here. |
Greptile SummaryThis PR keeps the billing settings header stable by removing data-dependent header descriptions and tightening
Confidence Score: 5/5The PR appears safe to merge, with no concrete regressions identified in the changed billing or settings-header paths. The stricter panel contract is satisfied by current callers, billing scope selection supplies the required organization identifier, and the new error handling preserves valid cached billing content.
|
| Filename | Overview |
|---|---|
| apps/sim/app/workspace/[workspaceId]/settings/components/billing/billing.tsx | Removes dynamic billing header copy and renders a canonical error state when the active billing query completes without usable data. |
| apps/sim/components/settings/settings-panel.tsx | Tightens the prop contract so title and description overrides are accepted only for detail views with a back action. |
| apps/sim/app/workspace/[workspaceId]/settings/[section]/settings.tsx | Stops supplying workspace-specific data used by the removed dynamic billing description. |
| apps/sim/app/workspace/[workspaceId]/settings/components/billing/billing.test.tsx | Covers stable headers, query failures, missing data, and cached content during background refresh errors. |
| apps/sim/components/settings/settings-header-shell.test.tsx | Updates detail-header fixtures to satisfy the back-action requirement. |
| .claude/rules/sim-settings-pages.md | Documents that top-level settings headers must remain based on stable navigation metadata. |
Reviews (1): Last reviewed commit: "fix(settings): keep billing header stabl..." | Re-trigger Greptile
Summary
Type of Change
Testing
Checklist