Add expand/collapse toggle button for workspace list view
MR: Pending
Description
As part of our new designs for Workspaces, we need to add an expand/collapse toggle button on the top right of the workspace list page so that users can easily choose between viewing details of all workspaces or a more compact list view based on their preference.
Visual Changes
Acceptance criteria
-
Add expand/collapse toggle button positioned in the top right of the workspace list page -
Toggle button has proper hover and focus states for accessibility -
Toggle buttons support gitlab shortcuts for expand ( ;
)/collapse (shift + ;
) -
Default state is defined (expanded or collapsed)
TODO: Implementation plan
Technical Notes
- Reference: Use or model after the existing toggle component in merge request file browser view
Edited by Sahil Sharma