gristlabs_grist-core/app/client/lib
Dmitry S e380fcfa90 (core) Admin Panel and InstallAdmin class to identify installation admins.
Summary:
- Add InstallAdmin class to identify users who can manage Grist installation.

  This is overridable by different Grist flavors (e.g. different in SaaS).
  It generalizes previous logic used to decide who can control Activation
  settings (e.g. enable telemetry).

- Implement a basic Admin Panel at /admin, and move items previously in the
  "Support Grist" page into the "Support Grist" section of the Admin Panel.

- Replace "Support Grist" menu items with "Admin Panel" and show only to admins.

- Add "Support Grist" links to Github sponsorship to user-account menu.

- Add "Support Grist" button to top-bar, which
  - for admins, replaces the previous "Contribute" button and reopens the "Support Grist / opt-in to telemetry" nudge (unchanged)
  - for everyone else, links to Github sponsorship
  - in either case, user can dismiss it.

Test Plan: Shuffled some test cases between Support Grist and the new Admin Panel, and added some new cases.

Reviewers: jarek, paulfitz

Reviewed By: jarek, paulfitz

Differential Revision: https://phab.getgrist.com/D4194
2024-03-25 12:18:38 -04:00
..
ACIndex.ts (core) Forms Improvements 2024-03-21 13:01:25 -04:00
ACSelect.ts
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
CustomSectionElement.ts
dblclick.ts
Delay.ts
dispose.d.ts
dispose.js Move phab docs to /documentation (#882) 2024-03-05 08:35:48 -05:00
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
formUtils.ts (core) Refactor forms implementation 2024-02-22 08:44:25 -05:00
fromKoSave.ts
guessTimezone.ts
helpScout.ts (core) Admin Panel and InstallAdmin class to identify installation admins. 2024-03-25 12:18:38 -04:00
HomePluginManager.ts (core) Move theme from ConfigNotifier to ThemeNotifier 2023-10-10 21:45:10 -04:00
imports.d.ts (core) Admin Panel and InstallAdmin class to identify installation admins. 2024-03-25 12:18:38 -04:00
imports.js (core) Admin Panel and InstallAdmin class to identify installation admins. 2024-03-25 12:18:38 -04:00
ImportSourceElement.ts
koArray.d.ts
koArray.js
koArrayWrap.ts
koDom.js
koDomScrolly.css
koDomScrolly.js
koForm.css (core) Polish dark mode and remove beta tag 2023-09-21 13:14:48 -04:00
koForm.js
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
log.ts
Mousetrap.js
multiselect.css
multiselect.js
MultiUserManager.ts
ObservableMap.js
ObservableSet.js
pausableObs.ts
popupControl.ts
popupUtils.ts
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
simpleList.ts (core) Forms Improvements 2024-03-21 13:01:25 -04:00
sortUtil.ts
storage.ts
tableUtil.ts
telemetry.ts
testState.ts
textUtils.ts
TokenField.ts (core) Polish dark mode and remove beta tag 2023-09-21 13:14:48 -04:00
uploads.ts (core) Add TSV and DSV import/export 2024-03-20 10:57:21 -04:00
UrlState.ts
Validator.ts