Similar to how the shortcut drawer remained open or closed according to the user's last state change operation, we want the toolbar tray to remain in a horizontal or vertical orientation across page loads. The orientation of each tray is individually manipulable.
So, if a user sets the orientation of the menu tray to vertical (even on wide screens), then on a subsequent page load, the menu tray should display in a vertical orientation, even on wide screens, until the user clicks the horizontal orientation change button.
The Tray object in toolbar.js
are responsible for managing the orientation state of each tray instance.
Related to #1827284: Preserve the open state of the toolbar for individual users across page loads.
Comment | File | Size | Author |
---|---|---|---|
toolbar-horizontal-orientation-change-button.png | 44.57 KB | jessebeach |
Comments
Comment #1
jessebeach CreditAttribution: jessebeach commentedHave a look at the patch nod_ proposed for the shortcut module drawer state: #1772724: Remove most of toolbar things and put that in shortcut
Comment #2
jessebeach CreditAttribution: jessebeach commentedAddressed in #1137920-220: Fix toolbar on small screen sizes and redesign toolbar for desktop.