Files
openhuman/app/src
Steven EnamakelandGitHub 24876497df Update billing discount messaging (#321)
* feat(billing): enhance billing plan structure and display

- Added new properties to the PlanMeta interface for monthly and weekly budgets, five-hour cap, margin percentage, and storage limits.
- Updated billing plans with new budget and storage details for Free, Basic, and Pro tiers.
- Introduced utility functions for formatting USD amounts and storage limits.
- Enhanced the BillingPanel component to display new plan details, including budget and storage information, improving user clarity on subscription benefits.

* fix(tests): update billing plan tests to reflect backend configuration changes

- Adjusted test cases for the Free, Basic, and Pro plans to align with updated pricing and budget details.
- Added assertions for new properties such as margin percentage and budget limits.
- Modified display price calculations to match the revised annual pricing structure.

* refactor(billing): rename marginPercent to discountPercent in billing plans

- Updated the PlanMeta interface and billing plans to replace marginPercent with discountPercent for clarity.
- Adjusted related display elements in the BillingPanel component to reflect the new terminology.
- Modified unit tests to ensure they align with the updated property names and values.
2026-04-04 03:01:45 -07:00
..
2026-03-29 10:30:18 -07:00
2026-03-29 10:30:18 -07:00
2026-03-29 10:30:18 -07:00
2026-04-04 02:59:31 -07:00
2026-04-04 02:59:31 -07:00
2026-04-04 02:59:31 -07:00
2026-03-29 10:30:18 -07:00
2026-03-29 10:30:18 -07:00
2026-03-29 10:30:18 -07:00
2026-03-29 10:30:18 -07:00