gristlabs_grist-core/app/client/components
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
..
AceEditor.css
AceEditor.js (core) Floating formula editor 2023-06-02 17:59:22 +02:00
AceEditorCompletions.ts (core) Floating formula editor 2023-06-02 17:59:22 +02:00
ActionLog.css
ActionLog.ts (core) Fixing cursor position for filtered linked section. 2023-07-07 19:04:30 +02:00
Banner.ts
Base.js
BaseView2.ts (core) Copy column type and options when pasting into an empty column 2022-04-04 14:53:16 +02:00
BaseView.js (core) Fix issue with lodash's map interpreting objects with length as array-like 2023-07-01 21:07:39 -04:00
BehavioralPromptsManager.ts (core) Add Support Grist page and nudge 2023-07-04 17:36:59 -04:00
buildViewSectionDom.ts (core) Fixing cursor position for filtered linked section. 2023-07-07 19:04:30 +02:00
CellPosition.ts
CellSelector.ts
ChartView.css
ChartView.ts (core) Improve dark mode 2023-04-12 01:58:48 -04:00
ClientScope.ts
Clipboard.css
Clipboard.js (core) Add cut, copy, and paste to context menu 2023-05-10 00:48:15 -04:00
CodeEditorPanel.css
CodeEditorPanel.ts
ColumnFilters.css
ColumnTransform.ts (core) Preserving rules when data is transformed 2023-05-05 13:44:09 +02:00
Comm.ts
commandList.ts (core) Floating formula editor 2023-06-02 17:59:22 +02:00
commands.css
commands.ts (core) Floating formula editor 2023-06-02 17:59:22 +02:00
CopySelection.ts (core) Fixing cursor position for filtered linked section. 2023-07-07 19:04:30 +02:00
Cursor.ts (core) Fixing cursor position for filtered linked section. 2023-07-07 19:04:30 +02:00
CursorMonitor.ts
CustomView.css
CustomView.ts
DataTables.ts (core) Add cut, copy, and paste to context menu 2023-05-10 00:48:15 -04:00
DetailView.css
DetailView.js (core) updates from grist-core 2023-05-15 12:01:19 -04:00
DocComm.ts (core) Billing for formula assistant 2023-07-10 13:24:08 +02:00
DocConfigTab.js
DocumentUsage.ts
Drafts.ts
duplicatePage.ts
EditorMonitor.ts
EmbedForm.css
FieldConfigTab.css
FormulaTransform.ts
GridView.css (core) Adding description icon and tooltip in the GridView 2023-04-20 18:21:31 +02:00
GridView.js (core) Fixing cursor position for filtered linked section. 2023-07-07 19:04:30 +02:00
GristDoc.css
GristDoc.ts (core) Billing for formula assistant 2023-07-10 13:24:08 +02:00
GristWSConnection.ts support other SQLite wrappers, and various hooks needed by grist-static (#516) 2023-05-23 15:17:28 -04:00
Importer.ts (core) Floating formula editor 2023-06-02 17:59:22 +02:00
Layout.css
Layout.ts
LayoutEditor.css
LayoutEditor.ts
LayoutTray.ts (core) Adjust the style of the 'attic' to have more of a toolbar feel, flush to the top, and taking up less space 2023-06-30 08:22:26 -04:00
LinkingState.ts (core) Fixing cursor position for filtered linked section. 2023-07-07 19:04:30 +02:00
Login.css
modals.ts (core) Add April Fools easter egg 2023-03-27 14:12:52 -04:00
ParseOptions.ts
PluginScreen.ts
Preferences.css
Printing.css
Printing.ts
RawDataPage.ts
RecordLayout.css
RecordLayout.js (core) Add cut, copy, and paste to context menu 2023-05-10 00:48:15 -04:00
RecordLayoutEditor.js
RefSelect.ts
SearchBar.css
SelectionSummary.ts (core) Add cut, copy, and paste to context menu 2023-05-10 00:48:15 -04:00
TypeConversion.ts feat(TypeConversion): allow converting list of string with quotes to ChoiceList (#397) 2023-01-12 23:13:26 -05:00
TypeTransform.ts
UndoStack.ts (core) Adds a UI panel for managing webhooks 2023-05-08 18:25:27 -04:00
UnsavedChanges.ts
ValidationPanel.css
ValidationPanel.js
ViewAsBanner.ts
viewCommon.css (core) Highlight rows used as a selector in linking, but do not show 'inactive' cursors. 2023-06-21 12:21:19 -04:00
viewCommon.js
ViewConfigTab.css
ViewConfigTab.js (core) Add cut, copy, and paste to context menu 2023-05-10 00:48:15 -04:00
ViewLayout.css
ViewLayout.ts
ViewLinker.css
ViewPane.ts
WidgetFrame.ts support other SQLite wrappers, and various hooks needed by grist-static (#516) 2023-05-23 15:17:28 -04:00