Repository navigation
Description
Summary
On a mobile viewport in landscape orientation, the left sidebar's navigation section consumes most of the available height, leaving very little room for the thread list. Moving some navigation items into More reduces the problem but does not preserve enough space for threads; the sidebar should adapt to short viewports and reserve a useful portion of its height for the thread list.
Versions and environment
- bb 0.42.1
- Mobile viewport in landscape orientation
- Installation method and device/OS not provided
Steps to reproduce
- Open bb on a mobile device.
- Rotate the device to landscape orientation.
- Open the left sidebar.
- Observe the vertical space available below the navigation section for pinned threads and the rest of the thread list.
- Move optional navigation entries into More and observe the remaining thread-list space.
Reproduction status: unverified independently; this report is based on the reported behavior and source inspection because a mobile bb session was not available in the investigation environment.
Expected vs actual
Expected: The landscape sidebar adapts to its limited height and preserves enough visible or scrollable space to browse threads.
Actual: The navigation section occupies most of the sidebar height. Only a very small portion of the thread list is visible, even after optional navigation entries are moved into More.
Evidence
Source inspection on main at 6cdb4ba6125514b7660332cf311037bc09c82b0e shows that:
- The navigation list is a non-shrinking block, while every visible navigation row is rendered before the thread content:
bb/apps/app/src/components/plugin/PluginNavSidebarItems.tsx
Lines 431 to 469 in 6cdb4ba
return ( <div ref={containerRef} className="shrink-0 space-y-0.5 px-2 py-2 group-data-[collapsible=icon]:hidden" data-testid="plugin-nav-sidebar-items" onClickCapture={onClickCapture} > <DndContext {...dndContextProps}> <SortableContext items={visibleKeys} strategy={verticalListSortingStrategy} > {visible.map((row) => isPluginSidebarNavRow(row) ? ( <SortableSidebarNavRow key={getPluginNavPanelKey(row)} row={row} reorderDisabled={reorderDisabled} {...rowProps} /> ) : ( <BuiltInSidebarNavRow key={getPluginNavPanelKey(row)} row={row} onHide={rowProps.onHide} onCustomize={openCustomize} /> ), )} </SortableContext> </DndContext> {hidden.length > 0 ? ( <SidebarNavigationMoreRow hiddenRows={hidden} onActivate={handleActivate} onCustomize={openCustomize} /> ) : null} </div> - The thread list receives only the remaining flexible height after the top reserve, navigation region, divider, and footer:
bb/apps/app/src/components/sidebar/AppSidebar.tsx
Lines 225 to 275 in 6cdb4ba
const body = ( <> {showTopReserve ? ( <div data-testid="app-sidebar-top-reserve-row" className={cn( CHROME_ROW_CLASS, "shrink-0 justify-end px-2", usesDesktopChrome && MACOS_WINDOW_DRAG_CLASS, )} > <SidebarHistoryNavigationControls onNavigate={closeOnMobile} className={cn( "group-data-[collapsible=icon]:hidden", usesDesktopChrome && MACOS_CHROME_CONTROL_NO_DRAG_CLASS, )} /> </div> ) : null} <SidebarNavigationRegion compactCustomizeMode={isCompactCustomizeModeActive} onCompactCustomizeModeChange={setCompactCustomizeMode} onNavigate={closeOnMobile} splitEnabled toolsRoutePath={toolsRoutePath} newThreadSplit={newThreadSplit} onNewChat={handleNewChat} onSearchThreads={closeOnMobile} /> <div aria-hidden="true" className={cn( "mx-2 my-2 shrink-0 border-t border-sidebar-border/25", isCompactCustomizeModeActive && "hidden", )} data-testid="app-sidebar-navigation-divider" /> <SidebarContent className={cn(isCompactCustomizeModeActive && "hidden")} aria-hidden={isCompactCustomizeModeActive ? true : undefined} inert={isCompactCustomizeModeActive ? true : undefined} > <PluginThreadList replacement={threadListReplacement} original={originalThreadList} searchQuery="" onNavigate={closeOnMobile} /> </SidebarContent> <SidebarFooter className="relative"> - More is preference-driven rather than responsive to available vertical space; only Search is hidden by default:
bb/apps/app/src/components/plugin/pluginNavSidebarOrder.ts
Lines 8 to 24 in 6cdb4ba
export const BUILT_IN_SIDEBAR_NAVIGATION_KEYS = { newThread: "__bb__/new-thread", searchThreads: "__bb__/search-threads", extensions: "__bb__/extensions", automations: "__bb__/automations", } as const; export const DEFAULT_HIDDEN_SIDEBAR_NAVIGATION_KEYS = [ BUILT_IN_SIDEBAR_NAVIGATION_KEYS.searchThreads, ] as const; export const DEFAULT_BUILT_IN_SIDEBAR_NAVIGATION_ORDER = [ BUILT_IN_SIDEBAR_NAVIGATION_KEYS.newThread, BUILT_IN_SIDEBAR_NAVIGATION_KEYS.searchThreads, BUILT_IN_SIDEBAR_NAVIGATION_KEYS.extensions, BUILT_IN_SIDEBAR_NAVIGATION_KEYS.automations, ] as const;
No public-safe investigation link is available.
Suggested fix
Make sidebar navigation disclosure responsive to available height, not only user visibility preferences. On short landscape viewports, automatically move enough lower-priority navigation entries into More, or otherwise cap the navigation region, so the thread list retains a defined minimum usable height.
What you ruled out
- Not a duplicate of Optional per-project limit on visible sidebar thread rows #2731: that issue limits an individual project's unbounded thread rows; this issue is about fixed navigation chrome consuming the sidebar before the thread list begins.
- Moving optional entries into More mitigates the problem but does not leave enough thread-list space.
- Source inspection confirms the layout remains structurally susceptible on
mainat6cdb4ba6125514b7660332cf311037bc09c82b0e; live reproduction on that commit was not available.
Suggested priority and effort
Medium — affects mobile users in landscape orientation and makes primary thread navigation difficult; rotating to portrait is a workaround, and no data or work is lost. Effort likely Medium because the responsive disclosure policy needs layout behavior and coverage for short viewports.
AGENT GENERATED
Activity
bb-slop-cop commentedon Sep 6, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotmobile,confirmed-reproconfirmed-reprohxy91819 commentedon Oct 3, 2026
An alternative to auto-hiding: pin only New thread, scroll the rest
On a laptop screen, and especially in the mobile landscape sidebar, the navigation block (New thread, Search, Plugins, Skills, every plugin panel, the divider) is fixed above the thread list and eats a large share of the sidebar height. I need New thread reachable at all times, but I rarely need the other rows while scanning threads, and I would rather spend that height on threads.
What happens today
AppSidebarrendersSidebarNavigationRegionas a sibling beforeSidebarContent; onlySidebarContent(overflow-auto,flex-1) scrolls, and it contains just the thread list:bb/apps/app/src/components/sidebar/AppSidebar.tsx
Lines 211 to 226 in 129f621
bb/apps/app/src/components/ui/sidebar.tsx
Lines 1614 to 1626 in 129f621
So every visible navigation row is permanent chrome. The only mitigation is hiding rows under More, which is a per-row preference and still leaves the remaining rows fixed. The bundled Navigation plugin renders all visible rows in one sortable list with no notion of a pinned row:
bb/plugins/navigation/app/Navigation.tsx
Lines 410 to 417 in 129f621
Checked against
origin/maintoday:AppSidebarhas the same structure and the SDK has noexperimental_pinnedNavigationHost. This proposal addresses the space problem described here differently from auto-moving rows into More: scroll the rows away and pin only New thread. It also helps on desktop.What I would expect
app.slots.experimental_sidebarNavigationreceive the host as an optional prop and can render their New thread row there, or ignore it and keep everything in their own region.Prototype
Fork branch, based on
desktop-v0.45.0(129f6217): desktop-v0.45.0...hxy91819:bb:feature/sidebar-pinned-new-thread4 commits, 10 files, +123/−24. Implementation:
apps/app/src/components/sidebar/AppSidebar.tsx: adds ashrink-0 empty:hiddenhost div (data-testid="app-sidebar-pinned-navigation") aboveSidebarContent, and movesSidebarNavigationRegioninsideSidebarContentahead of the thread list.apps/app/src/components/sidebar/SidebarNavigationRegion.tsx: passes the host element to the slot asexperimental_pinnedNavigationHost.packages/plugin-sdk/src/app-contract.ts:ExperimentalSidebarNavigationProps.experimental_pinnedNavigationHost?: HTMLElement | null(documented indocs/api_to_audit.mdwith stabilization criteria, and inplugins/plugin-api-docs/src/surfaces.tsand the plugin authoring reference).plugins/navigation/app/Navigation.tsx: the row whose action kind isnew-threadis rendered throughcreatePortalinto the host when it is present; otherwise the plugin renders as today.plugins/navigation/app.test.tsxchecks that New thread lands in the host, the other rows and divider stay in the navigation region, and activation still callsactivatefor__bb__/new-thread; the sidebar anatomy manifest test checks the host is outside[data-sidebar="content"].CONTRIBUTING.md asks for alignment before a PR for UI changes and new plugin API. If this direction is acceptable here, I will open the PR once I am approved as a contributor.
Record upstream issues get-bb#4807-get-bb#4810 and the get-bb#3182 pr…
Record upstream issues get-bb#4807-get-bb#4810 and the get-bb#3182 pr…
brsbl commentedon Oct 16, 2026
Fixed by the navigation rail (#5229, shipped in desktop v0.46.0): the navigation rows moved out of the sidebar into the rail, so the thread list keeps its space on a phone in landscape. Screenshot from the current app in landscape: