mirror of
https://github.com/enso-org/enso.git
synced 2024-12-02 12:54:32 +03:00
a771e40002
[ci no changelog needed] [Task link](https://www.pivotaltracker.com/story/show/181445628). This PR implements a Breadcrumbs panel for the new component browser. The Breadcrumbs is a horizontal list of text labels separated by a special icon and has an optional ellipsis icon at the end. It is implemented using the new GridView component. Video: Demo of adding new breadcrumbs, scrolling behavior, and selecting breadcrumbs with the mouse. https://user-images.githubusercontent.com/6566674/189199432-77807cef-00dc-4abe-b95c-b17a536f59f6.mp4 Demo of selecting breadcrumbs with keyboard shortcuts: https://user-images.githubusercontent.com/6566674/189199603-53e55335-73ba-4ed7-8291-4455144c06aa.mp4 # Important Notes - This PR implements an old interaction of the design of the component browser. The new design of the breadcrumbs can not be easily integrated into the current look of the component browser, so we would need to update styles later. It should be a relatively simple task. *The implementation uses color from the new design though. (but not fonts and sizes)* - I found a bug in the grid view implementation that causes panics at runtime in some conditions. The reason is triggering FRP endpoints while constructing new entries. This issue is fixed in the PR. |
||
---|---|---|
.. | ||
src | ||
build.rs | ||
Cargo.toml |