gristlabs_grist-core/buildtools
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
..
build.sh Remove unused GRIST_EXT env variable #531 (#532) 2023-06-13 11:13:07 -04:00
fly-deploy.js (core) Fix flyctl memory settings, since requested memory flag wasn't being used 2023-10-02 11:24:17 -04:00
fly-template.toml (core) Record Cards 2023-11-19 20:12:37 -05:00
generate_locale_list.js (core) Extending default locale list 2021-09-24 15:10:13 +02:00
generate_translation_keys.js report unrecognized keys; be careful to not clobber English translation of single/plural forms 2023-01-12 12:54:14 -05:00
prepare_python2.sh Use /usr/bin/env instead of /bin/bash 2022-03-08 19:24:36 +00:00
prepare_python3.sh A set of tweaks to simplify electron packaging (#421) 2023-02-13 15:52:17 -05:00
prepare_python.sh A set of tweaks to simplify electron packaging (#421) 2023-02-13 15:52:17 -05:00
tsconfig-base-ext.json (core) add machinery for self-managed flavor of Grist 2022-05-12 12:39:52 -04:00
tsconfig-base.json (core) show package.json version when hovering on Grist icon in grist-core 2022-10-12 16:02:01 -04:00
update_schema.sh stub -> stubs 2023-01-17 17:09:59 -05:00
update_type_info.sh (core) Moving widget tests to core 2022-09-06 17:17:14 +02:00
webpack.api.config.js A set of tweaks to simplify electron packaging (#421) 2023-02-13 15:52:17 -05:00
webpack.check.js (core) Speed up and upgrade build. 2022-06-27 16:10:10 -04:00
webpack.config.js (core) Improve API Console and link from Document Settings. 2024-01-29 10:08:19 -05:00