gristlabs_grist-core/app/client/ui
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
..
AccountWidget.ts
AddNewButton.ts
ApiKey.ts
App.css
App.ts
AppHeader.ts
AppUI.ts
BillingForm.ts (core) Migrate to Stripe v8 + implement discount codes 2021-10-20 12:34:03 -07:00
BillingPage.ts (core) Migrate to Stripe v8 + implement discount codes 2021-10-20 12:34:03 -07:00
BillingPageCss.ts
BillingPlanManagers.ts (core) Implement DiscourseConnect to enable easy sign-in to community forum 2021-10-01 11:24:22 -04:00
BottomBar.ts
buttons.ts
CodeHighlight.ts
ColumnFilterMenu.ts
CustomThemes.ts
DocHistory.ts
DocMenu.ts (core) annotate shares listed in UserManager for documents 2021-10-25 14:29:19 -04:00
DocMenuCss.ts
DocTour.ts (core) open documents without blocking on data engine 2021-10-01 10:18:56 -04:00
Document.css
DocumentSettings.ts (core) Extending default locale list 2021-09-24 15:10:13 +02:00
errorPages.ts
ExampleCard.ts
ExampleInfo.ts
FieldConfig.ts (core) Adding traceback to trigger formulas 2021-09-27 17:12:39 +02:00
FieldMenus.ts
FileDialog.ts
FilterBar.ts
forms.ts
googleAuth.ts (core) Extending Google Drive integration scope 2021-10-01 10:47:12 +02:00
GridOptions.ts
GridViewMenus.ts
HomeImports.ts
HomeIntro.ts
HomeLeftPane.ts
LeftPanelCommon.ts
MakeCopyMenu.ts (core) In make-copy dialog, ensure it's non-saveable while fetching workspaces after a switch of the destination org 2021-09-20 11:54:06 -04:00
MenuToggle.ts
modals.ts
mouseDrag.ts
MultiSelector.ts
NotifyUI.ts (core) Adding colors to toast notification 2021-10-05 10:19:25 +02:00
OnBoardingPopups.ts
PagePanels.ts
Pages.ts (core) When hidden pages are present in the page list, allow removing them 2021-10-05 15:39:42 -04:00
PageWidgetPicker.ts
PinnedDocs.ts
ProfileDialog.ts (core) Make ProfileDialog wait consistently for work to finish before closing. 2021-10-13 16:30:43 -04:00
resizeHandle.ts
RightPanel.ts
RowContextMenu.ts
selectBy.ts
sendToDrive.ts (core) Extending Google Drive integration scope 2021-10-01 10:47:12 +02:00
shadowScroll.ts
ShareMenu.ts (core) annotate shares listed in UserManager for documents 2021-10-25 14:29:19 -04:00
TemplateDocs.ts
Tools.ts (core) open documents without blocking on data engine 2021-10-01 10:18:56 -04:00
tooltips.ts
TopBar.ts
TopBarCss.ts
transientInput.ts
transitions.ts
TreeViewComponent.ts
TreeViewComponentCss.ts
TriggerFormulas.ts
UserImage.ts
UserItem.ts (core) annotate shares listed in UserManager for documents 2021-10-25 14:29:19 -04:00
UserManager.ts (core) annotate shares listed in UserManager for documents 2021-10-25 14:29:19 -04:00
ViewLayoutMenu.ts
viewport.ts
ViewSectionMenu.ts
VisibleFieldsConfig.ts (core) Fix y-axis blinking in chart view configuration 2021-09-16 18:18:28 +02:00
WelcomePage.ts (core) Implement DiscourseConnect to enable easy sign-in to community forum 2021-10-01 11:24:22 -04:00
welcomeTour.ts
widgetTypes.ts