Skip to content

Commit 8131f56

Browse files
authored
fix(ui): show progress cards on session links (#125733)
1 parent 77326c5 commit 8131f56

20 files changed

Lines changed: 690 additions & 2289 deletions

‎docs/tools/progress-card.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ The current chat shows exactly one live card:
8888
- When the session rail is visible, the card appears in the rail.
8989
- At narrow widths where the rail is hidden, the card appears in the collapsible surface beside the composer.
9090

91-
The two placements are mutually exclusive. Other sessions can show their latest card in the sidebar hovercard. All placements read the same Gateway-backed state and refresh after `progressCard.changed` notifications.
91+
The two placements are mutually exclusive. In chat content, hover a session-reference link to see that referenced session's latest card. Sidebar rows intentionally have no hover surface. All card placements read the same Gateway-backed state and refresh after `progressCard.changed` notifications.
9292

9393
## Pin the card to the dashboard
9494

‎ui/src/app/app-root.ts‎

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -364,18 +364,17 @@ export class OpenClawApp extends OpenClawLightDomElement {
364364
return html`
365365
<openclaw-tooltip-provider>
366366
<openclaw-github-link-hovercard-provider .client=${gatewaySnapshot.client}>
367-
<openclaw-session-link-hovercard-provider
367+
<openclaw-session-progress-hovercard-provider
368368
.client=${gatewaySnapshot.client}
369369
.context=${context}
370+
.gateway=${context.gateway}
370371
>
371-
<openclaw-session-progress-hovercard-provider .gateway=${context.gateway}>
372-
${gatewayUrlConfirmation}
373-
<openclaw-app-shell
374-
.runtime=${runtime}
375-
.onboarding=${this.onboarding}
376-
></openclaw-app-shell>
377-
</openclaw-session-progress-hovercard-provider>
378-
</openclaw-session-link-hovercard-provider>
372+
${gatewayUrlConfirmation}
373+
<openclaw-app-shell
374+
.runtime=${runtime}
375+
.onboarding=${this.onboarding}
376+
></openclaw-app-shell>
377+
</openclaw-session-progress-hovercard-provider>
379378
</openclaw-github-link-hovercard-provider>
380379
</openclaw-tooltip-provider>
381380
`;

‎ui/src/components/session-hovercard.test.ts‎

Lines changed: 0 additions & 156 deletions
This file was deleted.

‎ui/src/components/session-hovercard.ts‎

Lines changed: 0 additions & 174 deletions
This file was deleted.

0 commit comments

Comments
 (0)