enso/app/ide-desktop
somebody1234 af0e738dec
New sharing menu (#7406)
- Closes https://github.com/enso-org/cloud-v2/issues/561
- New "Invite" modal
- Change autocomplete multi-select behavior
- Fix scrolling for autocomplete
- Scrolling when there are many users with permissions
- New backend permissions

- ⚠️ Intentional differences from Figma design:
- The permission type selector (the secondary modal) is slightly wider. This is because of minor changes to the text - check thread for details.
- The permission type selector for sharing with new users (the top one, next to the input) is vertically offset 4px more than usual. This is intentional; it means there is roughly the same spacing on either side of the input's border, and also means there is spacing between the "invite" button and the permission type selector
- Many buttons are faded out (`opacity-50`) when they are not interactable.
- Text changes
- "Invite" changes to "Share" in blue button
- "File" changes to "<asset type>" in permission type selector

# Important Notes
Some options don't work because the backend representation for permissions is currently different - in particular, the `admin`, `edit`, and `read` permissions, and the `docs` sub-permission.

ℹ️ Currently only works with new backend permissions - i.e. `ENVIRONMENT` must be `'pbuchu'` in `config.ts`.
2023-08-10 09:09:31 +00:00
..
lib New sharing menu (#7406) 2023-08-10 09:09:31 +00:00
.gitignore Replace webpack with esbuild (#3592) 2022-08-10 03:41:44 +02:00
debugGlobals.ts New sharing menu (#7406) 2023-08-10 09:09:31 +00:00
eslint.config.js New sharing menu (#7406) 2023-08-10 09:09:31 +00:00
package-lock.json Rearrange CB panels (#7350) 2023-07-31 15:33:54 +00:00
package.json Split dashboard.tsx into smaller components (#6546) 2023-07-19 11:48:39 +02:00
tsconfig.json Run TypeScript typechecking and eslint on Lint CI (#6603) 2023-05-23 12:22:53 +02:00
utils.ts Enable require-jsdoc lint and add two lints related to React (#6403) 2023-05-19 19:55:29 +00:00