Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(desktop): restore pointer cursor on space session list rows (#87156)

Adam Leithb103b96683bc
diff --git a/products/desktop/packages/ui/src/features/canvas/components/ChannelItemRow.tsx b/products/desktop/packages/ui/src/features/canvas/components/ChannelItemRow.tsx
index 6551866fbfac..48106eda5fbf 100644
--- a/products/desktop/packages/ui/src/features/canvas/components/ChannelItemRow.tsx
+++ b/products/desktop/packages/ui/src/features/canvas/components/ChannelItemRow.tsx
@@ -198,6 +198,10 @@ export function ChannelItemRowView({
const pinBadge = item.pinned && showPinBadge;
return (
<SidebarItem
+ // The space's lists follow web conventions — every clickable row shows a
+ // pointer, like the feed and activity rows — unlike the Code sidebar,
+ // which keeps SidebarItem's native cursor-default.
+ className="cursor-pointer"
depth={0}
icon={<ChannelItemDot item={item} status={status} />}
// A non-string label opts out of SidebarItem's truncation tooltip.
diff --git a/products/desktop/packages/ui/src/features/sidebar/components/SidebarItem.tsx b/products/desktop/packages/ui/src/features/sidebar/components/SidebarItem.tsx
index bf64950dc912..53f9717362bf 100644
--- a/products/desktop/packages/ui/src/features/sidebar/components/SidebarItem.tsx
+++ b/products/desktop/packages/ui/src/features/sidebar/components/SidebarItem.tsx
@@ -65,6 +65,7 @@ export function SidebarItem({
endHint,
disabled,
ref,
+ className,
...buttonProps
}: SidebarItemProps) {
const { reveal, hoverProps, focusProps } = useOverflowTickerReveal();
@@ -91,6 +92,9 @@ export function SidebarItem({
// part of a bulk selection.
"relative data-in-selection:before:absolute data-in-selection:before:inset-y-0 data-in-selection:before:left-0 data-in-selection:before:w-0.5 data-in-selection:before:bg-primary data-in-selection:before:content-['']",
isDimmed && "opacity-50",
+ // Last, so a caller can override the row's cursor-default — the
+ // spread above sits before this prop and would otherwise drop it.
+ className,
)}
data-active={isActive || undefined}
data-in-selection={isSelected || undefined}