Skip to content

fix(ui): keep touch session links clear of row actions - #194840

Merged
vyctorbrzezowski merged 7 commits into
openclaw:mainfrom
najef1979-code:fix/session-row-touch-reserve
Nov 9, 2026
Merged

vyctorbrzezowski merged 7 commits into
openclaw:mainfrom
najef1979-code:fix/session-row-touch-reserve

Conversation

@najef1979-code

@najef1979-code najef1979-code commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Touch-mode session links extend underneath the always-visible Pin, Archive, and Menu buttons. A tap at the link's center can be intercepted by Pin instead of opening the session.

This moves the existing action-space reservation to the link margin and clears it inside the text subtree, so the space is reserved once. Titles remain readable and the buttons keep their positions, sizes, and actions. Fine-pointer behavior and the mobile menu layout are preserved. Child rows reserve the same space at rest that they already reserved on focus, keeping their text out of the visible controls.

The change is limited to two CSS rules and additional assertions in an existing touch E2E test. It does not add JavaScript, a new test suite, or a CSS budget increase.

Validation

  • Bundled Control UI E2E with the existing mock Gateway: the final touch test fails on the base at link.tap() because Pin intercepts the pointer, and passes with the correction, opening the intended session.
  • Production-renderer browser checks cover ordinary, child, catalog and roster rows, coarse/fine pointers, mobile-shell styling, keyboard focus and action buttons.
  • Inspected captures and measured geometry preserve the ordinary title's usable 72px and the action rectangles. The incoming patch's duplicate reservation reduced that title area to zero.
  • Formatting, stylelint, commit checks and independent P0–P2 review passed. Broad checks, including TypeScript, run in PR CI.
  • These are synthetic browser fixtures and mock-Gateway E2E, not a live Gateway reproduction. The wider cross-agent incident in [Bug] Control UI: selecting a session from another agent silently reverts to the previously active session; chats don't load (2026.11.1) #194768 remains unverified.

Before/After

Left: base e673256f8a93. Right: the corrected source published in df6fee698a49. Crops from the inspected production-renderer captures show the touch sidebar in light mode and the mobile-shell layout in dark mode. Button behavior is verified separately by the E2E test.

Touch sidebar — base and corrected

Mobile sidebar — base and corrected

CI qualification

Run42678019042 (attempt1, head df6fee698a49) failed only the PluginsPage unit case inventory=connected in checks-ui (1/3): it expected a rendered h1. This jsdom test mounts PluginsPage without the sidebar; its source, helpers and Vitest configuration are unchanged. The two files changed here cannot cause that missing DOM node.

All three inventory cases passed in targeted baseline-CSS and candidate-CSS replays on macOS/Node. Those replays do not reproduce the Linux/Bun CI failure, whose exact cause remains unknown. The failure is retained as unrelated CI, not reported as green. The touch-navigation regression passed with this correction and fails with baseline CSS.

…stay clickable

The touch block renders always-tappable 44x44 session-action buttons over each
row and assigns --session-row-actions-reserve to keep the row link clear of
them, but the variable was never consumed: the link hit area extended under
the buttons and clicks on the covered part of the row silently hit
Pin/Archive/Menu instead of opening the session (no error, no navigation).

Consume the variable as margin-inline-end on the row link so its hit area
ends before the actions.

Fixes openclaw#194768
@clawsweeper

clawsweeper Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added the clawsweeper:intake:bug Preliminary submission classification; full source review pending. label Nov 7, 2026
…stay clickable

The touch block renders always-tappable 44x44 session-action buttons over each
row and assigns --session-row-actions-reserve to keep the row link clear of
them, but the variable was never consumed: the link hit area extended under
the buttons and clicks on the covered part of the row silently hit
Pin/Archive/Menu instead of opening the session (no error, no navigation).

Consume the variable as margin-inline-end on the row link so its hit area
ends before the actions.

Fixes openclaw#194768
…stay clickable

The touch block renders always-tappable 44x44 session-action buttons over each
row and assigns --session-row-actions-reserve to keep the row link clear of
them, but the variable was never consumed: the link hit area extended under
the buttons and clicks on the covered part of the row silently hit
Pin/Archive/Menu instead of opening the session (no error, no navigation).

