Skip to content

Route Audit Matrix & Responsive State Model ​

Feature: 034-mobile-responsive-auditDate: 2026-11-26 Spec: spec.md

Because this feature makes no backend or database schema changes, the domain model for this audit consists of the Viewport Tier Matrix, 26-Route Audit Inventory, and Interactive Mobile Component States.


1. Viewport Tiers ​

TierDimensionsPurposeOverflow Policy
Compact Phone (Short)375 × 667Dialog, sticky footer, and nested date-picker vertical fitscrollWidth <= 375
Compact Phone (Tall)375 × 812Minimum primary full-page target width (graceful down to 360 px)scrollWidth <= 375
Standard Phone390 × 844Baseline modern smartphone snapshot & visual targetscrollWidth <= 390
Tablet Breakpoint768 × 1024md: breakpoint handoff (header nav, hybrid admin tables, grids)scrollWidth <= 768
Desktop Guard1280 × 800Existing desktop baseline regression protectionZero unintended diffs

2. Complete 26-Route Audit Inventory ​

#RouteGroupCurrent Mobile BaselineTarget Mobile Visual CoverageKey Mobile Risk Areas
1/Public / Corehome-mobile-lightKeep + add home-search-dropdown-mobile-light & mobile-nav-drawer-mobile-darkSearch dropdown width/truncation, hero CTA spacing, slide-over drawer
2/searchDiscoverysearch-mobile-light, map-explore-*, map-collapsed-*, map-error-*, map-focus-*Keep + add map-selected-mobile-darkFilter sidebar stacking, RV length grid, map popup/card bounds, pagination taps
3/providersPublicNone (desktop only)Add providers-mobile-lightProvider card grid, badge wrapping, external link tap targets
4/how-it-worksPublicNone (desktop only)Add how-it-works-mobile-darkMulti-column step/feature grids, heading scale, CTA spacing
5/faqPublicNone (desktop only)Add faq-mobile-lightAccordion row tap targets, long question wrapping
6/contactPublicNoneAdd contact-mobile-lightStacked form inputs (text-base), info cards
7/ethosPublic (gated)None (desktop only)Add ethos-mobile-lightLong-form section spacing, typography scale
8/contributePublic (gated)NoneAdd contribute-mobile-darkMulti-column card grids, button wrapping
9/privacyLegalNoneOverflow sweep + privacy-mobile-lightLong links/prose wrapping, heading scale
10/termsLegalNoneOverflow sweep (shared prose layout)Long links/prose wrapping
11/authAccountNone (desktop only)Add auth-mobile-lightInput auto-zoom prevention, card padding, submit tap target
12/invite-onlyAccessearly-access-mobile-lightKeep existingEmail input zoom prevention, status callout wrapping
13/dashboardCamperdashboard-mobile-light, dashboard-expanded-mobile-dark, area-dashboard-mobile-darkKeep + add dashboard-empty-mobile-light, scan-form-dialog-mobile-light (375×667), scan-form-checkin-calendar-mobile-light (375×667), scan-delete-error-mobile-darkStat grid, scan card action rows, pinned ScanForm dialog, clamped DatePicker
14/dashboard/scans/:scanIdCamperscan-detail-*, scan-detail-grid-*, scan-detail-paginated-*, area-scan-detail-*Keep existing (recently reworked in spec 033)Verify header pills, calendar, cards, and sticky grid column at 375 px
15/profileAccountprofile-ntfy-mobile-lightKeep + add profile-mobile-light (Pushover + Active Sessions)Long email/URL/topic/token wrapping, copy/test buttons, Active Sessions rows
16/campground/:providerId/:campgroundIdDiscoverymap-campground-*, enrichment-campground-*, enrichment-dialog-mobile-darkKeep existingLong titles, provider badges, monitor CTA, carousel & photo viewer close target
17/rec-area/:providerId/:recreationAreaIdDiscoverymap-area-*, enrichment-area-*, area-picker-mobile-darkKeep existingLong titles, child campground rows, AreaCoveragePicker dialog
18/adminAdminadmin-overview-mobile-lightKeep + add admin-api-trends-table-mobile-darkKPI cards, Recharts axis/legend overlap, trend table horizontal scroll
19/admin/usersAdminadmin-reset-password-mobile-lightKeep + add admin-users-mobile-light, admin-create-user-password-mobile-darkHybrid stacked cards (<md), filter bar wrapping, pinned Create/Reset dialogs + password reveal wrap
20/admin/users/:userIdAdminNone (desktop only)Add admin-user-detail-mobile-lightgrid-cols-1 sm:grid-cols-2, UUID/email wrapping, action toggles, contained scans table
21/admin/invitationsAdminNone (desktop only)Add admin-invitations-mobile-lightHybrid stacked cards (<md), Approve/Revoke touch targets, filter tabs
22/admin/scansAdminNone (desktop only)Add admin-scans-mobile-darkHybrid stacked cards (<md), filter controls wrapping, pause/delete actions
23/admin/scans/:scanIdAdminadmin-area-scan-detail-mobile-darkKeep + add admin-scan-detail-mobile-lightMetadata grid stacking, contained results table
24/admin/targets/:targetIdAdminNone (desktop only)Add admin-target-detail-mobile-darkMetadata grid stacking, UUID wrapping, contained subscribers/results tables
25/admin/operationsAdminadmin-operations-mobile-lightKeep existing (re-verify after scroll/dialog fixes)Metric cards, contained worker/task scroll tables (min-w-[500px]/min-w-[950px]), pinned task detail dialog
26/admin/auditAdminNone (desktop only)Add admin-audit-mobile-lightContained horizontal-scroll audit log table, filter controls, detail payload wrapping

(Utility route /dev/preview already has dev-preview-mobile-light and is verified alongside the 26 production routes.)


3. Interactive Component State Models ​

Mobile Navigation Drawer (Header + Sheet) ​

  • States: closed (default) ↔ open
  • Transitions:
    • Tap menu button → open (aria-expanded="true", backdrop visible, focus trapped inside drawer, body scroll locked)
    • Tap any nav link / auth button → navigate + closed
    • Tap backdrop or close button → closed + focus returns to menu trigger
    • Press Escape → closed + focus returns to menu trigger
    • Route pathname change (location.pathname) → closed (safety guard)

Viewport-Bounded Multi-Field Dialog (DialogContent + DialogBody) ​

  • Layout structure:
    • Outer container: fixed, centered, w-[calc(100vw-2rem)] sm:w-full, max-h-[calc(100dvh-2rem)], flex flex-col overflow-hidden
    • Pinned DialogHeader: shrink-0 with pr-10 clearance for the 44×44 px close trigger
    • Scrollable DialogBody: flex-1 overflow-y-auto min-h-0
    • Pinned DialogFooter: shrink-0 border-t with flex-col-reverse gap-2 sm:flex-row sm:justify-end

Admin Hybrid List Representation (AdminUsers, AdminInvites, AdminScans) ​

  • Viewport < 768 px (md:hidden): Vertical list of cards displaying primary identifier (email / destination), status badges, secondary metadata (dates, counts, role), and full-width or wrapped ≥44 px action buttons.
  • Viewport >= 768 px (hidden md:block): Existing desktop <table> inside overflow-x-auto preserved unchanged.