Spaces:
Sleeping
Sleeping
Commit History
-
Mobile + large-touchscreen UX overhaul
Yuchen Yuan +1: Claude Opus 4.7 (1M context)Addresses a 15-finding audit covering viewport handling, safe areas, touch behavior, hit-target sizing, and iOS Safari quirks. Viewport + PWA chrome - viewport meta gains viewport-fit=cover + interactive-widget= resizes-content so safe-area-inset(*) applies and the iOS keyboard triggers layout reflow instead of just overlaying content. - theme-color set for light + dark via prefers-color-scheme media queries — browser chrome now blends with our surface instead of flashing white. apple-mobile-web-app-* meta + apple-touch-icon let the app feel native if added to home screen. - New /public/manifest.webmanifest registered, minimal but sufficient for installable-PWA detection. Dynamic viewport (100dvh) - App.tsx root: h-screen → 100dvh inline (with fallback). Was clipping ~80px under iOS Safari's collapsing address bar on first paint. - UploadPluginModal max-h moved from calc(100vh-2rem) to calc(100dvh-1rem) + safe-area-inset-bottom padding so the modal fits even whe…5c7eb51
-
Add mobile layout: side panes become edge-swiped drawers below 768px
Yuchen YuanOn narrow screens the three-column desktop layout squeezes the canvas to zero (left 220 + right 300 + resizers ≈ 522px min), so on a 390px phone portrait the flow graph was unusable. New behaviour below the `md` (768px) breakpoint: - useMediaQuery / useIsDesktop subscribe to `(min-width: 768px)` and re-render on viewport changes. Initial match is read synchronously so the first paint is correct. - MobileDrawer: full-height fixed panel with scrim, slides from the chosen edge. Esc closes. Body scroll locked while open. Transform-based animation so it stays cheap. - App.tsx branches: desktop keeps the existing three-column + PaneResizer story; mobile renders only <main>, with CircuitPicker and ResultsPane mounted inside two drawers. Switching to desktop auto-closes any open drawer. Running a pipeline auto-opens the results drawer on mobile (same as auto-expanding the right pane on desktop). - TopBar: accepts `mobile`, `onOpenLeftDrawer`, `o…1be2846