Repository navigation
Conversation
Active, pinned and working rows drop to a single line: status icon (or project favicon), title, and elapsed time. Project, branch, PR, diff and model stay in the hover card. The classic design keeps the three-line card. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Empty Active and Pins targets fell back to the 82px card height while dragging. One-line rows also drop the Settle label to keep the title visible. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
closing at @StiensWout's request under Establish the problem and scope first. Reworks the default New-design sidebar into one-line rows, removes diff counts from the sidebar, and changes hover action presentation without prior Ideas approval. This intentionally changes the shipped presentation and information hierarchy rather than configuring it. Agree on the compact sidebar direction and scope with maintainers in Ideas and link the approval; draft status does not postpone the requirement. thanks for trying to help improve t3 code. if you think this closure was a mistake, please open a fresh pr addressing the requirement above, and link back to this one. |
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.
The sidebar shows a lot more per thread than ChatGPT or Claude do. Each active, pinned or working row is a three-line card: project name and status, title, then branch, PR, diff and provider. You can only fit about half as many threads on screen, and it's hard to scan for the thing you actually care about (which thread needs me?).
This is a proposal, opened without a prior Ideas discussion, so happy for it to be closed or reworked if you'd rather go another way.
What changed
With the New design on (the default), card rows render as one line, matching the shelf rows:
Project, machine, branch, model, handoffs, terminals, errors and PRs are still in the hover card. The +/− diff count is the one thing no longer shown in the sidebar. Unsent draft rows get the same one-line layout. The classic design is unchanged, and I removed the
redesign:classes from the classic card path since it now only renders with the New design off.The drag projection also assumed 82px cards when an empty Active or Pins target had nothing to measure, so dragging a settled thread into an empty section reserved an oversized slot. It now uses the slim height when cards are compact (
compactCards), with a regression test inSidebar.drag.test.ts.Before / after
Same 13 threads, every row state. Statuses and titles were forced locally for the capture through a throwaway patch that isn't in this PR.
Hover keeps the controls and the details card:
Verification
vp run check:changed: format, lint, knip and typecheck passvp test run apps/web/src/components/Sidebar.drag.test.ts: 43 pass, including the new compact-card test (fails on main's 82px fallback, expects 36)vp run devon a migrated copy of real data, dark mode, at 1280px: one-line rows, hover controls, hover card, draft row, Woke dismiss buttonSubagent threads still have no sidebar row and still highlight their parent, since that logic in
Sidebar.logic.tsis unchanged.🤖 Generated with Claude Code (Claude Opus 5.5)