Files
gristlabs_grist-core/app/client/ui
Dmitry S 11afc08f65 (core) Improve API Console and link from Document Settings.
Summary:
Changes to building and serving:
- Remove unpkg dependencies, add npm module for swagger-ui-dist instead.
- Move apiconsole JS logic into core/app/client/apiconsole.ts, and use TypeScript.
- Add symlinks to swagger in static/ and core/static/.
- Refactor loadScript, and add loadCssFile; use these to load swagger-ui resources.

Changes to console itself:
- Support docId, workspaceId, orgId URL parameters. When present, the matching
  value in dropdowns is moved to the front and marked as "(Current)".
- Fix the ordering of example values, particularly for workspaces.
- Remove unwanted example values.
- Hide confusing "Authorize" button.
- Hide API keys, and rely consistently on cookies for executing API calls.

Integration into Grist:
- Added a button to Document Settings, just under document ID in "API".
- The button opens a separate page, passing in org, workspace, and doc info for the current doc.

Test Plan: Only tested manually, no automated tests yet.

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D4173
2024-01-29 10:08:19 -05:00
..
2023-09-27 14:49:23 +02:00
2023-04-20 12:20:03 -04:00
2023-11-19 20:12:37 -05:00
2023-11-19 20:12:37 -05:00
2023-05-15 12:01:19 -04:00
2024-01-19 10:34:03 +01:00
2023-03-28 19:57:52 +02:00
2023-11-01 10:49:33 -04:00
2023-01-03 17:45:14 +01:00
2024-01-24 02:18:03 -08:00
2023-11-19 20:12:37 -05:00
2022-07-04 10:42:40 -04:00
2023-06-06 11:34:49 -04:00
2024-01-19 10:34:03 +01:00
2023-12-20 13:23:12 +01:00
2023-09-11 10:00:39 -04:00
2024-01-19 10:34:03 +01:00
2023-09-11 10:00:39 -04:00
2022-09-30 09:11:46 -07:00
2023-09-19 16:28:36 -04:00
2023-09-01 09:59:33 -04:00
2023-11-19 20:12:37 -05:00
2024-01-23 22:11:48 +01:00
2024-01-24 02:18:03 -08:00
2023-11-21 16:49:41 -05:00
2024-01-24 02:18:03 -08:00
2023-01-03 16:01:45 +01:00
2023-01-03 12:33:34 +01:00
2022-09-21 10:30:54 -04:00
2024-01-23 22:11:48 +01:00
2024-01-19 10:34:03 +01:00
2023-12-20 13:23:12 +01:00
2023-11-19 20:12:37 -05:00
2023-12-20 13:23:12 +01:00
2023-04-06 12:34:54 -04:00