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 Improve input team member (#268) 2022-09-21 10:30:54 -04:00
ACUserManager.ts (core) Polish dark mode and remove beta tag 2023-09-21 13:14:48 -04:00
autocomplete.ts
browserGlobals.js
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
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 (core) move client code to core 2020-10-02 13:24:21 -04:00
domUtils.ts (core) Form Publishing 2024-01-12 11:58:12 -08:00
download.js
FocusLayer.ts (core) Import redesign 2023-08-04 14:59:55 +02:00
formUtils.ts
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 (core) Expanding widgets 2023-01-19 09:46:59 +01:00
koArray.js
koArrayWrap.ts
koDom.js (core) Floating formula editor 2023-06-02 17:59:22 +02:00
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 support other SQLite wrappers, and various hooks needed by grist-static (#516) 2023-05-23 15:17:28 -04:00
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 Adressing comments 2023-01-03 17:47:46 +01:00
ObservableMap.js
ObservableSet.js
pausableObs.ts (core) Improve dark mode 2023-04-12 01:58:48 -04:00
popupControl.ts
popupUtils.ts (core) Implement AI Assistant UI V2 2023-07-13 10:30:35 -04:00
ReferenceUtils.ts
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 (core) Enable search in column pickers 2023-01-04 10:02:12 +01:00
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
TokenField.ts (core) Polish dark mode and remove beta tag 2023-09-21 13:14:48 -04:00
uploads.ts A set of tweaks to simplify electron packaging (#421) 2023-02-13 15:52:17 -05:00
UrlState.ts allow Grist front-end to function when location history is unavailable (#596) 2023-07-27 07:02:17 -04:00
Validator.ts