Problem/Motivation
Both sidebars are currently modals:
- the first is a "normal" sidebar
- the second is a dropdown from InstanceButtons island
The use localstorage to keep memory of state and size.
This custom code can be replaced by something more generic.
Nice to have: animation. Careful it must not be triggered when restoring the state while refreshing the page.
Proposed resolution
Replace them by shoelace's Drawer.
It is nice if localstorage feature can be kept, but it is OK if it needs be removed.
Issue fork display_builder-3529049
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
pdureau commentedComment #3
pdureau commentedCareful to not lose the "close modals with ESC keypress" feature
Comment #7
mogtofu33 commentedComment #8
mogtofu33 commentedComment #9
pdureau commented