Files
webstudio/apps/builder/app
Oleg Isonen 9bfa855fab feat: added navigator panel keyboard shortcut and refactored navigator docking behavior (#3961)
## Description

With shortcuts, it became very clear that we need to make navigator
closable even when it is undocked, because a shortcut should't just stop
working.

I had to refactor loading animation because to cover with overlay the
panel it now need a different way of rendering the overlay. Instead of
passing some CSS, I am now rendering an overlay above everything else.


## Steps for reproduction

1. Navigator should close/open using
  a) tab trigger
  b) close button in the panel
  c) keyboard shortcut (z)
2. It should behave the same way in docked and undocked state, with only
one difference: when undocked - it takes space in the layout, makes
canvas smaller. Docked - it goes above.




## Code Review

- [ ] hi @kof, I need you to do
  - conceptual review (architecture, feature-correctness)
  - detailed review (read every line)
  - test it on preview

## Before requesting a review

- [ ] made a self-review
- [ ] added inline comments where things may be not obvious (the "why",
not "what")

## Before merging

- [ ] tested locally and on preview environment (preview dev login:
5de6)
- [ ] updated [test
cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md)
document
- [ ] added tests
- [ ] if any new env variables are added, added them to `.env` file
2024-08-20 20:27:46 +02:00
..
2024-04-07 00:55:42 +07:00