mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-12 16:52:43 +02:00
Add trial days remaining to billing card, 5-min polling, and wire upgrade button
- Add trialDaysRemaining to IPC schema, useBilling hook, and BillingInfo interface - Show trial countdown in sidebar billing card (e.g. "7 days left on trial") - Add 5-minute polling interval for billing data refresh - Wire Upgrade button to open web billing page in system browser Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
290dc54d1e
commit
7fe3f211a8
4 changed files with 51 additions and 7 deletions
|
|
@ -564,6 +564,7 @@ const ipcSchemas = {
|
|||
userId: z.string().nullable(),
|
||||
subscriptionPlan: z.string().nullable(),
|
||||
subscriptionStatus: z.string().nullable(),
|
||||
trialDaysRemaining: z.number().nullable(),
|
||||
sanctionedCredits: z.number(),
|
||||
availableCredits: z.number(),
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue