Skip to content

Feature request: nested projects (folders / groups) in the sidebar #1811

Description

@meanwhile17

Problem

I drive ~33 projects from bb across several unrelated areas: one company with a dozen
sub-areas (finance, legal, analytics, product, admin, internal AI tools), commercial side
projects, hobby projects, consulting engagements, and personal/family folders.

The project sidebar is a flat list, so all 33 sit at the same level. There is no way to
collapse an area I am not working on today, and no way to express that "Finance" and
"Legal" belong to the same company while "surf-bot" does not.

Workarounds I tried, and why they fall short

  • Naming convention plus bb project reorder. I renamed projects to 1. Company,
    1.1 Finance, 1.2 Legal, 2. Personal commercial, and reordered them so related ones
    sit together. This gives visual grouping only: nothing collapses, and the sidebar is
    still 33 rows.
  • Leading whitespace / box-drawing characters in the project name. Indentation does
    survive a round trip through the API and does render, but it looks wrong and it is not
    real structure - ordering is not constrained, and a "child" can be dragged away from its
    "parent" with nothing to stop it.
  • Thread sections. These group threads rather than projects. In 0.38.0 the
    thread_sections table has no project column (threads.section_id points at a section
    row that is not scoped to a project), so a section is not a per-project folder either.

What I would like

Let projects nest, or let them be grouped into folders:

  • a parent (or folder) relation on projects
  • sidebar rendered as a collapsible tree, with collapse state remembered across restarts
  • drag and drop a project into a folder
  • CLI support: set a parent on create and move, and tree output in bb project list

Two levels would already solve my case; arbitrary depth would be nicer.

Notes from a quick look

  • packages/domain/src/project.ts: projectSchema carries id, kind, name,
    gitRemoteUrl, createdAt, updatedAt - there is no parent field, so this looks like a
    genuinely missing capability rather than something unexposed.
  • The projects table already carries sort_key for sidebar ordering, so per-node
    ordering exists; hierarchy would be the addition on top of it.

I did not find an existing issue for this, but I may have missed it - happy to have this
closed as a duplicate.

Environment: bb 0.38.0, macOS desktop a

Activity

  1. added
    ui
    cli
    on Aug 18, 2026
  2. hatrigt-atom commented on Aug 21, 2026

    @hatrigt-atom

    yes. This is kind of workspace in VSCode. I too need it badly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliui

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions