Skip to content

feat(ui): add consistent session information cards - #123594

Closed
vyctorbrzezowski wants to merge 3 commits into
brzezowski/sidebar-session-management-overflowfrom
brzezowski/sidebar-session-information-cards
Closed

vyctorbrzezowski wants to merge 3 commits into
brzezowski/sidebar-session-management-overflowfrom
brzezowski/sidebar-session-information-cards

Conversation

@vyctorbrzezowski

@vyctorbrzezowski vyctorbrzezowski commented Aug 14, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

A sidebar row is a name and a state dot. Everything else a session knows — which checkout it runs in, which branch, who started it, who else is watching, whether its cloud workspace is blocked — either never reached the sidebar or reached it only as a truncated subtitle. A reader wanting to tell two similarly-named sessions apart had to open both.

The row also could not tell the whole truth about itself. Its title is one clipped line, and its subtitle collapses repository, branch, and node into a single string that is itself truncated. The one place those facts could be read in full did not exist.

Two of those facts were not even reaching the browser. The sidebar's session model kept worktreeId — enough to ask another service about a checkout, not enough to name it — and dropped worktree.branch, worktree.repoRoot, and execCwd entirely, although the Gateway sends all three on every row.

Why This Change Was Made

Hovering a row now opens a session information card.

One anatomy, every row. Ordinary, native Coding, and provider-catalog sessions render through the same card, so scanning down the list reads as a single surface following the pointer rather than a different panel per section. The card leads with the complete title over up to two lines and the session's age at the top right, then a divider, then context rows.

Facts only. Each row is backed by something the Gateway reports: the creator, but only when the sidebar is showing attribution at all — a solo Gateway shows none, and the card respects that rather than re-deriving it; the full checkout path and branch, which is what makes the card a reveal rather than a repeat of the subtitle's abbreviation; who else is currently watching; draft and incognito context; pull requests; and cloud placement, where a workspace conflict or a failed placement is stated as danger while a healthy placement stays quiet context.

What it refuses to say. Unread and Active run are absent by construction: they are row state the reader is already looking at, and repeating them would spend the card's space on nothing. A session with no facts beyond its name renders a header and no body at all — an empty card is a truthful answer, and filler invented to avoid one is not.

Timing is a deliberate ask, then a fast scan. A cold row waits roughly 400ms, long enough that crossing the sidebar on the way somewhere else opens nothing. Once a card has opened, the shared skip-delay window lets adjacent rows open immediately, so comparing three sessions is one motion; when the window lapses the next row is cold again. Pin and More sit inside the same hover target rather than punching dead zones through it, and opening a row menu stands the card down at once so two surfaces never argue over the same pointer.

Owner boundaries. The session model now carries the checkout and working directory the Gateway already sends, and worktreeId is gone — one fact, one field, with its three call sites reading worktree.id. The tooltip primitive gained a per-trigger delay, a suppression flag, a placement, and skinnable padding and radius, so a card-shaped surface skins the existing primitive instead of forking it.

This PR also repairs something the layer below it dropped: with the trailing endcap rewrite, a cloud session with a filling or critical disk lost its row marker along with healthy-placement chrome. Healthy placement is context and correctly left the row; a disk about to fill is an action the operator has to take, and it now keeps its marker alongside workspace conflicts.

User Impact

  • Every session's real context is one hover away, at full length, without opening the session.
  • Two sessions with similar names are distinguishable by checkout, branch, and creator.
  • A blocked cloud workspace or failed placement reads as a problem, in the card and on the row.
  • A filling cloud disk is visible again on the row.
  • Scanning several sessions in a row is fast; crossing the sidebar incidentally is silent.
  • Nothing new to configure, and no new Gateway calls: every fact was already on the wire.

Known gap, stated rather than papered over: an automation's name is not reachable from a session row. The Gateway projects a single boolean, because the cron binding index collapses jobs to a set of session keys and discards their identity. Rather than print a generic "Automation attached" line, the card says nothing about automations. Surfacing the name needs that index to carry job identity and an additive session-row field; tracked as follow-up work.

Pinned rows are not a target of this branch. They render through the shared session-row renderer, so the card reaches them as a consequence of that shared path rather than by any pinned-specific code here.

An open menu owns the pointer. Maintainer decision of 2026-08-14: while any session menu is open, no row opens a card. The tooltip now stays closed whenever an ancestor publishes data-hover-suppressed, which the sidebar sets while a row menu is open. That is one gate in the surface that owns hover, so it covers native and catalog rows alike and closes the catalog gap raised in review without giving either renderer its own menu state.

Evidence

Content model — ui/src/components/session-row-hover-card.test.ts (9 cases)
Header carries the full title and an age; the body collapses entirely with no facts; project derives from the checkout and falls back to the working directory; the creator appears only when the caller says attribution is on screen; unread, active-run, and error state produce no rows; a workspace conflict and a failed placement are danger while a healthy one is not; a local session never enters the cloud vocabulary; draft, incognito, and pull-request rows read from real fields; a catalog session gets the same anatomy and the same empty-body behavior.

Rendered sidebar — ui/src/test-helpers/app-sidebar-cases/session-information-card.ts (5 cases)
Rows ask for the 400ms cold delay and open beside themselves; a work session's card names the checkout the row abbreviated; child rows get no card; opening a row menu suppresses the card; catalog rows carry the same card built from cwd and gitBranch.

Real browser — ui/src/e2e/session-information-card.e2e.test.ts
Under a controlled clock: nothing opens at 300ms and the card opens by 450ms; a sibling hovered inside the skip-delay window opens immediately with its own content; after the window lapses the next row is cold again. Separately: the card shows the untruncated title over two measured lines with the full project and branch rows; hovering Pin keeps the card open; opening the row menu closes it.

Regression repaired — ui/src/components/session-row-badges.test.ts covers disk warning and critical keeping the placement marker, and the placement-state table now asserts the shipped rule that placement alone stays quiet.

Static — tsgo UI and test-shard lanes, oxlint, stylelint, and the keyless i18n verify all clean. Full ui/src/components suite: 1458 passed, with 3 failures that reproduce identically on current origin/main (app-sidebar-session-catalogs timestamp and two app-sidebar-session-narration cases) and are untouched by this stack.

The spec now seeds the stored collapse set before the page loads. Coding ships collapsed on a first visit, so a fresh browser context never rendered the session in a checkout that most of these cases depend on. The dismissal case also waits on the menu's items rather than on the menu host, which owns a popover and carries no box of its own.

Visual matrix

Captured in real Chromium on a Linux proof host under OPENCLAW_CAPTURE_UI_PROOF=1, each frame clipped to the union of the row and the surface it opened.

Variant Light Dark
No facts to add — header only, no divider plain light plain dark
Session in a checkout — whole title, project, branch work light work dark
Pointer on the row's own Pin — the card survives pin hover light pin hover dark
Row menu open — the one surface that replaces the card menu light menu dark

Variants whose facts this scenario cannot produce — creator attribution, presence, draft, incognito, pull requests, and cloud placement — stay proven by ui/src/components/session-row-hover-card.test.ts rather than by a frame that would need a fixture the Gateway does not return here.

A worktree without an id took the sidebar down

Moving the row's pull-request lookup from the flat worktreeId to
worktree.id made an existing unsoundness reachable:
SessionPullRequestIndicatorsController.state compares entry?.worktreeId
against the id it was given, so an absent entry and an absent id compared equal
and the next read dereferenced the entry that was not there. The render threw,
and the whole session list disappeared — 1 row painted where 38 belonged.

The lie was in the fixtures, not the controller: SessionRowSchema requires
id, branch, and repoRoot together, and two scenarios were building a
worktree with only two of them. Both now carry the shape the Gateway actually
sends, and the sessionRow helper's option type requires all three so no later
scenario can invent a row the wire cannot produce. expandStoredSessionSections
also returned page.addInitScript's Disposable through a Promise<void>
signature, which the UI test typecheck lane rejected; it awaits now.
ui/src/e2e/session-management.sidebar.e2e.test.ts passes 11 of 11 and the
tsgo UI and UI-test-shard lanes are clean.

@clawsweeper

clawsweeper Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: XL maintainer Maintainer-authored PR labels Aug 14, 2026
@vyctorbrzezowski vyctorbrzezowski self-assigned this Aug 14, 2026
@vyctorbrzezowski vyctorbrzezowski changed the title feat(ui): add session information cards to the sidebar feat(ui): add consistent session information cards Aug 14, 2026
@vyctorbrzezowski

Copy link
Copy Markdown
Member Author

@clawsweeper review

@clawsweeper

clawsweeper Bot commented Aug 14, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 14, 2026
@clawsweeper

clawsweeper Bot commented Aug 14, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: found issues before merge. Reviewed August 15, 2026, 10:04 PM ET / August 16, 2026, 02:04 UTC.

ClawSweeper review

What this changes

This PR adds shared delayed hover cards to Control UI session rows, exposing full titles and Gateway-provided checkout context without opening the session.

Merge readiness

⚠️ Needs maintainer review before merge - 3 items remain

Keep this maintainer-authored PR open: the delayed tooltip still opens after a session menu becomes active, so the card can reappear over the menu.

Priority: P2
Reviewed head: a94576535d6cf502e54bfb2ca6fadeb1ec4a5244

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Strong visible proof and broad coverage are offset by one concrete remaining menu-suppression race.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): The PR supplies current-feature Chromium screenshots showing the card in both themes, Pin-hover persistence, and menu replacement.
Patch quality 🦐 gold shrimp (3/6) 1 actionable review finding remain.

Verification

Check Result Evidence
Real behavior Verified Sufficient (screenshot): The PR supplies current-feature Chromium screenshots showing the card in both themes, Pin-hover persistence, and menu replacement.
Evidence reviewed 5 items Delayed-open suppression is not rechecked: The timer callback invokes show() after the initial suppression check, but show() does not test either suppression source; opening a menu during the 400 ms delay therefore permits the card to reopen.
Existing test misses the transition: The suppression test starts with its ancestor already suppressed, so it does not cover suppression becoming active after scheduleOpen() has started its timer.
Current main does not already contain this feature: The checked-out current main has no session-information-card, cold-delay, or hover-suppression implementation, so this PR remains necessary once corrected.
Findings 1 actionable finding [P2] Recheck suppression when the cold timer fires
Security None None.

How this fits together

The Gateway supplies session rows to Control UI, which normalizes them into sidebar rows. The new tooltip card is rendered beside normal and catalog session rows so operators can inspect session context while scanning the sidebar.

flowchart LR
  A[Gateway session rows] --> B[Sidebar session model]
  B --> C[Normal and catalog row renderers]
  C --> D[Shared hover tooltip]
  D --> E[Session information card]
  D --> F[Session menu suppression]
  E --> G[Operator sidebar scan]
Loading

Before merge

  • Recheck suppression when the cold timer fires (P2) - scheduleOpen() only samples suppression before creating the timer; when a session menu opens during that 400 ms interval, this callback still calls show(), whose guard does not inspect suppression. The card can therefore reopen over the menu. Check suppression at the final opening boundary and add the transition regression.
  • Resolve merge risk (P1) - Merging as-is allows the delayed card to reappear while a session menu is open, leaving two competing pointer surfaces visible.
  • Complete next step (P2) - This protected, maintainer-authored PR needs its author or a maintainer to address the concrete tooltip race before another exact-head review.

Findings

  • [P2] Recheck suppression when the cold timer fires — ui/src/components/tooltip.ts:413-415
Agent review details

Security

None.

PR surface

Source +626, Tests +406. Total +1032 across 27 files.

View PR surface stats
Area Files Added Removed Net
Source 20 841 215 +626
Tests 7 415 9 +406
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 27 1256 224 +1032

Review metrics

Metric Value Why it matters
Production vs test delta production +465, tests and test support +567 The feature adds a shared UI primitive and session-card surface with substantial focused component and browser coverage.

Stored data model

Persistent data-model change detected: serialized state: ui/src/components/session-row-badges.ts, serialized state: ui/src/components/session-row-hover-card.test.ts, serialized state: ui/src/components/session-row-hover-card.ts, serialized state: ui/src/e2e/session-information-card.e2e.test.ts, serialized state: ui/src/e2e/session-management.test-support.ts, serialized state: ui/src/test-helpers/app-sidebar-cases/session-indicators.ts, and 6 more. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Close the delayed-open race (recommended)
    Recheck local and ancestor suppression in the timer’s opening path and cover the menu-opening-during-delay transition before merge.

Technical review

Best possible solution:

Make the shared tooltip reject opening whenever suppression is active at open time, then add a regression that opens a menu during the cold-delay interval.

Do we have a high-confidence way to reproduce the issue?

Yes—source reproducible: hover a row, open its session menu before the 400 ms timer fires, and the callback can still invoke show() without rechecking suppression.

Is this the best way to solve the issue?

No. The shared tooltip should enforce suppression at the final opening boundary, not only when the delay is scheduled.

Full review comments:

  • [P2] Recheck suppression when the cold timer fires — ui/src/components/tooltip.ts:413-415
    scheduleOpen() only samples suppression before creating the timer; when a session menu opens during that 400 ms interval, this callback still calls show(), whose guard does not inspect suppression. The card can therefore reopen over the menu. Check suppression at the final opening boundary and add the transition regression.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.99

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 2585edba2efd.

Labels

