gristlabs_grist-core/app/client
Paul Fitzpatrick f7c9919120 (core) annotate shares listed in UserManager for documents
Summary:
This gives more guidance to users when editing document shares in the UserManager dialog.

  * For a document on a team site, any shares with team members are marked `Team member`.
  * Shares that count as external collaborators are marked for documents on a team or personal site as `collaborator` (personal site) or `outside collaborator` (team site).
  * Collaborators are marked `1 of 2`, `2 of 2`, and then `limit exceeded`.
  * On a team site, links are offered for each collaborator to add them to the team. The links lead to a prefilled dialog for managing team membership which can be confirmed immediately, allowing the user to continue without interruption.
  * On a personal site, for the last collaborator and beyond, a link is added for creating a team. This isn't seamless since creating a team involves billing etc.

There's a small unrelated tweak in tests to remove a confusing import from `test/browser` in `test/server`.

One thing I didn't get to is checking if owner of doc is owner of site. If they aren't, they may try to add a member and be denied at that point - it would be more polite to change messaging earlier for them.

Test Plan: added and updated tests

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D3083
2021-10-25 14:29:19 -04:00
..
aclui (core) flesh out "View As" feature 2021-10-08 12:00:40 -04:00
components (core) Fixing scrollbars on ace editor for windows users. 2021-10-25 10:56:43 +02:00
lib (core) Showing links in text cells 2021-10-13 23:22:03 +02:00
models (core) annotate shares listed in UserManager for documents 2021-10-25 14:29:19 -04:00
ui (core) annotate shares listed in UserManager for documents 2021-10-25 14:29:19 -04:00
ui2018 (core) Showing links in text cells 2021-10-13 23:22:03 +02:00
widgets (core) Fixing scrollbars on ace editor for windows users. 2021-10-25 10:56:43 +02:00
app.css (core) Make mobile the default mode. 2021-02-25 11:31:43 -05:00
app.js (core) Avoid loading the Grist frontend app more than once. 2021-09-07 16:40:40 -04:00
declarations.d.ts (core) Support 'new' row in anchor links. 2021-09-24 09:01:10 -04:00
errorMain.ts (core) clean up a collection of small problems affecting grist-core 2021-08-17 21:44:50 -04:00
exposeModulesForTests.js (core) Some cleanup: remove old unused modules. 2020-11-20 11:23:20 -05:00
logo.css (core) Cleanup removing some old unused files, fixing logo.css, and removing #grist-app. 2020-10-09 17:04:09 -04:00
tsconfig.json freshen app/client/ui2018/cssVars.ts 2020-06-23 16:16:38 -04:00