Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Sidebar thread rows editor always previews 3-line cards and does not reflect or explain Boring sidebar folder row folding #49782

OpenAndyZHENG0715(GitHub profile, opens in a new tab) opened this issue 0 comments
AndyZHENG0715(GitHub profile, opens in a new tab)commented

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. Enable Settings → Labs → Boring sidebar (group by project) (and Two-line folder rows).
  2. Open Settings → Appearance → Sidebar thread rows → Customize.
  3. Keep or edit a 3-line layout (e.g., Top: Project icon, Project name, Branch and worktree, Spacer, Time and status; Middle: Thread title; Bottom: Environment, Spacer, ..., Provider; Row height: Same height) and click Done.
  4. Compare the dialog's preview with the actual thread rows rendered under project folders in the sidebar.

Expected behavior

When Boring sidebar (group by project) is active, either:

  • the Sidebar thread rows dialog previews the active folder-row variant (so the preview matches what the sidebar actually renders), or
  • the dialog clearly notes that project-grouped folder rows draw the title/time themselves and merge all other lines into a single line under the title (ignoring project icon/name placement and 3-line card stacking).

Actual behavior

The Sidebar thread rows preview always renders 3-line card rows, while the actual sidebar renders 2-line folder rows with the title moved to line 1 and the remaining top + bottom items merged onto line 2. Because the dialog gives no indication of this difference, the customization looks broken or ignored until Boring sidebar is turned off.

Relevant code (main @ 3416f10248):

  • apps/web/src/components/settings/SidebarRowLayoutRow.tsx:785 hardcodes variant="card" for the preview rows, and the dialog description (SidebarRowLayoutRow.tsx:132, 159) does not mention folder-row folding.
  • apps/web/src/components/sidebar/SidebarThreadRow.tsx:1662-1686 checks inFolderVariant ("folder" | "folder-multiline"), drops projectIcon, projectName, title, and time, and flattens all non-title lines into bottom.

(Note: the stray-spacer side effect when top and bottom lines are merged in folder rows is tracked separately by open PR #46102; this issue is specifically about the editor preview/UX mismatch.)

Impact

Minor bug or occasional failure

Version or commit

T3 Code 0.1.15-nightly.20261206.5799 (also verified on main @ 3416f10248)

Environment

macOS (Apple Silicon), T3 Code 0.1.15-nightly.20261206.5799 desktop app, English UI

Logs or stack traces

Screenshots, recordings, or supporting files

Actual sidebar (Boring sidebar + Two-line folder rows):

Actual sidebar with Boring sidebar and Two-line folder rows

Sidebar thread rows editor dialog:

Sidebar thread rows editor dialog

Workaround

Turn off Settings → Labs → "Boring sidebar (group by project)" to get the 3-line card layout shown in the editor preview.

  1. AndyZHENG0715(GitHub profile, opens in a new tab) added labelsneeds-triage

Sign in to join this conversation.