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
..
2021-03-19 18:20:33 -04:00
2021-09-29 11:27:02 -04:00
2021-09-29 11:27:02 -04:00
2021-10-28 21:52:19 -04:00
2021-12-21 15:35:40 -05:00
2021-12-17 15:40:58 +02:00
2021-08-05 20:46:11 +02:00
2021-11-24 10:16:30 -05:00
2021-11-24 10:16:30 -05:00
2020-07-21 20:39:10 -04:00
2021-10-25 10:25:18 -04:00
2021-08-26 13:36:49 -07:00
2020-07-21 20:39:10 -04:00
2021-10-01 11:24:22 -04:00
2021-12-17 15:40:58 +02:00
2021-10-18 21:40:50 +02:00
2021-10-18 21:40:50 +02:00
2021-10-25 10:25:18 -04:00
2021-11-16 16:46:46 -05:00
2020-07-21 20:39:10 -04:00
2021-12-07 17:09:58 +02:00
2021-10-25 10:25:18 -04:00
2021-01-12 14:08:49 -05:00
2021-10-11 14:11:32 +02:00
2021-04-29 08:56:54 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2021-11-30 17:26:32 +01:00
2021-08-16 17:36:09 -04:00
2021-08-26 13:36:49 -07:00
2021-12-07 17:09:58 +02:00
2021-12-07 17:09:58 +02:00
2021-12-07 17:09:58 +02:00
2021-11-30 17:26:32 +01:00
2021-02-15 17:02:24 -05:00
2021-12-01 22:27:56 -05:00
2021-07-14 09:52:04 +02:00
2020-07-21 20:39:10 -04:00
2021-04-29 08:56:54 -04:00
2021-12-10 18:33:07 -05:00
2021-11-30 17:26:32 +01:00
2021-07-28 09:02:32 -04:00
2021-10-01 10:47:12 +02:00
2021-12-07 17:09:58 +02:00
2021-12-10 18:33:07 -05:00
2021-10-01 11:24:22 -04:00
2020-07-21 20:39:10 -04:00
2020-09-18 16:31:29 -04:00
2020-10-30 13:52:46 -04:00
2021-12-01 22:27:56 -05:00
2020-07-21 20:39:10 -04:00
2020-10-30 13:52:46 -04:00
2021-08-17 21:44:50 -04:00
2021-04-29 08:56:54 -04:00
2021-01-12 14:08:49 -05:00
2020-07-23 11:29:05 -04:00
2021-11-22 10:26:08 -08:00
2021-09-29 12:08:23 -04:00
2021-10-18 17:44:15 -04:00
2020-07-21 20:39:10 -04:00
2021-12-01 18:21:06 +01:00
2021-12-01 18:21:06 +01:00
2020-10-28 13:59:13 -04:00
2021-10-25 10:25:18 -04:00
2020-07-21 20:39:10 -04:00
2021-10-01 11:24:22 -04:00
2022-01-08 18:27:20 -05:00
2021-12-07 17:09:58 +02:00
2021-07-15 15:18:32 -07:00
2021-08-16 17:36:09 -04:00
2020-07-22 14:45:42 -04:00
2020-07-21 20:39:10 -04:00
2021-05-24 12:56:18 -04:00
2021-08-20 11:28:33 -04:00
2021-12-10 18:33:07 -05:00
2021-05-24 12:56:18 -04:00
2021-08-09 18:37:14 +02:00
2021-12-10 18:33:07 -05:00
2021-11-10 10:46:12 -05:00
2020-07-21 20:39:10 -04:00
2021-12-09 22:22:55 -05:00
2021-11-03 15:31:39 +01:00
2021-08-26 13:36:49 -07:00
2021-11-05 10:51:18 -04:00
2021-12-10 18:33:07 -05:00
2021-11-10 23:13:55 +02:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2021-10-04 10:27:00 -07:00
2021-10-01 10:18:56 -04:00
2020-07-21 20:39:10 -04:00
2021-12-10 18:33:07 -05:00
2021-12-10 18:33:07 -05:00
2021-11-04 17:23:43 -04:00
2020-07-21 20:39:10 -04:00
2021-12-07 17:09:58 +02:00
2020-07-21 20:39:10 -04:00
2021-12-10 18:33:07 -05:00
2022-01-13 11:10:17 +01:00
2020-07-21 20:39:10 -04:00