Skip to content

Make every screen mobile-responsive (<768px)#67

Open
xBalbinus wants to merge 1 commit into
mainfrom
fix/mobile-responsiveness
Open

Make every screen mobile-responsive (<768px)#67
xBalbinus wants to merge 1 commit into
mainfrom
fix/mobile-responsiveness

Conversation

@xBalbinus

Copy link
Copy Markdown

What

Full mobile pass over the Valet client: rendered every route at 375px, cataloged glitches, fixed them, and looped until each screen had zero horizontal overflow and looked right. 34 client files, surgical additive Tailwind only (no logic changes).

Highlights

  • Shared primitives (cascade to every modal): dialog / alert-dialog / model-selector get a 16px viewport gutter (w-[calc(100%-2rem)]) + dvh max-height; toast viewport uses dvh and its close button is tappable on touch.
  • Tablesoverflow-x-auto + min-w so they scroll instead of clipping (sessions, executions, admin users/invites/repos/plugins, settings identity/notifications, persona tools, action policies).
  • Filter-pill rows wrap instead of clipping (sessions, executions, triggers).
  • Split-pane views stack on mobile (workflow-detail Runs, review-drawer); the in-chat orchestrator thread sidebar is desktop-only.
  • Grids collapse to one column with min-w-0 (dashboard, usage By-User/By-Model, admin & github-config forms).
  • Touch targets bumped; hover-only affordances (code Copy, step Edit, toast dismiss, collaborator names) revealed on touch.
  • Markdown tables + code blocks scroll within the chat column.
  • Fixed a subtle bug: sr-only action labels were escaping the session-table scroll wrapper (it was static) and silently scrolling the whole document — made the wrapper relative.

Verification

  • All 18 routes verified at 375px → 0 horizontal overflow (document + main level).
  • Spot-checked dashboard, sessions list, session chat (bubbles/code/table/tool-cards), automation executions, workflow detail, settings/admin, settings/usage, and the Create Session dialog.
  • Client build (tsc --noEmit + vite build) passes.

Notes

  • Pure CSS/className changes — no behavior changes, no new deps.
  • Verified against a local seeded stack at mobile viewport.

Sweep of all routes at 375px with surgical, additive Tailwind fixes:

- Shared primitives: dialog/alert-dialog/model-selector get a viewport
  gutter (w-[calc(100%-2rem)]) + dvh max-height; toast viewport uses dvh
  and its close button is tappable on touch.
- Tables wrapped in overflow-x-auto + min-w so they scroll instead of
  clipping (sessions, executions, admin users/invites/repos/plugins,
  settings identity/notifications, persona tools, action policies).
- Filter-pill rows wrap instead of clipping (sessions, executions, triggers).
- Split-pane views stack on mobile (workflow-detail Runs, review-drawer);
  the in-chat orchestrator thread sidebar is desktop-only.
- Grids collapse to one column with min-w-0 (dashboard recent-sessions/
  top-repos, usage by-user/by-model, admin/github-config forms).
- Banners/form rows stack; markdown tables and code blocks scroll within
  the chat column.
- Touch targets bumped and hover-only affordances (Copy, step Edit, toast
  dismiss) revealed on touch.
- Fix sr-only action labels escaping the session-table scroll wrapper
  (made the wrapper relative) which silently scrolled the document.

All routes verified at 375px with zero horizontal overflow; client build
(tsc --noEmit + vite) passes.
@xBalbinus xBalbinus requested a review from a team June 27, 2026 15:55
@github-actions

Copy link
Copy Markdown

Preview deployment: https://pr-67.dev-valet-turnkey-client.pages.dev

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.

1 participant