feat(sidebar): add Billing & usage shortcut to the nav section#3159
feat(sidebar): add Billing & usage shortcut to the nav section#3159robertoecf wants to merge 2 commits into
Conversation
Plan & usage is only reachable by opening Settings and scanning the category list. Add a sidebar item below Command Center that opens Settings at plan-usage directly, highlighted while that route is active. Gated by the existing billing flag, and hidden in the Channels space (settings have no /website mirror). Generated-By: PostHog Code Task-Id: 7264767a-3409-47d1-8a94-507c8bdef292
|
Merging to
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here |
|
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
What
Adds a "Billing & usage" item to the sidebar nav section, below Command Center. Clicking it opens Settings at the existing Plan & usage page (
openSettings("plan-usage")), and the item stays highlighted while/settings/plan-usageis the active route.Why
Plan & usage is the page users check to see how much of their monthly/daily allowance is left, but today it is only reachable by opening Settings and scanning the category list. A one-click shortcut in the nav puts usage where users already look.
Notes
BILLING_FLAG, same as the other billing surfaces, so it only shows for users in the billing rollout./websitemirror, matching how other unmirrored destinations are handled.packages/uitypecheck and Biome pass; no generated files touched.Created with PostHog Code