Repository navigation
Description
Summary
On a phone-sized screen, the sidebar's Project settings action renders its gear above the label instead of beside it. The reporter also supplied an iOS screenshot showing the Environment icon and label shifted right relative to Project in Thread Info.
The menu bug is independently reproduced on current main. The Thread Info sizing failure is reproduced with a controlled provider-icon slot fixture; the default checkout artwork aligned in Chromium and Linux WebKit. The reporter's exact iPhone configuration remains unverified.
Versions and environment
- Source build from latest fetched main:
b6743a36bd9eae1408c35cfc2c7ab1d2419dc79d. - Independent reproduction: Debian GNU/Linux 13, Node 22.23.2, headless Chromium with a 390 × 844 touch viewport, isolated source dev app and fresh development database.
- Reported client: iPhone via bb Connect; exact iOS/browser and installed bb versions were not provided.
- No agent execution is needed for either layout.
- Investigation: BB thread
thr_9nj88w94j6.
Steps to reproduce
- Open bb at a phone-sized viewport, e.g. 390 × 844 with touch enabled.
- Set the sidebar organization to Project (
bb thread-list prefs set organizationMode project). - Open the sidebar and a project's overflow actions.
- Compare Project settings with Rename.
- Open a thread with a Project checkout environment, then its right panel → Info. Compare the Project and Environment label columns. The reporter observes the offset on iOS; this step has not yet independently reproduced in Chromium.
Expected vs actual
Expected: Project settings has a same-sized icon on the same line as its label, matching Rename. Thread Info uses the same icon column and label start for Project and Environment.
Actual, measured with DOM getBoundingClientRect() in Chromium at 390 × 844:
- Project settings: 60px row height, 24 × 24px gear above the text.
- Rename: 36px row height, 16 × 16px icon beside the text.
- Project settings has a
button[role=menuitem] > a > svgstructure. - Project and Environment both align in this Chromium run; the iOS screenshot's offset remains separately under investigation.
The new owner-boundary regression test fails on unmodified main with:
AssertionError: expected 'BUTTON' to be 'A'
The desktop case passes.
Investigation report and controlled fixture details.
Project settings before / after:
Thread Info controlled provider-icon fixture before / after:
Evidence
- Compact DropdownMenuItem always renders a button and drops asChild.
- ActionMenuItem wraps linked content in an anchor and requests asChild.
- Sidebar Project settings uses href.
- Thread Info uses a provider icon for Environment.
- Provider icons reserve intrinsic minimum dimensions.
The nested anchor prevents the menu item's flex layout and direct-child icon sizing from reaching the gear. A controlled provider-icon registration returning a 24px frame around a 16px glyph reproduces the Thread Info offset: Environment's glyph/label start at x=20/x=46 versus Project's x=16/x=38. Applying the old intrinsic minimum classes in the browser reproduces it; zero minimum dimensions keep both starts at x=16/x=38. This isolates a real sizing failure but does not establish which artwork or client version caused the original iPhone screenshot.
What you ruled out
- Fetched upstream main and inspected the affected source; the menu bug remains at
b6743a36b. - Searched open and closed issues/PRs for Thread Info icons, Project settings icons/wrapping, mobile alignment, and the affected component names; no matching report found.
- Update agent icons misaligned #2640 concerns provider update icons, Clarify settings action placement at compact widths #3074 concerns settings action placement, and Fix environment picker icon alignment and spacing without resizing #3577 concerns environment picker spacing rather than Thread Info.
- A fresh synthetic project/database reproduces the menu bug.
- The menu bug does not require an unusually long project name or agent/provider activity.
Suggested priority and effort
Low priority, small fix: visible mobile layout defects; no data loss.
Fix proposed in #6367. Linux WebKit checks pass at 320, 390, 430, and 1280px widths; the original iPhone setup still needs device confirmation.
AGENT GENERATED




Activity
bb-slop-cop commentedon Oct 27, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotmobile,ui.partial-repro.asChild, nesting the navigation anchor inside a button and bypassing direct-child icon layout. The regression fails on trusted main in two clean checkouts; the desktop control passes.Fix mobile project action and Thread Info icon alignment (get-bb#6367)