gristlabs_grist-core/test/nbrowser
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
..
aclTestUtils.ts
ActionLog.ts
AttachmentsLinking.ts
ChoiceList.ts
ClientUnitTests.ntest.js
CodeEditor.ntest.js
ColumnOps.ntest.js
customUtil.ts
CustomView.ts
CustomWidgets.ts
CustomWidgetsConfig.ts
Dates.ntest.js
DescriptionColumn.ts
DescriptionWidget.ts
DetailView.ntest.js
DocTutorial.ts (core) Billing for formula assistant 2023-07-10 13:24:08 +02:00
DuplicateDocument.ts
Export.ntest.js
Features.ts
FieldConfigTab.ntest.js
FieldSettings.ntest.js
FillLinkedRecords.ntest.js
Fork.ts
GridOptions.ntest.js
gristUtil-nbrowser.js
gristUtils.ts
Health.ntest.js
HomeIntro.ts (core) Adding tutorial card 2023-03-28 19:57:52 +02:00
homeUtil.ts
LanguageSettings.ts
LinkingSelector.ts
Localization.ts
MultiColumn.ts
NewDocument.ntest.js
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
Properties.ntest.js
ReferenceColumns.ts
ReferenceList.ts
RefTransforms.ts
RightPanel.ts
RightPanelSelectBy.ts
RowMenu.ts
SavePosition.ntest.js
saveViewSection.ts
SelectBy.ts
SelectByRefList.ts
SelectByRightPanel.ts
SelectBySummary.ts
SelectBySummaryRef.ts
SelectionSummary.ts
Smoke.ts
SortDates.ntest.js
SortEditSave.ntest.js
Summaries.ntest.js
SupportGrist.ts
testServer.ts
testUtils.ts
TextEditor.ntest.js
ToggleColumns.ts
TokenField.ts
TypeChange.ntest.js
UndoJumps.ntest.js
Validations.ntest.js
ViewConfigTab.ntest.js
Views.ntest.js
webdriverjq-nbrowser.js
webdriverjq.ntest.js
WebhookPage.ts