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 (core) Fixing ACIndex highlightMatches functions 2022-08-26 08:34:16 +02:00
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 (core) New date filter with a calendar view 2022-12-20 09:58:42 +01:00
browserGlobals.js
browserInfo.ts (core) Fixing bug with first click on windows 2022-06-30 17:08:57 +02:00
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 Correct spelling mistakes 2022-02-19 09:46:49 +00:00
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
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 (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 (core) Multi-column configuration 2022-10-17 09:51:19 +02:00
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 (core) New date filter with a calendar view 2022-12-20 09:58:42 +01:00
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 (core) Fix problem with localStorage in some cross-origin embed situations 2022-11-30 23:52:50 -05:00
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 (core) Fix problem with localStorage in some cross-origin embed situations 2022-11-30 23:52:50 -05:00
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 (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00