Repository navigation
Conversation
Thread transfer impact
This comment will update automatically after the next completed run. |
Thread cards in the sidebar take three lines (project, title, branch and meta), so only a handful fit on screen. Settings → Appearance → Compact sidebar folds the project label into the meta line: the title moves up next to the favicon and status, and cards shrink from 82px to 54px without dropping any information. Draft rows follow the same density. The drag projection learns the compact card height for rows it cannot measure, so dropping a settled thread into an empty Active section opens the right gap.
Compact density also rounds every row surface in the thread list (cards, slim rows, drafts, search results, drop placeholders, Show more) at 4px instead of the 8px rounded-md. Comfortable density is unchanged.
mneuhaus
force-pushed
the
marc/compact-sidebar
branch
from
October 2, 2026 21:28
ab8a6ef to
39b6068
Compare
This branch has not been deployed
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.
Sidebar thread cards take three lines (project, title, branch/meta) and 82px each, so only about nine threads fit on a laptop-height screen.
What changed
Settings → Appearance → Compact sidebar (off by default) switches cards to two lines:
Nothing is dropped; the project label just moves down beside the branch. Cards shrink from 82px to 54px (content box 3.125rem + the existing 0.25rem padding), so about 50% more threads fit. Draft rows follow the same density. Slim settled/snoozed rows are unchanged.
Compact mode also tightens the corners of every row surface in the thread list (cards, slim rows, drafts, search results, drop placeholders, "Show more") from 8px (
rounded-md) to 4px (rounded-[.25rem], already used elsewhere in the repo).sidebarThreadDensity: "comfortable" | "compact". It deliberately does not reuse the keys of the compact mode upstream removed in revert(web): remove the compact sidebar pingdotgg/t3code#11685 (compactSidebarEnabled,sidebarCompactThreadRows). Those are still dropped on decode.compactCards, so a settled thread dropped into an empty Active section opens a 54px gap instead of 82px.Not applicable: the legacy sidebar (own rows) and mobile (no sidebar).
Validation
vp test runforsettings.test.ts,Sidebar.drag.test.ts,Sidebar.logic.test.ts,Sidebar.motion.test.ts,settingsSearch.test.ts,DesktopClientSettings.test.ts: 453/453. The new drag test fails without the change.tsc --noEmitclean in contracts, web and desktop. Lint shows 26 warnings onSidebar.tsxbefore and after, 0 errors. Formatting clean.Model: Claude Opus 5.5 in Claude Code (via T3 Code).
Rebased onto the new orchestrator (2026-10-02)
Rebased onto upstream
main8bc40b4, which includes pingdotgg#2829.Sidebar.tsx: the restructured card is kept. Upstream's three card changes are ported to both layouts:latestRunDiff, no monitoring status icon, andSidebarProviderStackfor the provider icons. The new Working section renders cards, so it gets the compact layout, the compact drag height and the 4px corners too.SettingsPanels.tsx: both new settings stay in the reset dependencies.🤖 Generated with Claude Code