gristlabs_grist-core/app/client/ui2018
Jarosław Sadziński d13b9b9019 (core) Billing for formula assistant
Summary:
Adding limits for AI calls and connecting those limits with a Stripe Account.

- New table in homedb called `limits`
- All calls to the AI are not routed through DocApi and measured.
- All products now contain a special key `assistantLimit`, with a default value 0
- Limit is reset every time the subscription has changed its period
- The billing page is updated with two new options that describe the AI plan
- There is a new popup that allows the user to upgrade to a higher plan
- Tiers are read directly from the Stripe product with a volume pricing model

Test Plan: Updated and added

Reviewers: georgegevoian, paulfitz

Reviewed By: georgegevoian

Subscribers: dsagal

Differential Revision: https://phab.getgrist.com/D3907
2023-07-10 13:24:08 +02:00
..
breadcrumbs.ts (core) Add initial tutorials implementation 2023-03-22 10:09:02 -04:00
buttons.ts (core) Styling text button for left alignment 2023-04-27 13:03:38 +02:00
buttonSelect.ts (core) Multi-column configuration 2022-10-17 09:51:19 +02:00
checkbox.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
ColorPalette.ts (core) Adding font options to the style picker 2022-04-07 20:35:03 +02:00
ColorSelect.ts (core) Save choice config on focus loss 2023-05-08 14:16:10 -04:00
cssVars.ts (core) Billing for formula assistant 2023-07-10 13:24:08 +02:00
draggableList.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
editableLabel.ts (core) Draft version of AI assistant 2023-03-24 10:07:26 +01:00
IconList.ts (core) Add Support Grist page and nudge 2023-07-04 17:36:59 -04:00
icons.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
links.ts (core) Hides the link icon in print view 2023-01-19 09:55:12 +01:00
loaders.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
menus.ts (core) Polish tutorial popups 2023-04-20 12:20:03 -04:00
modals.ts (core) Polish tutorial popups 2023-04-20 12:20:03 -04:00
pages.ts (core) Detect when a page initial is an emoji, avoid repeating it, and style it better 2023-06-30 16:57:35 -04:00
popups.ts (core) Add behavioral and coaching call popups 2022-12-20 09:49:41 -05:00
search.ts Remove prefix from translations keys 2023-01-03 16:01:45 +01:00
select.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00