enso/app/ide-desktop/lib/dashboard
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
..
src Trash and Recent categories (#7682) 2023-09-27 07:22:48 +00:00
bundle.ts [Gui2] Opening projects and language server connection (#7813) 2023-09-22 03:43:25 +00:00
esbuild-config.ts 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
tailwind.config.ts [Gui2] Opening projects and language server connection (#7813) 2023-09-22 03:43:25 +00:00
test.ts Fix validation regexes (#7499) 2023-08-17 10:32:53 +00:00
tsconfig.json [Gui2] Opening projects and language server connection (#7813) 2023-09-22 03:43:25 +00:00
watch.ts Disable opening projects that are already opened by other users (#7660) 2023-08-28 13:21:36 +00:00