mirror of
https://github.com/enso-org/enso.git
synced 2024-12-21 06:01:59 +03:00
58fbd8e9e8
- Closes https://github.com/enso-org/cloud-v2/issues/619 - Async execution controls # Important Notes There is no design for this, as such, implementation details use placeholder designs. - The context menu uses a play icon. An icon similar in style to the "copy" icon *may* work to represent "run in background", but it may be difficult to visually represent that it is being run in the background, without obstructing it with a foreground window - The icon for projects being run in the background have a green tint, to distinguish them from projects that will be (or are currently) opened in the editor. - this will ***almost certainly*** need to be replaced with a proper design - This *may* also make sense for the local backend, *however* as I don't know whether there is a way to access the completion progress of execution from the PM API, local backend support is currently *not* implemented in this PR. - On a related note: as far as I am aware, there is also no such endpoint for the cloud backend. However, support for async execution was recently added, so I am adding the basic functionality corresponding to the `executeAsync` project state. - Whether a project is being run in the background is currently lost on refresh. This is because the async execution state is currently not sent by the backend. - Placeholder shortcuts have been added (Shift+Enter - Cmd+Enter is already taken by the "share" action, and shift+double click). These are totally optional, and can easily be removed.
5 lines
356 B
XML
5 lines
356 B
XML
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<path
|
|
d="M4.48492 3.22332L11.5227 7.12545C12.2095 7.50624 12.2095 8.49379 11.5227 8.87458L4.48491 12.7767C3.8184 13.1462 3.00001 12.6642 3.00001 11.9021L3.00001 4.09789C3.00001 3.33578 3.8184 2.85377 4.48492 3.22332Z"
|
|
fill="black" />
|
|
</svg> |