Skip to content

Optional per-project limit on visible sidebar thread rows #2731

Description

@MPIsaac-Per

The workflow

I keep several projects in the sidebar and work across them through the day. One of them accumulates a long thread list. To reach a project below it I have to scroll past every thread in the noisy project first, and the projects underneath spend most of their time off screen.

What happens today

The sidebar is one flat scroll. A project's thread list is unbounded, so a project with many threads pushes every project below it down by its full height. The two available responses both cost something:

  • Collapse the project. Its threads become unreachable without expanding it again, which puts me back where I started.
  • Scroll. Reaching a project low in the list means traversing the whole thread list above it every time.

There is no way to cap how much vertical space one project spends while keeping its threads reachable.

What you would expect

An optional per-project maximum number of visible thread rows, defaulting to off so nothing changes for anyone who does not set it. A project with a limit shows that many rows and scrolls natively inside its own bounded viewport; the full ordered thread set stays present, and selecting a thread outside the current window scrolls it into view. Projects below it stay where they are.

Concrete shape, as a prototype on my fork: https://github.com/MPIsaac-Per/bb/tree/feat/project-thread-row-limits

  • projects.sidebar_thread_row_limit, null meaning unlimited, values 5, 10, 20, 50.
  • The control in Project settings, plus bb project update <id> --thread-row-limit <5|10|20|50|unlimited> and the same field through the SDK.
  • ProjectRow wraps its existing ProjectThreadTree in the bounded viewport, so thread order, collapse state, drag behavior, and keyboard navigation keep their current data and DOM order. Native scrolling only, no modal primitive, no app-root inerting.

Context and alternatives

Workaround today is collapsing the noisy project and expanding it whenever I need it, which trades one problem for the other.

#2525 proposes browser-style tabs above the chat for open threads. That addresses the same crowding from a different direction and the two are compatible; this one is about the sidebar staying navigable rather than about reaching recently open threads.

I have a branch ready, but per CONTRIBUTING.md I am filing this first rather than opening a PR. Happy to adjust the shape, drop the CLI surface, or take a different approach entirely if this is not the direction you want.

Checks

  • I searched open and closed issues for the same request.
  • If an agent wrote this, the body ends with > AGENT GENERATED.

AGENT GENERATED

Activity

  1. added
    ui
    cli
    on Aug 30, 2026
  2. bb-slop-cop commented on Aug 30, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    Classification:

    • Type: Feature
    • Priority: Medium
    • Effort: High
    • Labels: ui, cli
  3. yydrift-code commented on Nov 20, 2026

    @yydrift-code

    I have the same problem with long project lists pushing the next project down the sidebar. I’d use the Codex app’s project sidebar as the UX reference and follow its interaction as closely as possible. A compact list keeps the next project within reach, and expanding older threads in place keeps navigation in a single scroll.

    In BB’s By project sidebar, a project with the option enabled would initially show its 10 most recently updated threads. A Show more button would reveal the older threads in place, and Show less would restore the compact view. This would be a display preference only, with the same threads still available from search and direct links.

    BB previously shipped a related experiment in #3092. Would you be open to this as a setting in the bundled thread-list plugin?

    AGENT GENERATED

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