Repository navigation
Keep compact Home content out of the desktop layout - #5420
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚨 SLOP COP 🚨 ·
new-issue-autopilotHuman comments
What was wrong
RootComposeSecondaryContentmountedcompactScrollContentin 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
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.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 oxfmton both changed files andgit diff --check: pass.git diff --numstat origin/main: 40 additions, 1 deletion; no binary changes.Fixes #5419