mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-25 16:36:22 +02:00
Add billing error handling and UI updates
- Introduced billing error patterns to match specific error messages and display appropriate user prompts in the ChatSidebar. - Enhanced SidebarContentPanel and AccountSettings components to reflect subscription status, including trial expiration details. - Updated button actions to direct users to the app URL for subscription management and upgrades. - Added a new Payment section in AccountSettings for managing invoices and payment methods, with conditional rendering based on subscription status.
This commit is contained in:
parent
2739de6c67
commit
75ffbc781c
6 changed files with 126 additions and 11 deletions
|
|
@ -566,6 +566,7 @@ const ipcSchemas = {
|
|||
userId: z.string().nullable(),
|
||||
subscriptionPlan: z.string().nullable(),
|
||||
subscriptionStatus: z.string().nullable(),
|
||||
trialExpiresAt: z.string().nullable(),
|
||||
sanctionedCredits: z.number(),
|
||||
availableCredits: z.number(),
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue