Skip to content

visor: move to the top of the page, drawer above the strip - #162

Merged
lannbot merged 1 commit into
mainfrom
fix/visor-top
Sep 7, 2026
Merged

visor: move to the top of the page, drawer above the strip#162
lannbot merged 1 commit into
mainfrom
fix/visor-top

Conversation

@lannbot

@lannbot lannbot commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

The visor moves from the bottom of the page to the top, and the drawer opens above the strip rather than below it.

  • Users know trusted UI at the top from browsers.
  • Visor interactions are rarer than app interactions, so the strip leaves thumb range on a handheld.
  • The strip is the line between trusted pixels and the app zone. With the drawer above it, whatever the visor opens stays on the trusted side and pushes the strip down; nothing sits between the strip and the app.

Changes: web/index.html swaps #visor and #app-zone; visor/src/ui.rs renders the drawer before the strip; visor/src/style.rs flips the two separators to border-bottom.

Verified with Playwright at 420x760: strip at y=0 closed (56px), y=70.6 with Apps open, y=0 again once an app mounts (launch closes the drawer), y=456 with Settings open over a running app. The existing e2e geometry gates (open-app, frame-violation-ends-session) compare drawer-closed states and are unaffected.

Automerge is armed.

Users know trusted UI at the top from browsers, and visor interactions
are rarer than app interactions, so the strip leaves thumb range on a
handheld. The drawer sits above the strip and pushes it down when open:
the strip is the line between trusted pixels and the app zone, and
nothing the visor opens goes on the app's side of it.
@lannbot
lannbot enabled auto-merge September 7, 2026 16:00
@lannbot
lannbot merged commit a61fa12 into main Sep 7, 2026
2 checks passed
@lannbot
lannbot deleted the fix/visor-top branch September 7, 2026 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants