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 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 (core) move client code to core 2020-10-02 13:24:21 -04:00
browserInfo.ts (core) Fixing bug with first click on windows 2022-06-30 17:08:57 +02:00
chartUtil.ts (core) Fix error bars for bar chart 2022-01-04 17:58:52 +01:00
clipboardUtils.ts (core) Add cut, copy, and paste to context menu 2023-05-10 00:48:15 -04:00
CustomSectionElement.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
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 (core) move client code to core 2020-10-02 13:24:21 -04:00
dispose.d.ts Correct spelling mistakes 2022-02-19 09:46:49 +00:00
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 (core) move client code to core 2020-10-02 13:24:21 -04:00
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 (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) Refactor forms implementation 2024-02-22 08:44:25 -05:00
fromKoSave.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
guessTimezone.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
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 (core) move client code to core 2020-10-02 13:24:21 -04:00
koArray.d.ts (core) Expanding widgets 2023-01-19 09:46:59 +01:00
koArray.js (core) move client code to core 2020-10-02 13:24:21 -04:00
koArrayWrap.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
koDom.js (core) Floating formula editor 2023-06-02 17:59:22 +02:00
koDomScrolly.css (core) move client code to core 2020-10-02 13:24:21 -04:00
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 (core) support ?embed=true and &style=light for a clean embed experience 2020-08-14 13:34:38 -04:00
Mousetrap.js (core) Improve focus and keyboard shortcuts in modals. 2020-10-03 22:56:00 -04:00
multiselect.css (core) move client code to core 2020-10-02 13:24:21 -04:00
multiselect.js (core) move client code to core 2020-10-02 13:24:21 -04:00
MultiUserManager.ts Adressing comments 2023-01-03 17:47:46 +01:00
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 (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 (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 (core) move client code to core 2020-10-02 13:24:21 -04:00
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) Forms Improvements 2024-03-21 13:01:25 -04: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 (core) move client code to core 2020-10-02 13:24:21 -04:00
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 (core) Add TSV and DSV import/export 2024-03-20 10:57:21 -04: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