enso/app/ide-desktop
somebody1234 a7c2e7590a
Trash and Recent categories (#7682)
- Closes https://github.com/enso-org/cloud-v2/issues/617
- Trash category
- Do not open "confirm delete" modal when on remote (cloud) backend
- Permanent deletion has been superseded by the trash category
- Save current category to `localStorage`
- Also implements "Recent" category. Differences to Home category:
- Hides sort indicators
- Disables sorting

Other fixes:
- Allow overriding cloud environment through environment variable
- Prevent triggering rename on click when multiple items are selected
- Remove "move to trash" context menu option when user is not owner

# Important Notes
- This registers the "Ctrl + R" (Cmd + R) shortcut for restoring an item from trash. This is the same shortcut used for renaming, however I think it is fine because items in trash cannot be renamed.
(As usual though, this is very simple to remove/change so it's not a big deal to remove/change it.)

- The "Recent" category lacks backend support - so it falls back to the default category, as the deserialization of unknown values falls back to the default category.
2023-09-27 07:22:48 +00:00
..
.vscode Trash and Recent categories (#7682) 2023-09-27 07:22:48 +00:00
lib Trash and Recent categories (#7682) 2023-09-27 07:22:48 +00:00
.gitignore Replace webpack with esbuild (#3592) 2022-08-10 03:41:44 +02:00
debugGlobals.ts Improve assets table display (#7500) 2023-08-28 18:01:40 +00:00
eslint.config.js Trash and Recent categories (#7682) 2023-09-27 07:22:48 +00:00
package.json [Gui2] Opening projects and language server connection (#7813) 2023-09-22 03:43:25 +00:00
tsconfig.json [Gui2] Opening projects and language server connection (#7813) 2023-09-22 03:43:25 +00:00
utils.ts Enable require-jsdoc lint and add two lints related to React (#6403) 2023-05-19 19:55:29 +00:00