enso/app/gui/view/documentation
Ilya Bogdanov 73237b7b25
Rearrange CB panels (#7350)
Closes #7244

- Section navigator removed
- Added a button panel on top of the documentation
- Show/hide documentation panel button is functional, documentation panel has animation.
- All other buttons are read-only (unclickable).
- "Hovered item preview" caption was removed from the documentation panel
- Breadcrumbs are flying in the temporary position. They should be functional but will be moved to the documentation panel in a separate task.
- Sizes and layouts of the CB panels match the design.
- The color of the application background changed. Also fixed a bug because of which the stylesheet setting of the background was not taken into account.

Known issues:
- ~~The buttons panel partially hides the topmost entry in the list. To fix that, we would need API changes to the grid view, I decided not to do that as part of the PR. We need to add padding on top of the scroll area content.~~
- Scrollbar is not rendered correctly at the bottom – the scroll area mask should crop it.
- Component list entries are not exactly as in design – I didn't touch this part of the code.
- Breadcrumbs are in the wrong position.

https://github.com/enso-org/enso/assets/6566674/409bebb5-572a-4760-852d-f666124689a2
2023-07-31 15:33:54 +00:00
..
assets Rearrange CB panels (#7350) 2023-07-31 15:33:54 +00:00
src Rearrange CB panels (#7350) 2023-07-31 15:33:54 +00:00
Cargo.toml Rearrange CB panels (#7350) 2023-07-31 15:33:54 +00:00
README.md Replace Tailwind with custom CSS rules in documentation panel (#6978) 2023-06-22 07:32:13 +00:00

Icons license

We use two Twemoji SVG icons for our documentation panel, you can find them at:

  • assets/icon-important.svg
  • assets/icon-info.svg

Twemoji SVG icons are licensed under CC-BY 4.0: https://creativecommons.org/licenses/by/4.0/. Copyright 2020 Twitter, Inc and other contributors.