Skip to content

fix(ui): remove resting last-active age from sidebar rows - #110524

Merged
steipete merged 1 commit into
mainfrom
claude/quiet-session-row-meta
Jul 18, 2026
Merged

steipete merged 1 commit into
mainfrom
claude/quiet-session-row-meta

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Every sidebar session row carried a relative-age trail ("57d"). The list is already sorted by recency, so the age mostly restates row position — per-row chrome that makes the sidebar busier without adding scannable information. Part of the ongoing sidebar quieting (#110448/#110459/#110470).

Why This Change Was Made

Maintainer decision: resting rows should be just the title; time only matters when it is live (a running child's elapsed time) or explicitly requested (the row's "..." menu).

User Impact

  • Session rows (zones and native catalogs) no longer show the relative age; a resting row is just its title plus status indicators.
  • Live time is untouched: running/finished child rows keep their elapsed/runtime trail.
  • The age is still available on demand: the row tooltip keeps title · age, and the "..." context menu now opens with a muted "Last active 57d" info line (both the regular session menu and the catalog session menu; batch selections omit it since there is no single timestamp).
  • One new i18n key sessionsView.lastActive (English source only; locale bundles are bot-generated).
Rows (no age) Child runtime kept "..." menu with last-active
rows children menu

Evidence

  • node scripts/run-vitest.mjs ui/src/components/app-sidebar.test.ts — 107 pass (rerun after rebase); session-menu.test.ts 24 pass; catalog-session-menu.test.ts 4 pass.
  • Live-verified in the Control UI mock harness (screenshots above).
  • aria-describedby now only references trails that exist (no dangling idrefs); keyless i18n baseline run, no baseline drift.
  • Codex autoreview (gpt-5.6-sol) clean: no accepted/actionable findings.

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: S maintainer Maintainer-authored PR labels Jul 18, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b04ff7535b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@@ -393,7 +392,6 @@ function renderCatalogSessionRow(
class="sidebar-recent-session__link"
title=${`${label} · ${host.label}`}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve catalog row age in the tooltip

For non-adopted native catalog rows, this change removes both the visible .session-row-trail and the aria-describedby link that exposed meta, but the remaining anchor title still only renders ${label} · ${host.label}. In that catalog-row hover path, last-active is no longer available from the row at all (unlike regular sidebar rows, which keep label · age in the title); include meta in the title or keep an accessible description when removing the trail.

Useful? React with 👍 / 👎.

@steipete
steipete merged commit 3abd321 into main Jul 18, 2026
113 of 117 checks passed
@steipete
steipete deleted the claude/quiet-session-row-meta branch July 18, 2026 07:32
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

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 size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant