Commit Graph

14 Commits

Author SHA1 Message Date
John Yeo
f7eacfaaf7 working on invoice mode 2026-01-14 16:36:41 +00:00
John Yeo
1649d91a7c reviewed and made changes 2026-01-06 12:36:12 +00:00
amianthus
e9be3e21ae feat: 🎸 extra customer entiltments for CHECK 2026-01-06 12:32:24 +00:00
John Yeo
8a6b78c868 wip on update subscription custom plan 2025-12-22 18:50:24 +00:00
John Yeo
843536bab4 feat: deploy to production flow
- Added 3-step deploy dialog (Connect Stripe, Copy Products, Create API Key)
- Implemented backend endpoints for copying products/features between environments
- Added localStorage caching for organization data and deploy button visibility
- Created useShowDeployButton hook to conditionally show deploy button
- Hide environment switch in CommandBar when organization not deployed
- Abstracted feature and product creation/update logic into reusable actions

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-20 16:59:13 +01:00
John Yeo
da2693567c chore: ran biome format 2025-09-22 14:45:25 +01:00
John Yeo
f52c932200 finished with customer page tanstack 2025-09-02 15:13:23 -07:00
John Yeo
519752ff44 Refactor and clean up customer-related code:
- Consolidated import statements in `updateStripeSub.ts` and `invoiceRouter.ts`.
- Removed unused `handleDeleteEntity_old.ts` and `getAttachPreview.ts` files.
- Updated entity handling in `entitledRouter.ts` and `handleProductCheck.ts` for better null safety.
- Adjusted parameters in various functions to ensure consistency and clarity.
- Introduced default configuration in `getAttachConfig.ts` for better handling of attach parameters.
- Enhanced proration logic in `priceUtils.ts` and related files for improved billing accuracy.
2025-06-09 20:19:44 +01:00
John Yeo
ae2391893d rewrote all queries to drizzle 2025-05-27 17:34:12 +01:00
John Yeo
af4bd75316 rewrote product queries in drizzle 2025-05-25 14:58:25 +01:00
John Yeo
223fe5f949 fix: track feature_id idempotency key, updating products with internal entity id 2025-05-15 17:03:08 +01:00
John Yeo
a2703a05c8 refactor: enhance customer product handling with trial features and improve test script structure 2025-05-10 15:18:15 +01:00
John Yeo
a2ec951efb feature: entities can now have products of their own 2025-05-07 20:40:12 +01:00
John Yeo
50710047a6 fixed server build 2025-04-30 19:26:00 +01:00