Skip to content

fix(ui): toasts sit too low outside session pages - #192769

Merged
vyctorbrzezowski merged 1 commit into
mainfrom
fix/top-center-toast-page-offset
Nov 4, 2026
Merged

vyctorbrzezowski merged 1 commit into
mainfrom
fix/top-center-toast-page-offset

Conversation

@roboclaw-bot

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Top-center toasts reserve session-toolbar space on the new-session page, placing notifications unnecessarily low. The shared chat-like layout class also applies outside session routes.

User Impact

Toasts appear near the top on non-session pages. Session-page placement and safe-area handling are preserved. The shared top-offset owner serves both toast lanes, so top-right arrivals also lose unnecessary toolbar clearance outside sessions.

Why This Change Was Made

Use the existing authoritative session-route flag to mark the shell, and scope the desktop/mobile toolbar offsets to that marker instead of the broader chat-layout class. Update the modal fixture and add a source-server regression covering session-to-new-session navigation at mobile and desktop widths.

Evidence

  • Baseline route E2E reproduced excess placement: 72px mobile and 60px desktop, rather than 20px plus safe-area inset.
  • Fixed route E2E: 2 passed at 390px and 1200px.
  • Existing toast browser suite: 12 passed.
  • Final UI typecheck, scoped type-aware lint, CSS stylelint, formatting, and diff whitespace checks passed.
  • Independent read-only review found no correctness findings.
  • Synthetic before/after screenshots were inspected and shared in the originating conversation. They have not been embedded in this PR; visual evidence remains available in that conversation.

Requested by Vyctor Brzezowski. The requester is handling CI and landing externally.

@clawsweeper

clawsweeper Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@vyctorbrzezowski
vyctorbrzezowski merged commit 53b1b40 into main Nov 4, 2026
76 of 83 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the fix/top-center-toast-page-offset branch November 4, 2026 11:59
TheAngryPit added a commit to TheAngryPit/openclaw that referenced this pull request Nov 4, 2026
Follow upstream 53b1b40 (PR openclaw#192769): session fixtures must emit the session-only shell class used by the real producer, and the toast private-server entry must retain the canonical lexical inventory order. Keep membership, geometry assertions and budgets unchanged.
steipete added a commit that referenced this pull request Nov 4, 2026
Keep distinct route, ordering, trigger, publication, custody, and fixture-lifecycle contracts from #192769, #192540, #192250, #192812, #191643, #192584, #192588, and #192083. Raise only the scalar by the exact measured inherited deficit; production and test LOC remain unchanged.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 5, 2026
fix(ui): toasts sit too low outside session pages

Co-authored-by: vyctorbrzezowski <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 5, 2026
Keep distinct route, ordering, trigger, publication, custody, and fixture-lifecycle contracts from openclaw#192769, openclaw#192540, openclaw#192250, openclaw#192812, openclaw#191643, openclaw#192584, openclaw#192588, and openclaw#192083. Raise only the scalar by the exact measured inherited deficit; production and test LOC remain unchanged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants