Skip to content

Fit the storage worktrees table on phone-width screens - #6205

Merged
ymichael merged 2 commits into
mainfrom
bb/fix-storage-plugin-ui-issues-thr_nqy4xqey48
Oct 24, 2026
Merged

ymichael merged 2 commits into
mainfrom
bb/fix-storage-plugin-ui-issues-thr_nqy4xqey48

Conversation

@ymichael

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

The Storage & retention panel's "Worktrees by project" table overflowed its card at phone width. All four column headers were whitespace-nowrap with pl-6 gaps, and the "Other worktrees" cell held count · size on one line. Together these made the table wider than the card, so "Awaiting cleanup" was clipped, the row dividers ran past the card's edge, and the whole panel scrolled sideways.

What changed

plugins/storage-retention/app.tsx (ProjectWorktrees):

  • Headers can wrap and sit on the header row's bottom line below sm. From sm up they stay on one line with the original pl-6 gaps.
  • Column gaps are pl-3 below sm.
  • The "Other worktrees" size now sits on its own line under the count at every width, without the · separator. Row cells are top-aligned so counts share a line.
  • The card scrolls sideways on its own if a table still can't fit, so the page never does.

How you verified

  • Rendered the table markup and classes with Tailwind in headless Chrome at 390, 320 and 800px, before and after. Before: the page was 420px wide in a 390px viewport. After: no overflow of the page or the card at any of the three widths, and desktop keeps one-line headers.
  • pnpm exec turbo run typecheck lint --filter=bb-plugin-bb--storage-retention passes.

AGENT GENERATED

🤖 Generated with Claude Code

@ymichael
ymichael merged commit 22d4124 into main Oct 24, 2026
29 checks passed
@ymichael
ymichael deleted the bb/fix-storage-plugin-ui-issues-thr_nqy4xqey48 branch October 24, 2026 03:02
@ymichael ymichael mentioned this pull request Oct 24, 2026
ymichael added a commit that referenced this pull request Oct 24, 2026
## Human comments

## What was wrong

`main` has 14 commits since 0.47.0, including #6195, which fixes the
timeline staying detached at the bottom (a regression from #5951 that
shipped in 0.47.0). `bb-app` and `@bb/desktop` were still at 0.47.0, so
the publish and desktop workflows can't ship them.

## What changed

- `packages/bb-app/package.json`, `apps/desktop/package.json`: 0.47.0 →
0.47.1 (`node scripts/bump-version.mjs --patch`).
- No `CHANGELOG.md` or `RELEASE_META` entry: like earlier fix-only
patches, these changes go into the 0.48.0 notes.

The release commit sits directly on `b17bfc8fdd` (#6217). Everything
below was tested on `22d41249ee`, and the sidebar was tested again on
`b17bfc8fdd`. This release includes the daemon protocol bump from #6185
(251 → 252), so enrolled machines will update their daemon.

## How you verified

- `node .github/workflows/check-version-lockstep.mjs`: `bb-app=0.47.1
@bb/desktop=0.47.1`.
- Typecheck, tests and the `bb-app` tarball smoke run in CI on this PR,
instead of locally.
- `git diff --check`, and `oxfmt --check` on the changed files: clean.
- Manual QA of `22d41249ee` with `pnpm start:worktree` (production
bundle) and headless Chrome, on a fresh data dir:
- **Timeline (#6195):** a long unread reply stops at NEW, detached. A
short unread reply opens at the end with no jump arrow. Scrolling up 150
px and growing the viewport 900 → 1200 attaches. Scrolling up 400 px and
growing it stays detached. Sending after scrolling up 1,800 px jumps to
the end and follows the streamed Claude Code reply. The view is still at
the end after a reload.
- **Docs (#6146):** typing in a note while `bb docs pull`/`push`
appended a paragraph kept both edits on disk and in the editor. A stale
push after a UI edit was refused as a conflict. A new note was renamed
from its first line and kept its Markdown after a reload.
- **Skills (#6185):** `bb project commands` lists project skills from
the documented roots for Claude Code and Codex, with no duplicate names.
A Codex `/skill` turn ran the skill.
- **Storage & retention (#6190, #6205):** two outside worktrees were
listed. Bulk removal removed the clean one, kept its branch, and kept
the dirty one. The table fits a 390 px viewport.
- **Sidebar multi-select (#6191, #6217), on `b17bfc8fdd`:** with the
experiment on, Cmd+Shift-click selected a second thread without
navigating ("Actions for 2 threads"). Pressing it again on the same
thread deselected it. Shift-click selected a range of 4. Escape cleared
the selection. Cmd-click cleared the selection and opened a split. Bulk
Pin applied to the two selected threads (checked with `bb thread list`).
With the experiment off, Cmd-click opens a split.
- **omp (#6186):** the picker labels GPT-5.6 Terra rows `openai` and
`openai-codex`.

Not exercised: the Ultrafast icon (#6198), because no Codex model on the
test account offers Ultrafast. Also not exercised: the Android
touch-drag attach, the desktop app, the SDK realtime reconnect (#6183)
and retryable host RPCs (#6184). Those last two are covered by unit
tests only.

> AGENT GENERATED

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant