Skip to content

Add project context menu actions to collapse or close other projects #74

@touch2be

Description

@touch2be

Feature request

Add project context menu actions for collapsing and closing projects, similar to browser tab controls.

Proposed actions

In the project context menu, add options such as:

  1. Duplicate session
  2. Collapse all projects
  3. Collapse other projects
  4. Close other projects

The menu order should also be adjusted so New session is moved further up, because it is one of the primary actions for a project.

Use case

When many projects are open in the sidebar, it becomes hard to focus on the current project. Browser tabs commonly provide actions like closing other tabs or closing tabs to the side. A similar workflow for projects would make project navigation faster and reduce sidebar clutter.

Expected behavior

Collapse all projects should collapse every expanded project in the sidebar.

Collapse other projects should keep the selected project expanded and collapse all other projects.

Close other projects should keep the selected project open and remove/close all other projects from the current sidebar/workspace view.

Duplicate session should create a new session based on the selected/current session context, similar to duplicating a browser tab.

Notes

The project context menu already contains actions like Pin to top, Copy absolute path, Open in file browser, Open in terminal, New session, and Remove project. These new actions would fit naturally into the same menu, but the grouping/order should be revisited so frequent actions like New session are easier to reach.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions