Open jvine opened 5 years ago
I've broken out a simpler first pass of this that provides a select box and the workspaceMenu side of things. Another PR is needed to add the "radio button + confirm" interaction, descriptions, icons, and dialog-local state.
PR (currently writing tests): https://github.com/ProjectMirador/mirador/pull/2041
Mockup addresses:
Add
Select workspace type
option to workspace menu.Menu has three groups:
If there is more than one workspace type available in the implementation, add
Select workspace type
option to group 2.Open selection dialog.
User selects
Select workspace type
. Close the menu and open a dialog centered in the window. The available worktypes are displayed in horizontal blocks.Each block includes:
Icons and their accompanying radio buttons/labels are clickable to select a workspace type. Selection is not applied until the user clicks SWITCH.
Cancel closes the dialog without changing the workspace.
Mobile layout
Initial text
Icons Can provide placeholder SVG icons, but I'm not able attach them here...
Switch workspace type (magic)
There will need to be additional design work on this and a separate ticket. Initial intent is that windows will flow into the new layout in more or less their location order top left to bottom right; either normalize windows to a consistent size or retain some degree of their relative sizes as allowed by the new layout.