[COMPASS-5607] Move workspace items from `compass-home` to `compass-workspace` Created: 18/Mar/22  Updated: 10/Jan/24  Resolved: 29/Mar/22

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: No version

Type: Task Priority: Major - P3
Reporter: Rhys Howell Assignee: Unassigned
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on COMPASS-5518 Update workspace tabs design and layout Closed
Related
is related to COMPASS-5605 Move workspace items from `compass-co... Closed
Documentation Changes: Not Needed

 Description   

As we move towards more generalized workspaces we'll want to move more of the tab workspace management into `compass-workspace` from `compass-collection` to remove the collection related logic from it. At the same time there is some code related to workspaces in `compass-home` already which we sense to live in this workspace location.

`compass-workspace` will then render the sidebar, workspace area (tabs), and the shell at the bottom. This will make `compass-home` then responsible for the connection view, supplying providers we use with the new state management conventions in Compass, and then rendering the connected workspace view. Down the line things like privacy settings and the compass overview modal would also make sense to live in compass-home as they are more global application based views.

The workspace related code in `compass-home` to move over to `compass-workspace`:
https://github.com/mongodb-js/compass/blob/main/packages/compass-home/src/components/workspace-content.tsx
https://github.com/mongodb-js/compass/blob/main/packages/compass-home/src/components/workspace.tsx



 Comments   
Comment by Rhys Howell [ 29/Mar/22 ]

Going to revisit workspace restructuring at a future time, closing and moving out of the epic.
Keeping the components in compass-components.

Generated at Wed Feb 07 22:40:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.