Commit Graph

6 Commits

Author SHA1 Message Date
GitHub Action
c2e96eca5e [automated] Apply ESLint and Prettier fixes 2025-12-11 09:12:48 +00:00
bymyself
d3afe2b292 fix: correct FOUNDERS_EDITION handling and polling behavior
- Map FOUNDERS_EDITION to 'standard' tier for current plan display
- Change polling to only start on window focus (when user returns from checkout)
- Clean up event listeners properly in onBeforeUnmount
- Improves UX by not polling immediately when dialog opens
2025-12-11 01:10:30 -08:00
bymyself
8b7194e073 fix: improve error handling for non-JSON API responses
- Wrap response.json() in try-catch to handle non-JSON responses
- Fall back to response.text() and HTTP status information
- Preserve original HTTP error details instead of masking with JSON parse errors
- Ensure robust error reporting for HTML/text responses from server
2025-12-11 00:57:29 -08:00
bymyself
7e4912ef30 fix: add missing videoEstimate i18n keys and remove hardcoded value
- Add videoEstimate keys to all tier benefits in main.json
- Replace hardcoded '288' with proper i18n call for creator tier
- Ensures all tiers use consistent localization patterns
2025-12-11 00:55:09 -08:00
bymyself
b6f73a1121 fix: await JSON parsing in checkout API call
Ensures parsing errors are caught by surrounding try-catch for
consistent error handling
2025-12-11 00:49:44 -08:00
bymyself
65a6cca6d7 feat: replace Stripe pricing table with custom implementation
- Replace StripePricingTable with CustomPricingTable component
- Add intelligent subscription tier detection and button logic
- Remove Stripe dependencies and feature flags
- Update subscription dialog to use custom component

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-11 00:46:22 -08:00