feat minor 17B feat/phase-2g-bundle
AI Agent git-import/068377df · 115 days ago · Apr 2, 2026 · Diff

feat(17B): add plan comparison grid to billing panel

Replaces the single "Upgrade to Plus" button with a 2×2 plan grid showing Free / Plus / Growth / Pro with price, token allowance, note cap, and a per-card CTA.

Logic: - Current tier card shows "Current plan" badge (no button) - Higher tiers show "Get [Tier] →" (no subscription) or "Upgrade to [Tier] →" (active subscriber) wired directly to redirectToCheckout({ tier }) - Lower tiers than current have no CTA (downgrade via Manage billing portal) - Grid renders as empty placeholder when Stripe is not configured or user is not signed in

"Manage billing →" portal button is kept in the action row below the grid so subscribers can always reach the Stripe portal for cancellation/payment. Legacy #btn-billing-upgrade kept hidden in DOM for backward-compat with existing startup event listener.

sha256:461b36e4965c9ac3e313b4d21c088b57081e7777d5faa39288225c02f4644dfb sha
sha256:351215e3719eb8b0619187c2f981acacb361a953ad835c0d00c14d3b98dde562 snapshot
← Older Oldest on feat/phase-2g-bundle
All commits
Newer → Latest on feat/phase-2g-bundle

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:461b36e4965c9ac3e313b4d21c088b57081e7777d5faa39288225c02f4644dfb --body "your comment"