gristlabs_grist-core/test/nbrowser
Jarosław Sadziński 85ef873ce5 (core) Widget options api
Summary:
Adding configuration options for CustomWidgets.

Custom widgets can now store options (in JSON) in viewSection metadata.

Changes in grist-plugin-api:
- Adding onOptions handler, that will be invoked when the widget is ready and when the configuration is changed
- Adding WidgetAPI - new API to read and save a configuration for widget.

Changes in Grist:
- Rewriting CustomView code, and extracting code that is responsible for showing the iframe and registering Rpc.
- Adding Open Configuration button to Widget section in the Creator panel and in the section menu.
- Custom Widgets can implement "configure" method, to show configuration screen when requested.

Test Plan: Browser tests.

Reviewers: paulfitz, dsagal

Reviewed By: paulfitz

Differential Revision: https://phab.getgrist.com/D3185
2022-01-13 11:10:17 +01:00
..
ActionLog.ts (core) move more tests to grist-core 2021-12-10 18:33:07 -05:00
DuplicateDocument.ts (core) move more tests to grist-core 2021-12-10 18:33:07 -05:00
Fork.ts (core) move more tests to grist-core 2021-12-10 18:33:07 -05:00
gristUtils.ts (core) Widget options api 2022-01-13 11:10:17 +01:00
HomeIntro.ts (core) move more tests to grist-core 2021-12-10 18:33:07 -05:00
homeUtil.ts (core) move more tests to grist-core 2021-12-10 18:33:07 -05:00
Smoke.ts (core) Enable auto triggering of Welcome Tour, and various improvements. 2021-07-30 14:17:54 -04:00
testServer.ts (core) copy settings related to gvisor from staging to prod 2021-11-08 16:40:03 -05:00
testUtils.ts (core) Fix some bugs with ChoiceList in summary tables, and evaluation of lookups. 2021-12-15 09:51:18 -05:00