Consume the variable as margin-inline-end on the row link so its hit area
ends before the actions.

Fixes openclaw#194768
@najef1979-code

Copy link
Copy Markdown
Contributor Author

About the failing control-ui-performance check

The failure is the exhausted total-CSS-gzip headroom, not a regression from this change:

The change itself was verified at runtime against 2026.11.1: with the rule applied, a session-row click that previously never attempted navigation (blocked by the unreserved action buttons) fires the navigation intent and opens the target session (details in #194768).

If the budget needs a formal bump for this consumer rule, happy to include a baseline update — pointing me at the preferred process works too.

…onsumer

The --session-row-actions-reserve consumer rule (+52 B source gzip, +206 B raw
on the core sheet) restores the row link hit area under touch-mode action
buttons (openclaw#194768). The total-CSS-gzip headroom was already exhausted by
openclaw#193890 (approved 2026-11-06 at 325,045 B against a 325,109 B budget), so the
consumer rule cannot land without a bump.
@openclaw-barnacle openclaw-barnacle Bot added the scripts Repository scripts label Nov 8, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. labels Nov 8, 2026
@clawsweeper

clawsweeper Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge.

What this changes

This PR moves touch action spacing from session text to the session link so action buttons cannot intercept taps inside the link.

Example: Tap the link for agent:main:touch-forked with always-visible 44px touch actions.

  • Before: The link extends beneath Pin, so its center tap can hit Pin instead of navigating.
  • After: The link ends before the actions, and tapping it opens the intended session without reserving title space twice.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The focused patch resolves the earlier defects, but current-head real-behavior evidence is insufficient and the failed required UI lane remains unattributed.
Proof confidence 🧂 unranked krab (1/6) Real behavior proof is necessary before merge. See Before merge.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Tapping a touch session link can activate Pin instead of opening the conversation.
Reason: The correction restores the link's intended pointer target, preserves existing action controls, and follows explicit maintainer direction.

Merge readiness

⛔ Blocked before merge - 1 item remains

Keep open: the maintainer-owned correction addresses a concrete touch-navigation defect, and the current diff resolves both prior findings without introducing a verified new bug.

Priority: P2
Reviewed head: df6fee698a4935e20d79ac3d1982170800168c57

Before merge

  • Add real behavior proof - The current repair is supported by reported production-renderer fixtures and mock-Gateway E2E, but neither establishes the required real-Gateway result. Both current-head screenshot attachments return 404, browser fallback failed, and the readable captures show the superseded patch rather than the correction. After adding proof, update the PR body, then request a new review with @clawsweeper re-review. The PR author or someone with repository write access can request it.

Findings

None.

Tests

  • Missing end-to-end proof: Provide accessible current-head before/after captures and a built Control UI served by a real isolated Gateway showing a touch link opening its destination while titles and action buttons remain usable; redact credentials and non-public endpoints.
Agent review details

How this fits together

The Control UI renders session links and sibling action buttons in sidebar rows; shared CSS determines their visible space and pointer targets.

flowchart LR
  A[Session data] --> B[Sidebar row renderer]
  B --> C[Session link]
  B --> D[Row action buttons]
  E[Shared touch spacing] --> C
  C --> F[Session navigation]
  D --> G[Pin archive or menu]
Loading

Technical review

Best possible solution:

Land the narrow correction using the existing spacing variable once at the link boundary, while keeping the broader cross-agent navigation investigation separate.

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

Source establishes the overlapping link and action hit areas; the PR reports a base-failing, head-passing browser regression, which was read but not executed here.

Is this the best way to solve the issue?

The current diff is the smallest complete repair: move the existing reservation to the link, clear nested reservations, and extend the existing touch regression without adding another layout owner.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 6ab90a6b65a0.

Provenance checked

  • Touch action-space reservation keeps the original intent (e9dfe8a: The hover-stability work retained action-space reservations so titles and controls remain readable; the touch-menu change retained explicit 44px targets.)
  • Hybrid-pointer title reservation keeps the original intent (0cf3cad: The earlier repair reduced hover-selector specificity to avoid reserving touch action width twice; the current text-subtree reset preserves that invariant.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

PR surface

Source +1, Tests +6. Total +7 across 2 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 5 4 +1
Tests 1 7 1 +6
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 2 12 5 +7

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Label justifications:

  • P2: Touch sidebar links can target row actions instead of navigating, with a focused layout repair and limited blast radius.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rank-up moves

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

  • Restore accessible current-head captures and supply the real-Gateway touch-navigation proof described above.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (1 earlier review cycle)
  • reviewed 2026-11-08T03:37:51.955Z sha 812b385 :: needs real behavior proof before merge. :: [P1] Reuse the existing action-space reservation instead of adding another | [P2] Resolve the measured raw-CSS growth rather than leaving the gate red

Reviewed November 9, 2026, 2:14 PM ET / 19:14 UTC (Revision 2).

@vyctorbrzezowski vyctorbrzezowski self-assigned this Nov 9, 2026
@vyctorbrzezowski

vyctorbrzezowski commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

No action needed from you, @najef1979-code. We are taking over the correction and will land the intended fix.

The current patch reserves the action space twice, hiding the session titles. These captures show the base and current PR (a1f3ddc53386) in the same touch-enabled sidebar fixture.

Base

Base

Current PR

Current PR

@openclaw-barnacle openclaw-barnacle Bot removed the scripts Repository scripts label Nov 9, 2026
@vyctorbrzezowski vyctorbrzezowski changed the title fix(ui): consume --session-row-actions-reserve so touch session rows stay clickable fix(ui): keep touch session links clear of row actions Nov 9, 2026
@vyctorbrzezowski

Copy link
Copy Markdown
Member

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. labels Nov 9, 2026
@clawsweeper clawsweeper Bot added proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. and removed clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 9, 2026
@vyctorbrzezowski
vyctorbrzezowski merged commit 7c33e1d into openclaw:main Nov 9, 2026
101 of 105 checks passed
@vyctorbrzezowski

vyctorbrzezowski commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Thanks @najef1979-code for the touch-navigation fix. We corrected the title-width regression and verified navigation before merging.

Merged via explicitly authorized admin squash with attributed pre-existing CI failures.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 10, 2026
Reserve touch session action space once outside the navigation link, preserving readable titles and the existing action controls.

Extend the existing touch E2E test to cover a visible title and actual session navigation. The test fails on the base when Pin intercepts the tap and passes with the correction.

Co-authored-by: najef1979-code <[email protected]>

Co-authored-by: Vyctor H. Brzezowski <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 12, 2026
Reserve ordinary touch-row action space outside the navigation link so
readable titles and taps remain clear of sibling actions. Keep the team
roster grid as its sole action-column owner, avoiding a second reservation.

Adapt upstream 7c33e1d by excluding
team rows from the margin and covering pinned team layouts at desktop and
phone widths. Retain the upstream touch navigation and desktop regressions.

Source: #194840

Co-authored-by: najef1979-code <[email protected]>
Co-authored-by: Vyctor H. Brzezowski <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: Vincent Koc <[email protected]>
wheakerd pushed a commit to wheakerd/clawdbot that referenced this pull request Nov 13, 2026
Refresh the complete v2026.11.3..09aa644
history: 99 in-range PRs, 35 issues, and direct-commit editorial coverage.
Preserve all 62 prior contribution records and original main PR credits.
Include typed Telegram callbacks, worker-heartbeat lease renewal, and the
narrow large-store startup adaptations without claiming post-ready recovery.

Source product: 09aa644
Source tree: f10a88c
Main metadata: 3577724
Notes tooling: 514a224

Release provenance: 3768440 -> openclaw#194840, openclaw#179219, openclaw#196984, openclaw#196337
Release provenance: 00275d2 -> openclaw#194362
Release provenance: 66f0339 -> openclaw#186998
Release provenance: 915956a -> openclaw#186998

Co-authored-by: vincentkoc <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
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 P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. size: XS status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants