refactor(frontend): bring back the billing gauge#5091
Conversation
PR Review:
|
| Severity | Issue |
|---|---|
| Medium | user-dropdown.tsx renders billing components without features.billing guard |
| Low | settings-drawer.tsx NavBillingGauge also lacks features.billing guard |
| Info | Dead code in goToBilling (pre-existing) |
| Info | No Ladle story for the null-loaderData guard in NavBillingGauge |
The routing-guard pattern in NavBillingGauge is consistent with existing code. The main actionable item is adding the features.billing check before rendering billing components in both files.
844737f to
3a89690
Compare

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: