Add expand/collapse toggle button for workspace list view
MR: Pending <!-- NOTE: For context on MR heading, see: https://handbook.gitlab.com/handbook/engineering/devops/dev/create/remote-development/index.html#relationship-of-issues-to-mrs --> ## Description As part of our [new designs for Workspaces](https://gitlab.com/groups/gitlab-org/-/epics/18674), 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 ![image](/uploads/96633b4144c2d64d79186b0975143bbd/image.png) ## 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 <!-- NOTE: Feel free to expand with more sections and headers as needed --> <!-- DO NOT TOUCH BELOW -->
issue