rememberIssueDetailLocationState(issuePathId, detailState)}
className={cn(
// Overlay Link keeps ONLY positioning + focus ring so header controls
// stay clickable above it; visual washes belong on the root above.
"absolute inset-0 rounded-lg no-underline text-inherit focus-visible:z-10 focus-visible:outline-none focus-visible:ring-(length:--rad-3) focus-visible:ring-ring",
)}
>
Open {identifier}: {issue.title}
{mobileLeading ?? }
{productivityReviewIndicator}
{parkedBlockerIndicator}
{issue.title}{titleSuffix}
{recoveryIndicator}
{checklistDependencyChips ? (
{checklistDependencyChips}
) : null}
{showUnreadSlot ? (
// Reserved leftmost dot gutter (desktop). Present on read and unread
// rows so the mark-read dot lives to the LEFT of any leading control
// (a parent's collapse caret, a tree guide) without indenting the row
// relative to its siblings, and aligns with the non-issue inbox rows
// that reserve the same w-4 slot.
{showUnreadDot ? unreadDotButton : null}
) : null}
{treeGuides > 0
? Array.from({ length: treeGuides }, (_, level) => {
// The innermost guide lands on THIS row's own chevron column; if
// the row has a chevron, break the line around it so it isn't
// crossed out.
const gapForChevron = chevronInGuide && level === treeGuides - 1;
return (
// Tree guide: occupies the same flex slot as the parent's
// chevron column so the line lands under the parent's status
// column; stretched past the row padding so consecutive rows
// read as one continuous line.
{/* The connector drops from under the ancestor's STATUS icon,
not its chevron: the status column sits one level (w-4 slot
+ gap-2 = 2rem) right of this guide slot's left edge.
bg-background underlay: dark-mode --border is translucent,
so overlapping row segments would stack brighter without
an opaque base. */}
{gapForChevron ? (
// Two border segments centering a 14px (h-3.5) transparent
// gap for the row's own chevron.
) : (
)}
);
})
: null}
{desktopLeadingSpacer ? (
) : null}
{desktopMetaLeading ?? (
<>
{productivityReviewIndicator}
{checklistStep}
{identifier}
{parkedBlockerIndicator}
>
)}
{mobileMeta ? (
<>
·
{mobileMeta}
>
) : null}
{(onArchive || desktopTrailing || trailingMeta || externalObjectSummary) ? (
{onArchive ? (
) : null}
{externalObjectSummary ? (
) : null}
{desktopTrailing}
{trailingMeta ? (
{trailingMeta}
) : null}
) : null}
{showUnreadDot ? (
// Inbox rows reserve a mobile gutter on both read and unread rows. The
// full control stays inside overflow-clipping row containers while its
// absolute position avoids shifting or covering the leading control.
{unreadDotButton}
) : null}