Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

chore(agents): remove tooltips from agent session list rows (#6918)

Wolf Mermelsteinf4f8e64efef2
diff --git a/apps/web/src/features/agents-view/components/AgentSessionRow.tsx b/apps/web/src/features/agents-view/components/AgentSessionRow.tsx
index f11ae77d43..0fb7a79d85 100644
--- a/apps/web/src/features/agents-view/components/AgentSessionRow.tsx
+++ b/apps/web/src/features/agents-view/components/AgentSessionRow.tsx
@@ -1,5 +1,5 @@
import { ViewSidebar } from '@app/components/view-shell';
-import { cn, pressHandlers, Tooltip } from '@ui';
+import { cn, pressHandlers } from '@ui';
import { children, type JSX, Show } from 'solid-js';
import {
type ConversationState,
@@ -15,7 +15,6 @@ export function AgentSessionRow(props: {
leading: JSX.Element;
trailing?: JSX.Element;
timestamp: string;
- detailsLabel?: string;
unread?: boolean;
active?: boolean;
children?: JSX.Element;
@@ -35,32 +34,19 @@ export function AgentSessionRow(props: {
data-kind={props.kind}
data-session-state={props.state}
>
- <Tooltip
- label={[
- props.title,
+ <button
+ type="button"
+ class="absolute inset-0 rounded-lg outline-none focus-visible:outline-2 focus-visible:outline-accent"
+ aria-label={props.title}
+ aria-description={[
conversationStateLabel(props.state),
props.unread ? 'Unread' : undefined,
- props.detailsLabel,
]
.filter(Boolean)
.join(' · ')}
- class="absolute inset-0"
- placement="right"
- >
- <button
- type="button"
- class="absolute inset-0 rounded-lg outline-none focus-visible:outline-2 focus-visible:outline-accent"
- aria-label={props.title}
- aria-description={[
- conversationStateLabel(props.state),
- props.unread ? 'Unread' : undefined,
- ]
- .filter(Boolean)
- .join(' · ')}
- aria-current={props.active ? 'page' : undefined}
- {...pressHandlers((event) => props.onOpen?.(event))}
- />
- </Tooltip>
+ aria-current={props.active ? 'page' : undefined}
+ {...pressHandlers((event) => props.onOpen?.(event))}
+ />
<ViewSidebar.Icon class="pointer-events-none relative text-ink-muted">
{props.leading}
</ViewSidebar.Icon>
diff --git a/apps/web/src/features/agents-view/views/AgentSessionListItem.tsx b/apps/web/src/features/agents-view/views/AgentSessionListItem.tsx
index 4f30851c51..b07f73d695 100644
--- a/apps/web/src/features/agents-view/views/AgentSessionListItem.tsx
+++ b/apps/web/src/features/agents-view/views/AgentSessionListItem.tsx
@@ -70,9 +70,6 @@ export function AgentSessionListItem(props: Props) {
unread={props.unread}
onOpen={props.onOpen}
timestamp={compactAge(conversationTimestamp(props.entity))}
- detailsLabel={[details()?.repository, details()?.branch]
- .filter(Boolean)
- .join(' · ')}
leading={
<Show
when={props.surface === 'home'}
diff --git a/docs/AGENT_GUIDE/surfaces.md b/docs/AGENT_GUIDE/surfaces.md
index 99ffb4a3cc..8b3e88159a 100644
--- a/docs/AGENT_GUIDE/surfaces.md
+++ b/docs/AGENT_GUIDE/surfaces.md
@@ -155,8 +155,8 @@ colors; unknown foreign sources use the generic file icon.
New agent-session rows always use a sparkle in the left slot, including while
working. A coding session adds a second line with repository, captured working
branch (when available), and PR number/status. Non-coding sessions stay on one
-line. Their timestamps and unread dots stay visible; hovering reveals the full
-title, activity, and repository/branch. Missing repository metadata is omitted.
+line. Their timestamps and unread dots stay visible. Missing repository metadata
+is omitted.
The Agents workspace uses a single left dot for activity and unread state in
place of the sparkle. Opening a loaded session from Home or Agents marks its
notifications read after the viewing delay, including notifications arriving