Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apps/web/src/components/sidebar/SidebarThreadRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1264,16 +1264,17 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP
</span>
) : null;
const diff = latestRunDiff(thread);
// Only the trailing icons would remain, so the row moves them to the title line instead.
// Card rows move the trailing icons to the title line when only they would remain.
const metaLineEmpty =
variant !== "folder-multiline" &&
Comment thread
shivamhwp marked this conversation as resolved.
Resolved
!checkoutThread.branch &&
!showsScratchMachine &&
prBadge === null &&
issueBadge === null &&
diff === null &&
runningTerminalIds.length === 0;
const metaLine = metaLineEmpty ? null : (
<div className="mt-0.5 flex min-w-0 items-center gap-1.5 text-secondary-label text-xs">
<div className="mt-0.5 flex min-h-4 min-w-0 items-center gap-1.5 text-secondary-label text-xs">
{checkoutThread.branch ? (
<>
<ThreadWorktreeIndicator thread={checkoutThread} />
Expand Down Expand Up @@ -1383,7 +1384,6 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP
)}
{draftIndicator}
{title}
{multiline ? titleLineIcons : null}
{pinIndicator}
{multiline ? null : terminalStatusIcon}
{multiline ? null : issueBadge}
Expand Down
Loading