gristlabs_grist-core/app/client/lib
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
..
ACIndex.ts
ACSelect.ts
ACUserManager.ts (core) Polish dark mode and remove beta tag 2023-09-21 13:14:48 -04:00
autocomplete.ts
browserGlobals.js (core) move client code to core 2020-10-02 13:24:21 -04:00
browserInfo.ts
chartUtil.ts
clipboardUtils.ts (core) Add cut, copy, and paste to context menu 2023-05-10 00:48:15 -04:00
CustomSectionElement.ts
dblclick.ts (core) Fix double-tap on Android failing to select tapped cell; ensure gestures don't get interpreted as double-tap 2021-02-10 09:22:14 -05:00
Delay.ts
dispose.d.ts
dispose.js
DocPluginManager.ts (core) Support dark mode in custom widgets 2023-09-19 16:08:21 -04:00
dom.js
domAsync.ts
domUtils.ts (core) Form Publishing 2024-01-12 11:58:12 -08:00
download.js (core) move client code to core 2020-10-02 13:24:21 -04:00
FocusLayer.ts (core) Import redesign 2023-08-04 14:59:55 +02:00
formUtils.ts (core) Migrate to SRP and add change password dialog 2022-03-16 21:35:06 -07:00
fromKoSave.ts
guessTimezone.ts
helpScout.ts (core) Add optional telemetry to grist-core 2023-06-07 12:00:51 -04:00
HomePluginManager.ts (core) Move theme from ConfigNotifier to ThemeNotifier 2023-10-10 21:45:10 -04:00
imports.d.ts (core) Add Support Grist page and nudge 2023-07-04 17:36:59 -04:00
imports.js (core) Add Support Grist page and nudge 2023-07-04 17:36:59 -04:00
ImportSourceElement.ts
koArray.d.ts
koArray.js
koArrayWrap.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
koDom.js
koDomScrolly.css
koDomScrolly.js (core) Fixing scrolly bug on mobile 2023-01-04 17:53:02 +01:00
koForm.css (core) Polish dark mode and remove beta tag 2023-09-21 13:14:48 -04:00
koForm.js (core) Adding description icon and tooltip in the GridView 2023-04-20 18:21:31 +02:00
koUtil.js
loadScript.ts (core) Improve API Console and link from Document Settings. 2024-01-29 10:08:19 -05:00
localization.ts
localStorageObs.ts (core) Direct users to last visited site when possible 2023-05-02 07:48:22 -07:00
log.ts
Mousetrap.js
multiselect.css
multiselect.js
MultiUserManager.ts
ObservableMap.js (core) move client code to core 2020-10-02 13:24:21 -04:00
ObservableSet.js (core) move client code to core 2020-10-02 13:24:21 -04:00
pausableObs.ts
popupControl.ts
popupUtils.ts (core) Implement AI Assistant UI V2 2023-07-13 10:30:35 -04:00
ReferenceUtils.ts (core) Reference and ReferenceList formatters 2022-01-13 18:09:33 +02:00
SafeBrowser.ts (core) Move theme from ConfigNotifier to ThemeNotifier 2023-10-10 21:45:10 -04:00
SafeBrowserProcess.css
sessionObs.ts
Signal.ts (core) Fixing couple of bugs in collapsed section layout 2023-03-22 16:23:09 +01:00
simpleList.ts
sortUtil.ts (core) Cursor in custom widgets 2023-08-29 09:19:52 +02:00
storage.ts
tableUtil.ts (core) Fix issue with lodash's map interpreting objects with length as array-like 2023-07-01 21:07:39 -04:00
telemetry.ts (core) Add optional telemetry to grist-core 2023-06-07 12:00:51 -04:00
testState.ts
textUtils.ts (core) Check document ID when parsing pasted references 2021-11-30 13:40:17 +02:00
TokenField.ts (core) Polish dark mode and remove beta tag 2023-09-21 13:14:48 -04:00
uploads.ts
UrlState.ts allow Grist front-end to function when location history is unavailable (#596) 2023-07-27 07:02:17 -04:00
Validator.ts