Files
gristlabs_grist-core/app/client/ui
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
..
2023-04-20 12:20:03 -04:00
2023-04-20 12:20:03 -04:00
2020-10-02 13:24:21 -04:00
2023-04-12 01:58:48 -04:00
2023-05-15 12:01:19 -04:00
2023-03-28 19:57:52 +02:00
2023-01-03 17:45:14 +01:00
2023-01-03 17:45:14 +01:00
2023-01-03 17:45:14 +01:00
2023-01-03 17:45:14 +01:00
2023-06-02 17:59:22 +02:00
2022-07-04 10:42:40 -04:00
2023-06-06 11:34:49 -04:00
2023-06-02 17:59:22 +02:00
2023-01-03 17:22:58 +01:00
2023-04-20 12:20:03 -04:00
2022-09-30 09:11:46 -07:00
2023-01-03 17:22:58 +01:00
2022-09-29 18:02:09 +02:00
2023-06-23 23:56:20 -04:00
2023-01-03 16:01:45 +01:00
2023-06-02 17:59:22 +02:00
2023-01-03 12:33:34 +01:00
2022-09-21 10:30:54 -04:00
2023-03-16 17:37:24 -04:00
2023-03-02 11:22:49 +01:00
2020-10-02 13:24:21 -04:00
2023-04-06 12:34:54 -04:00