gristlabs_grist-core/app/client/widgets
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
..
AbstractWidget.js (core) Adding font options to the style picker 2022-04-07 20:35:03 +02:00
AttachmentsEditor.ts (core) Fix linking of new records when attachment is the first thing added. 2023-03-09 08:54:36 -05:00
AttachmentsWidget.ts (core) Fix linking of new records when attachment is the first thing added. 2023-03-09 08:54:36 -05:00
BaseEditor.js Correct spelling mistakes 2022-02-19 09:46:49 +00:00
CellStyle.ts trad: make the widgets and the Welcome Tour translatable 2023-01-24 13:47:09 +01:00
CheckBox.css fix: hide check box from toggle in formula mode 2023-01-25 16:28:07 +01:00
CheckBoxEditor.js (core) Readonly editors 2021-06-17 19:12:16 +02:00
ChoiceEditor.js Visually identify that a field is a drop-down list (single choice) #491 (#525) 2023-06-13 13:14:01 -04:00
ChoiceListCell.ts (core) Redirect less often in welcomeNewUser 2022-06-06 11:26:49 -07:00
ChoiceListEditor.ts (core) Fixing DELETE and BACKSPACE keys on ChoiceList and RefList editor. 2023-06-01 16:53:38 +02:00
ChoiceListEntry.ts (core) Save choice config on focus loss 2023-05-08 14:16:10 -04:00
ChoiceTextBox.ts Visually identify that a field is a drop-down list (single choice) #491 (#525) 2023-06-13 13:14:01 -04:00
ChoiceToken.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
ConditionalStyle.ts (core) Floating formula editor 2023-06-02 17:59:22 +02:00
CurrencyPicker.ts trad: make the widgets and the Welcome Tour translatable 2023-01-24 13:47:09 +01:00
DateEditor.js (core) Fix one day shift in datepicker for DateTime column [WIP] 2023-02-15 14:54:33 +01:00
DateTextBox.js (core) Multi-column configuration 2022-10-17 09:51:19 +02:00
DateTimeEditor.css (core) Add dark theme to date picker 2023-02-03 10:37:12 -05:00
DateTimeEditor.js (core) Change datepicker in DateEditor to use moment format, show AltText in DateEditor 2021-12-07 11:33:49 -05:00
DateTimeTextBox.js (core) Multi-column configuration 2022-10-17 09:51:19 +02:00
DiffBox.ts (core) Configure more comprehensive eslint rules for Typescript 2021-04-26 18:54:55 -04:00
DiscussionEditor.ts (core) Adding description icon and tooltip in the GridView 2023-04-20 18:21:31 +02:00
EditorButtons.ts (core) Add support for editing on mobile. 2021-02-03 23:10:51 -05:00
EditorPlacement.ts (core) Fix sizing of tracebacks in formula errors, to make it scrollable 2022-07-21 09:56:52 -04:00
EditorTooltip.ts fix: styling error + word error 2023-01-24 13:51:53 +01:00
ErrorDom.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
FieldBuilder.css (core) Comments 2022-10-17 13:38:21 +02:00
FieldBuilder.ts (core) Floating formula editor 2023-06-02 17:59:22 +02:00
FieldEditor.ts (core) Floating formula editor 2023-06-02 17:59:22 +02:00
FloatingEditor.ts (core) Floating formula editor 2023-06-02 17:59:22 +02:00
FormulaAssistant.ts (core) Billing for formula assistant 2023-07-10 13:24:08 +02:00
FormulaEditor.ts (core) Billing for formula assistant 2023-07-10 13:24:08 +02:00
HyperLinkEditor.ts trad: make the widgets and the Welcome Tour translatable 2023-01-24 13:47:09 +01:00
HyperLinkTextBox.ts (core) Showing links in text cells 2021-10-13 23:22:03 +02:00
NewAbstractWidget.ts (core) Speed up and upgrade build. 2022-06-27 16:10:10 -04:00
NewBaseEditor.ts (core) Floating formula editor 2023-06-02 17:59:22 +02:00
NTextBox.ts Add translation for boolean value in toggle columns for text cell (#364) 2022-12-02 15:49:55 -05:00
NTextEditor.ts (core) Floating formula editor 2023-06-02 17:59:22 +02:00
NumericTextBox.ts trad: make the widgets and the Welcome Tour translatable 2023-01-24 13:47:09 +01:00
Reference.css (core) move client code to core 2020-10-02 13:24:21 -04:00
Reference.ts trad: make the widgets and the Welcome Tour translatable 2023-01-24 13:47:09 +01:00
ReferenceEditor.ts Fixing all eslint's reported error 2023-01-03 17:22:58 +01:00
ReferenceList.ts (core) Reference and ReferenceList formatters 2022-01-13 18:09:33 +02:00
ReferenceListEditor.ts (core) Fixing DELETE and BACKSPACE keys on ChoiceList and RefList editor. 2023-06-01 16:53:38 +02:00
Spinner.css (core) move client code to core 2020-10-02 13:24:21 -04:00
Spinner.ts (core) Simple localization support and currency selector. 2021-08-26 13:36:49 -07:00
Switch.css (core) Implementing row conditional formatting 2022-08-09 20:11:36 +02:00
TextBox.css (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
TextEditor.css (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
TextEditor.js Visually identify that a field is a drop-down list (single choice) #491 (#525) 2023-06-13 13:14:01 -04:00
Toggle.ts (core) When a checkbox is clicked on a new record, set default values determined by linking 2022-11-10 14:34:40 -05:00
TZAutocomplete.ts (core) Improving experience when editing group-by column. 2022-01-18 14:31:31 +01:00
UserType.ts trad: make the widgets and the Welcome Tour translatable 2023-01-24 13:47:09 +01:00
UserTypeImpl.ts (core) When a checkbox is clicked on a new record, set default values determined by linking 2022-11-10 14:34:40 -05:00