Skip to content

[Feat] Change Between Workspace #11

@Nabhag8848

Description

@Nabhag8848

What do we need?

  • While the disconnect feature allows users to disconnect from a workspace, changing between previously connected workspaces enables users to switch to a different workspace without having to completely disconnect from the current workspace. This can
    save time and improve productivity, as users can seamlessly move between different workspaces without interruption to their workflow.
  • Additionally, changing between workspaces can help prevent confusion and errors that can arise from working in the wrong workspace. When the user will run the /notion workspace command it will trigger the modal which has the dropdown having a previously connected workspace that is not being disconnected. Users can choose the appropriate workspace and press the select button to change the workspace. Users can cancel changing workspace by pressing the cancel button

Acceptance Criteria

  • created preserveWorkspace(), getAllWorkspace(), RemoveDisconnectedWorkspaces() for Workspace
  • created changeWorkspaceModal()
  • handled change workspace command param (ws, workspace)
  • handled select action for change workspace and update previewLayout
  • when disconnect, connect to last connected workspace (if exist)

Relevant ScreenShots

Further Comments

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions