Skip to content

feat(web): surface owned add-ons prominently on the billing page - #967

Merged
jiashuoz merged 1 commit into
mainfrom
feat/addon-owned-ui
Aug 29, 2026
Merged

feat(web): surface owned add-ons prominently on the billing page#967
jiashuoz merged 1 commit into
mainfrom
feat/addon-owned-ui

Conversation

@jiashuoz

Copy link
Copy Markdown
Member

Follow-up to #960 from dogfooding on staging: after buying an add-on, the only evidence of ownership was the muted "Currently 1 — $2/mo" aside, and the stepper's number can't distinguish a staged edit from what's owned.

Two additions, both priced from the catalog payload (nothing hardcoded):

  • Current-plan banner badgeFree [+ 1 inbox add-on · $2/mo] — ownership reads at the top of the page.
  • Owned-state strip leading the add-on cardYou have 1 add-on +1 inbox, +3,000 sends / mo · $2/mo — grants and cost attributed; the stepper below is purely the editor. The muted aside is removed.

Both render only when current.addon_quantity > 0.

Tests: 3 new cases (plural strip+badge, singular wording, hidden at qty 0); addon suite 15/15, full web 901/901, tsc clean, prod build clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ScEpytuD7GvaXEssvJ2W32

The only sign of a purchased add-on was a small muted 'Currently 1 —
$2/mo' aside next to the update button, and the stepper's number is
ambiguous (staged edit vs owned). Two additions, both catalog-priced:

- The current-plan banner gains an ownership badge ('+ 1 inbox add-on
  · $2/mo') so the count reads at the top of the page as part of
  'what plan am I on'.
- The add-on card leads with an owned-state strip ('You have 1 add-on
  — +1 inbox, +3,000 sends / mo · $2/mo') attributing the grants and
  cost; the muted aside is removed and the stepper is purely the
  editor.

Both render only when the account owns add-ons. Tests: three new cases
(plural strip + badge, singular wording, absent at qty 0); suite
15/15, full web 901/901, tsc + prod build clean.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ScEpytuD7GvaXEssvJ2W32
@jiashuoz
jiashuoz merged commit c8a3d89 into main Aug 29, 2026
29 checks passed
@jiashuoz
jiashuoz deleted the feat/addon-owned-ui branch August 29, 2026 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant