Skip to content

Keep compact Home content out of the desktop layout - #5420

Merged
SawyerHood merged 1 commit into
mainfrom
slopcop/issue-5419
Oct 13, 2026
Merged

SawyerHood merged 1 commit into
mainfrom
slopcop/issue-5419

Conversation

@bb-slop-cop

@bb-slop-cop bb-slop-cop Bot commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

🚨 SLOP COP 🚨 · new-issue-autopilot

Human comments

What was wrong

RootComposeSecondaryContent mounted compactScrollContent in both layout branches. On desktop, the actual recent-thread component hid itself with CSS but still created its entire eligible row subtree. The same 1,000-row DOM regression reproduced this in two clean checkouts of trusted main (e9dafb6c0245a37c6972dffa71134d546f3d497e).

Report: https://get-bb.github.io/reports/issues/5419.html

What changed

Remove the compact content from the desktop branch only. Keep compact rendering, composer content, and plugin homepage sections unchanged. The regression covers desktop → compact → desktop transitions. Mobile capping/virtualization is intentionally outside this minimal desktop fix.

Changed-line count: 41 total text lines (40 additions, 1 deletion) across 2 files, confined to the existing Home layout subsystem. No dependencies, generated files, stored-data changes, public interfaces, wire contracts, or release changes.

How you verified

  • Before the production fix, pnpm exec turbo run test --filter=@bb/app -- src/views/RootComposeSecondaryContent.test.tsx -t 'mounts compact scroll content' fails at the expected-null assertion because desktop mounts the list. Repeated against the same base in a second clean checkout, with its own frozen install and full build: same intended failure.
  • After the fix, pnpm exec turbo run test --filter=@bb/app -- src/views/RootComposeSecondaryContent.test.tsx src/views/RootComposeCompactHome.test.tsx src/views/RootComposeMobileRecents.test.tsx: 44 tests pass across 3 files, including the regression.
  • pnpm exec turbo run lint typecheck --filter=@bb/app: passes (existing lint warnings, no errors).
  • pnpm exec oxfmt on both changed files and git diff --check: pass. git diff --numstat origin/main: 40 additions, 1 deletion; no binary changes.
  • This is DOM/layout-boundary verification, not a browser performance benchmark or iOS Safari smoke test.

Fixes #5419

AGENT GENERATED

@SawyerHood
SawyerHood merged commit ee0448d into main Oct 13, 2026
28 checks passed
@SawyerHood
SawyerHood deleted the slopcop/issue-5419 branch October 13, 2026 21:41
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.

Home renders the hidden mobile "Recent" list with every thread on desktop

1 participant