Label justifications:

  • P2: The defect affects a bounded but visible sidebar interaction and has a clear repair path.
  • merge-risk: 🚨 other: The merged UI can present a delayed hover card over an already-open session menu.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Sufficient (screenshot): The PR supplies current-feature Chromium screenshots showing the card in both themes, Pin-hover persistence, and menu replacement.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR supplies current-feature Chromium screenshots showing the card in both themes, Pin-hover persistence, and menu replacement.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. The PR supplies current-feature Chromium screenshots showing the card in both themes, Pin-hover persistence, and menu replacement.

Evidence

What I checked:

  • Delayed-open suppression is not rechecked: The timer callback invokes show() after the initial suppression check, but show() does not test either suppression source; opening a menu during the 400 ms delay therefore permits the card to reopen. (ui/src/components/tooltip.ts:413, a94576535d6c)
  • Existing test misses the transition: The suppression test starts with its ancestor already suppressed, so it does not cover suppression becoming active after scheduleOpen() has started its timer. (ui/src/components/tooltip.test.ts:273, a94576535d6c)
  • Current main does not already contain this feature: The checked-out current main has no session-information-card, cold-delay, or hover-suppression implementation, so this PR remains necessary once corrected. (ui/src/components/tooltip.ts:366, 2585edba2efd)
  • Current-head provenance and release check: The current head is a945765, committed 2026-08-16T01:51:18Z; no local release tag contains it. (ui/src/components/tooltip.ts:399, a94576535d6c)
  • Real UI proof supplied: The PR body includes Chromium screenshots for light and dark cards, card persistence over Pin, and menu replacement; the current proof label is sufficient. (a94576535d6c)

