Repository navigation
fix(ui): expose derived session titles accessibly - #96267
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
|
🦞🧹 I asked ClawSweeper to review this item again. |
b885bbb to
a79121d
Compare
|
Codex review: needs maintainer review before merge. Reviewed July 13, 2026, 10:53 PM ET / July 14, 2026, 02:53 UTC. Summary PR surface: Source +55, Tests +250. Total +305 across 9 files. Reproducibility: yes. at source level: without requesting and displaying derivedTitle, unlabeled chat rows fall through to scoped session keys, and the prior post-patch refresh dropped the option. The supplied exact-head real Gateway proof validates the corrected path, though current main was not rerun as a failing baseline. Review metrics: 1 noteworthy metric.
Stored data model Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Rebase or otherwise resolve the branch onto current main while retaining one canonical derived-title display path and pagination-free replacement refresh, then rerun the focused unit/browser tests and exact-head real Gateway proof before landing this as a partial fix while keeping #95601 open for the remaining rename/reopen scope. Do we have a high-confidence way to reproduce the issue? Yes at source level: without requesting and displaying derivedTitle, unlabeled chat rows fall through to scoped session keys, and the prior post-patch refresh dropped the option. The supplied exact-head real Gateway proof validates the corrected path, though current main was not rerun as a failing baseline. Is this the best way to solve the issue? Yes for the narrowed scope: the patch reuses the existing gateway-derived-title contract and shared session capability rather than creating another title store or write path. The remaining requirement is to preserve that shape while resolving current-main conflicts. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against d4ee32185cbf. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Source +55, Tests +250. Total +305 across 9 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
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. How this review workflow works
Review history (8 earlier review cycles)
|
This comment was marked as outdated.
This comment was marked as outdated.
|
🦞🧹 I asked ClawSweeper to review this item again. |
a79121d to
a7faf9d
Compare
This comment was marked as outdated.
This comment was marked as outdated.
|
🦞🧹 I asked ClawSweeper to review this item again. |
This comment was marked as outdated.
This comment was marked as outdated.
dbb3027 to
1c62296
Compare
11e69b7 to
d6173ef
Compare
Reuse the most recent sessions.list options when refreshing after sessions.patch so derived-title hydration survives normal patch flows. Add unit and browser E2E coverage for patch refreshes retaining readable sidebar titles.
d6173ef to
8db3480
Compare
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
Current-head proof has been added to the PR body.
The body now includes screenshot embeds, browser video, raw @clawsweeper review-pr |
Request and preserve gateway-derived titles across session refreshes. Expose sidebar rows through native list, link, current-route, and timestamp-description semantics. Co-authored-by: snowzlmbot <[email protected]>
|
Merged via squash.
|
What Problem This Solves
Related to #95601.
Unlabeled Control UI sessions can appear as opaque scoped keys. Sidebar rows also lacked a reliable native list/link structure and route-current context for assistive technology. This PR fixes the bounded derived-title and sidebar-accessibility slice; rename/reopen controls remain outside scope, so the broader issue should stay open.
Summary
derivedTitleenrichment for chat/sidebar session lists.derivedTitleonly after explicit labels, display names, and worktree names, before falling back to the raw key.aria-current="page"; no overriding row/linkaria-label.Compatibility / Migration
No migration.
derivedTitleis optional, and existing rows keep the prior fallback order. No persisted session data orsessions.patchpayload changes.Evidence
Prepared head:
c21c888318e414a64be2931ff93b18e95aa2fdbaHosted CI: https://github.com/openclaw/openclaw/actions/runs/29482436206
Visual + accessibility proof packet: https://gist.github.com/steipete/208e06950d0cd796c43df82a6ecce664
The proof uses synthetic session data through the repository's deterministic Control UI Gateway harness. No credentials, private hostnames, user data, or real sessions are present.
Before: raw key
The pre-fix current-sidebar baseline exposes the unnamed row as
Unread session-bwith visible raw keysession-b.Before accessibility snapshot
After: derived title + native semantics
The prepared head renders
Quarterly launch planas visible link content insidelist "Chats"/listitem. Unread state remains exposed without replacing the visible native link name.After accessibility snapshot
After
sessions.patch: title preservedPinning sends
sessions.patch, then a replacementsessions.listwithincludeDerivedTitles: true. The row moves tolist "Pinned"without losing readable text or accessible content.After-refresh accessibility snapshot
Verification
git diff --check: passed.Not Tested