mirror of
https://github.com/enso-org/enso.git
synced 2024-12-19 00:51:34 +03:00
a7c2e7590a
- 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.
5 lines
545 B
XML
5 lines
545 B
XML
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
d="M5.72361 0.552786C5.893 0.214002 6.23926 0 6.61803 0H9.38197C9.76074 0 10.107 0.214002 10.2764 0.552786L10.5 1H13C13.5523 1 14 1.44772 14 2V3H2V2C2 1.44772 2.44772 1 3 1H5.5L5.72361 0.552786ZM14 4H2V14C2 15.1046 2.89543 16 4 16H12C13.1046 16 14 15.1046 14 14V4ZM8 6.5L11 10.5H9V12.5C9 13.0523 8.55228 13.5 8 13.5C7.44772 13.5 7 13.0523 7 12.5V10.5H5L8 6.5Z"
|
|
fill="black" />
|
|
</svg> |