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): show full sidebar status on hover (#103316)

Paul D'Ambra4d117113e88b
diff --git a/products/desktop/packages/ui/src/features/canvas/components/ActivityRow.test.tsx b/products/desktop/packages/ui/src/features/canvas/components/ActivityRow.test.tsx
index a6ff2ecc743a..1a3c43dd2056 100644
--- a/products/desktop/packages/ui/src/features/canvas/components/ActivityRow.test.tsx
+++ b/products/desktop/packages/ui/src/features/canvas/components/ActivityRow.test.tsx
@@ -129,6 +129,25 @@ describe("ActivityRow", () => {
expect(screen.queryByTitle("New activity")).not.toBeInTheDocument();
});
+ it("shows the full waiting status and space in a tooltip", () => {
+ render(
+ <ActivityRow
+ menu={taskMenu()}
+ item={item({ activityKind: "awaiting_input", channelName: "personal" })}
+ onMarkRead={vi.fn()}
+ onActivate={vi.fn()}
+ blockedTaskIds={new Set(["task-1"])}
+ compact
+ />,
+ );
+
+ expect(
+ screen.getByTitle(
+ "just now · Agent is waiting for your reply in Personal",
+ ),
+ ).toBeInTheDocument();
+ });
+
it.each([
{ label: "unread", isUnread: true, laneClass: "pr-14" },
{ label: "read", isUnread: false, laneClass: "pr-8" },
diff --git a/products/desktop/packages/ui/src/features/canvas/components/ActivityRow.tsx b/products/desktop/packages/ui/src/features/canvas/components/ActivityRow.tsx
index 2bc60be2e065..bddd7e522eca 100644
--- a/products/desktop/packages/ui/src/features/canvas/components/ActivityRow.tsx
+++ b/products/desktop/packages/ui/src/features/canvas/components/ActivityRow.tsx
@@ -169,7 +169,14 @@ export function ActivityRow({
{item.isUnread && !compact && <Badge variant="info">New</Badge>}
</span>
<span className="flex min-w-0 items-center gap-1 text-muted-foreground text-xxs">
- <span className="truncate">{presentation.metadata}</span>
+ <span
+ className="truncate"
+ title={[presentation.metadata, presentation.spaceLabel]
+ .filter(Boolean)
+ .join(" ")}
+ >
+ {presentation.metadata}
+ </span>
{presentation.spaceLabel && (
<Badge
variant="default"