[PULSE-57] Billing UX: renewal display, design fixes, React crash fix #32
Reference in New Issue
Block a user
No description provided.
Delete Branch "staging"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Work Item
PULSE-57
Summary
Changes
next_invoice_*fields and active subscription existhasActiveSubscriptionandpreviewInvoiceuseEffect above early return to fix React #310; focus states on billing linksaria-label/aria-valuetext/focus; billing togglerole/aria-checked/focus; Enterprise "Contact us" asmailto:business@ciphera.net?subject=Enterprise%20Plan%20InquirypreviewInvoiceandSubscriptionDetailstypes fornext_invoice_*fieldsTest Plan
Greptile Summary
This PR enhances the billing UX by adding subscription renewal information, multi-plan support (Solo/Team/Business), and fixes a React crash issue. The changes include displaying "Renews [date] for [amount]" on the dashboard and billing tab, implementing invoice preview with error fallback for plan changes, and adding various design and accessibility improvements.
Key changes:
hasActiveSubscriptionandpreviewInvoiceuseEffect hooks above the early return in OrganizationSettingsmailto:linkConfidence Score: 4/5
/api/billing/preview-invoice,/api/billing/resume) that should be verified to exist before merge.previewInvoiceandresumeSubscriptionare implemented and match the expected request/response formatImportant Files Changed
Sequence Diagram
Last reviewed commit:
b8cb7e1