Likely related people:

  • vyctorbrzezowski: A repository member assigned to this PR and author of the current head; incomplete local history prevented a stronger ownership trail. (role: recent feature author; confidence: low; commits: a94576535d6c; files: ui/src/components/tooltip.ts, ui/src/components/session-row-hover-card.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Recheck suppression in the final delayed-open path and add the menu-opens-during-delay regression.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (17 earlier review cycles; latest 8 shown)
  • reviewed 2026-08-14T19:20:54.446Z sha 71f3ebd6bdbacc6e3ba2f6cc2c67faeab1ad47cc :: needs changes before merge. :: [P2] Suppress the active catalog row’s card while its menu is open
  • reviewed 2026-08-14T21:31:55.552Z sha 3464cfdb7de0cbf5f7a864560668aefb446fe421 :: found issues before merge. :: [P2] Describe the focused row control, not only the first link
  • reviewed 2026-08-14T21:45:06.296Z sha b56b2a1 :: found issues before merge. :: [P2] Describe the control that has focus | [P2] Recheck suppression when the delayed card opens
  • reviewed 2026-08-14T22:32:30.625Z sha 3b793881e6f3c539e293392f3a02242593be252e :: needs changes before merge. :: [P2] Describe the control that actually has focus | [P2] Recheck menu suppression when the card opens
  • reviewed 2026-08-15T00:42:37.670Z sha c50ed45 :: found issues before merge. :: [P2] Describe the control that actually has focus | [P2] Keep cards closed while a session menu is open
  • reviewed 2026-08-15T13:20:51.910Z sha 3cc077c :: needs changes before merge. :: [P2] Describe the control that actually has focus | [P2] Recheck suppression when the cold-open timer fires
  • reviewed 2026-08-16T01:18:52.336Z sha 8b3455942a8dd3d24cc6a1c9eee3bc1d68863d2a :: needs changes before merge. :: [P2] Describe the control that actually has focus | [P2] Suppress cards while any session menu is open
  • reviewed 2026-08-16T01:43:41.586Z sha 401de38ab49f35a6f768747cd89a366269ecf70f :: found issues before merge. :: [P2] Recheck suppression when the cold timer fires

@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/sidebar-session-information-cards branch 2 times, most recently from f8bd7e3 to 20752a2 Compare August 14, 2026 11:05
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/sidebar-session-information-cards branch 2 times, most recently from 9b71022 to 50d3646 Compare August 14, 2026 11:43
@clawsweeper clawsweeper Bot added proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. labels Aug 14, 2026
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/sidebar-session-information-cards branch from 50d3646 to 40aa1ab Compare August 14, 2026 13:17
@clawsweeper clawsweeper Bot removed proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. labels Aug 14, 2026
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/sidebar-session-information-cards branch from 40aa1ab to 810e281 Compare August 14, 2026 18:41
@vyctorbrzezowski

Copy link
Copy Markdown
Member Author

Addressed on this head, with one item held for a product decision.

Describe the focusable session links — fixed, at the tooltip rather than in the rows. The premise holds: the card's description landed on the slotted row wrapper, which carries no tabindex, while keyboard focus lands on the <a> whose aria-describedby held only the state id. ARIA descriptions are not inherited, so the card opened on focus and announced nothing — visible but silent.

The finding suggested applying the description in the row templates, which cannot be done: the description id is minted inside the component and is not knowable by the caller. The owner is the tooltip, which now resolves its description to the trigger's first focusable descendant when the trigger itself is not focusable. That fixes both row kinds and any future wrapper trigger in one place, and touches no pixel — the hidden description span already existed and stays hidden. New case in ui/src/components/tooltip.test.ts, failing against the previous head; four sidebar cases that asserted the link's description equals the state id now assert it contains it, since the card legitimately adds its own.

Suppress catalog cards when their menu opens — held for a maintainer decision, not applied. The premise holds, and catalog rows do render a card (ui/src/components/app-sidebar-session-catalog-render.ts:514-519) with no ?suppressed= binding, unlike native rows. One correction: the pure keyboard path mostly self-corrects, because the menu controller moves focus off the trigger and the card closes on focus-out. The card genuinely survives when the pointer rests on the row as the context-menu key is pressed, or when the pointer re-enters the row while the menu is open. It is left alone because it removes a surface currently drawn, and because it needs the same keyed catalog-menu state as the sibling finding on the layer below — better decided once, together.

@clawsweeper re-review

@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/sidebar-session-information-cards branch from b56b2a1 to 3b79388 Compare August 14, 2026 22:25
@clawsweeper clawsweeper Bot added proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 14, 2026
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/sidebar-session-information-cards branch from 3b79388 to c50ed45 Compare August 15, 2026 00:36
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Aug 15, 2026
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/sidebar-session-information-cards branch from c50ed45 to da62a86 Compare August 15, 2026 13:09
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/sidebar-session-information-cards branch from da62a86 to 3cc077c Compare August 15, 2026 13:13
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/sidebar-session-information-cards branch from 3cc077c to 8b34559 Compare August 16, 2026 01:12
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/sidebar-session-information-cards branch from 8b34559 to e70bc7d Compare August 16, 2026 01:22
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/sidebar-session-information-cards branch 2 times, most recently from 6b2f401 to 401de38 Compare August 16, 2026 01:38
Hovering a session row now opens a card with the context the row had to leave
out: the whole title, when the session last moved, and every fact the Gateway
actually reports about it.

- One anatomy for ordinary, pinned, Coding, and provider-catalog rows, so
  scanning down the list reads as one surface following the pointer.
- Content is facts only: creator when the list is showing attribution at all,
  the full checkout path and branch the row abbreviates, who else is watching,
  draft and incognito context, pull requests, and cloud placement — with a
  workspace conflict or a failed placement stated as danger rather than filed
  under ordinary context.
- Unread and Active run are deliberately absent; they are row state the reader
  is already looking at. A session with nothing more to say gets a header and
  no body instead of invented filler.
- The card asks for a deliberate 400ms hover, then rides the shared skip-delay
  window so scanning siblings is immediate until the reader stops. Pin and More
  stay inside the same hover target, and opening a row menu stands the card
  down at once.
- The sidebar's session model now carries the checkout and working directory
  the Gateway already sends, replacing the id-only field that could name a
  worktree but not describe it.
- The tooltip primitive gains a per-trigger delay, a suppression flag, a
  placement, and skinnable padding and radius, so a card-shaped surface no
  longer has to fork the label-shaped one.

An automation's name is still not reachable from a session row - the Gateway
projects only a boolean - so the card says nothing about automations rather
than printing a generic line. Naming them needs the cron binding index to carry
job identity; tracked as follow-up work.
Extracting sessionPresenceViewers dropped the excludeUserId filter, so the
chat header would count the session owner it already renders as another
watcher. Requiring every worktree field also left the typography fixtures
short an id.
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/sidebar-session-information-cards branch from 401de38 to a945765 Compare August 16, 2026 01:59
@vyctorbrzezowski

Copy link
Copy Markdown
Member Author

Closing this stacked chain: the sidebar work is being rebuilt as independent PRs against main, one per design thesis, using the final tree of this stack as the source. Keeping a 21-deep linear chain mergeable stopped paying for itself; the standalone theses will land in small waves instead.

@RomneyDa
RomneyDa deleted the brzezowski/sidebar-session-information-cards branch October 22, 2026 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui maintainer Maintainer-authored PR merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: XL status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant