gristlabs_grist-core/test/nbrowser
Paul Fitzpatrick 603238e966 (core) Adds a UI panel for managing webhooks
Summary:
This adds a UI panel for managing webhooks. Work started by Cyprien Pindat. You can find the UI on a document's settings page. Main changes relative to Cyprien's demo:

  * Changed behavior of virtual table to be more consistent with the rest of Grist, by factoring out part of the implementation of on-demand tables.
  * Cell values that would create an error can now be denied and reverted (as for the rest of Grist).
  * Changes made by other users are integrated in a sane way.
  * Basic undo/redo support is added using the regular undo/redo stack.
  * The table list in the drop-down is now updated if schema changes.
  * Added a notification from back-end when webhook status is updated so constant polling isn't needed to support multi-user operation.
  *  Factored out webhook specific logic from general virtual table support.
  * Made a bunch of fixes to various broken behavior.
  * Added tests.

The code remains somewhat unpolished, and behavior in the presence of errors is imperfect in general but may be adequate for this case.

I assume that we'll soon be lifting the restriction on the set of domains that are supported for webhooks - otherwise we'd want to provide some friendly way to discover that list of supported domains rather than just throwing an error.

I don't actually know a lot about how the front-end works - it looks like tables/columns/fields/sections can be safely added if they have string ids that won't collide with bone fide numeric ids from the back end. Sneaky.

Contains a migration, so needs an extra reviewer for that.

Test Plan: added tests

Reviewers: jarek, dsagal

Reviewed By: jarek, dsagal

Differential Revision: https://phab.getgrist.com/D3856
2023-05-08 18:25:27 -04:00
..
aclTestUtils.ts (core) Preserving cursor position when linked state is removed. 2023-02-08 21:54:55 +01:00
ActionLog.ts Fixing flaky tests. 2022-12-09 20:15:08 +01:00
AttachmentsLinking.ts (core) Fix linking of new records when attachment is the first thing added. 2023-03-09 08:54:36 -05:00
ChoiceList.ts (core) Save choice config on focus loss 2023-05-08 14:16:10 -04:00
customUtil.ts (core) Moving widget tests to core 2022-09-06 17:17:14 +02:00
CustomView.ts Fixing flaky tests. 2022-12-09 20:15:08 +01:00
CustomWidgets.ts Fixing flaky tests. 2022-12-09 20:15:08 +01:00
CustomWidgetsConfig.ts (core) Moving widget tests to core 2022-09-06 17:17:14 +02:00
DescriptionColumn.ts (core) Showing close button when column is added 2023-05-04 11:35:16 +02:00
DocTutorial.ts (core) Direct users to last visited site when possible 2023-05-02 07:48:22 -07:00
DuplicateDocument.ts (core) tweak duplicate document test to be more reliable 2022-09-22 14:26:56 -04:00
Fork.ts (core) Extending timeout in Fork tests 2023-04-19 22:19:37 +02:00
gristUtils.ts (core) Preserving rules when data is transformed 2023-05-05 13:44:09 +02:00
HomeIntro.ts (core) Adding tutorial card 2023-03-28 19:57:52 +02:00
homeUtil.ts (core) port test/home tests 2023-05-04 14:45:04 -04:00
LanguageSettings.ts (core) Fix missing placeholder flag icon 2023-02-26 22:23:04 -05:00
Localization.ts do not count unready translations in localization test (#480) 2023-04-03 12:55:08 -04:00
MultiColumn.ts (core) Fixing multicolumn bug on a card view 2022-11-14 21:05:39 +01:00
Pages.ts (core) Add overflowTooltip() tool, and use for long tables in widget picker, and long page names. 2023-03-13 21:47:35 -04:00
ReferenceColumns.ts (core) Preserving cursor position when linked state is removed. 2023-02-08 21:54:55 +01:00
ReferenceList.ts (core) Update sort and filter UI 2022-11-17 15:33:45 -05:00
RefTransforms.ts (core) Fix bug preventing changes to ref list table 2022-10-17 07:49:54 -07:00
RightPanel.ts (core) Fix for the creator panel on custom section. 2023-04-18 14:11:27 +02:00
RightPanelSelectBy.ts (core) Preserving cursor position when linked state is removed. 2023-02-08 21:54:55 +01:00
RowMenu.ts (core) Fix hidden columns bug when editing data selection 2022-10-18 08:36:11 -07:00
saveViewSection.ts (core) Adds a UI panel for managing webhooks 2023-05-08 18:25:27 -04:00
SelectBy.ts (core) Preserving cursor position when linked state is removed. 2023-02-08 21:54:55 +01:00
SelectByRefList.ts (core) Preserving cursor position when linked state is removed. 2023-02-08 21:54:55 +01:00
SelectByRightPanel.ts (core) Preserving cursor position when linked state is removed. 2023-02-08 21:54:55 +01:00
SelectBySummary.ts (core) Preserving cursor position when linked state is removed. 2023-02-08 21:54:55 +01:00
SelectBySummaryRef.ts (core) Preserving cursor position when linked state is removed. 2023-02-08 21:54:55 +01:00
SelectionSummary.ts (core) Moving nbrowser tests to grist-core 2022-10-25 17:22:54 +02:00
Smoke.ts (core) Remove code for unused welcome flows 2022-02-28 13:21:28 -08:00
testServer.ts (core) port test/home tests 2023-05-04 14:45:04 -04:00
testUtils.ts (core) Fixing click-away bug for the cell color widget 2022-10-24 16:21:14 +02:00
ToggleColumns.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
WebhookPage.ts (core) Adds a UI panel for managing webhooks 2023-05-08 18:25:27 -04:00