feat(web): sidebar drafts, collapsible groups, and 14px card marks - #40
Conversation
Show unpromoted drafts as cards (title from typed prompt), let project groups collapse, and keep the working rain/status slot at 14px without text-xs forcing a 16px title line. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
Prettier splits the render flatMap across lines; the single-line needle failed CI-bound local runs. Co-authored-by: Cursor <cursoragent@cursor.com>
Fork lint fails the PR on unicorn no-array-reverse / no-useless-spread in the discard-draft above-neighbor path. Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
Thermo-nuclear code quality review — do not approve.
Custom projection for draft shells (sidebarV2DraftRows.ts) and collapse helpers are in the right layer and tested; the 14px mark work is contained. The approval bar fails on structure in SidebarV2.tsx (already ~3.2k → ~3.5k):
- Draft identity is still a
Map/booleanprobe bolted into navigate, rename, settle, snooze, context menu, render props, and discard — not a row kind / adapter that would delete those branches. - Discard reimplements adjacency + draft-aware routing beside
planForwardNavigation. - Collapse membership is computed twice.
- Manifest metrics contradict the code (56/79 vs 54/77).
Inline comments ordered by structural priority. Fix the draft model first; the discard planner and trailing-cell branching largely fall out of that.
Sent by Cursor Automation: Thermo-nuclear PR review
overflow-hidden on the title line was left over from the rain height fix and cut the 24px action hover fill into a short bar. Co-authored-by: Cursor <cursoragent@cursor.com>
Review — aggressive passRead the full diff against I could not run the suite (no 1.
|
Follow-up review —
|
Fork fence comments inside the named import were scraped as bindings by phosphorIcons.test.ts, failing CI. Match the Globe2Icon pattern. Co-authored-by: Cursor <cursoragent@cursor.com>
Carry collapsed on visible sections, compute hover actions once, share discard navigation via pickDiscardNeighborKey + navigateToThread, derive draft capabilities at the list boundary, and correct 54/77 manifest hints. Co-authored-by: Cursor <cursoragent@cursor.com>
Code review —
|
Typecheck failed on use-before-declare and exactOptionalPropertyTypes for replace: undefined. Guard expectation matches the single-line binding. Co-authored-by: Cursor <cursoragent@cursor.com>


Summary
/draft/$idbefore clearing so it cannot race into a fresh drafttext-xson card titles so--text-xs--line-height: 1remno longer grows the row to 16px; branch/worktree/runtime marks at 14px with runtime flush to the trailing action axisTest plan
Made with Cursor