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.

toolbar-horizontal-orientation-change-button.png

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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jessebeach’s picture

Have a look at the patch nod_ proposed for the shortcut module drawer state: #1772724: Remove most of toolbar things and put that in shortcut

jessebeach’s picture