gristlabs_grist-core/static
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
..
forms
icons (core) Form kanban tasks 2024-01-23 22:11:48 +01:00
img (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
locales
ui-icons
apiconsole.html (core) Improve API Console and link from Document Settings. 2024-01-29 10:08:19 -05:00
app.html
custom-widget.html (core) Add Command API to Grist Plugin API 2023-09-27 13:25:18 -04:00
custom.css
error.html
hljs.default.css
index.html Initial config with a few files that build on client and server side. 2020-05-20 00:50:46 -04:00
message.html (core) Google auth endpoint has not responded with auth code 2021-07-21 20:18:04 +02:00
mocha.css
mocha.js
swagger-ui-bundle.js (core) Improve API Console and link from Document Settings. 2024-01-29 10:08:19 -05:00
swagger-ui.css (core) Improve API Console and link from Document Settings. 2024-01-29 10:08:19 -05:00
test.html (core) Update dependencies 2023-10-11 17:36:58 -04:00
testWebdriverJQuery.html (core) bump mocha version to allow parallel tests; move more tests to core 2023-06-27 02:55:34 -04:00