Mobile Operations Companion Deliverables (Stories)¶
Context Summary¶
- Product area: BetterFleet Manage.
- Scope basis:
docs/work/backlog/mobile-ops-companion/spec.md. - Delivery intent: a small, isolated mobile slice that solves high-value depot-walk tasks without changing desktop behavior.
- Phase 1 focus: depot-scoped awareness and limited charger operations.
Mobile Shell and Route Gating¶
User Story¶
As a mobile user, I want a dedicated /mobile shell with focused navigation so I can move between mobile tasks quickly without changing the desktop experience.
Acceptance Criteria¶
- A new
/mobile/*route namespace exists behindmanage-mobile-ops. /mobile/*renders through a dedicated mobile shell rather than the desktop sidebar layout.- Desktop routes and layout behavior remain unchanged.
- The mobile shell exposes navigation for
Home,Yard,Chargers, andIncidents. - The mobile shell clearly communicates when the app is in all-depots mode and the mobile slice requires a specific depot.
Mobile Home Summary¶
User Story¶
As a yard operator, I want a mobile home summary so I can quickly see what needs attention at the selected depot.
Acceptance Criteria¶
/mobileshows selected-depot context and quick navigation.- The page shows site alert banners for the selected depot.
- The page shows summary counts for active incidents, chargers needing attention, vehicles needing attention, and charging now.
- Each summary item links to the relevant mobile screen.
- Empty and error states are readable on a phone-sized screen.
Yard Visibility Companion¶
User Story¶
As a depot-floor operator, I want a list-first mobile yard view so I can check vehicle and charger status while walking the yard.
Acceptance Criteria¶
/mobile/yardrenders a primary accessible list of live yard items.- When depot layout data is available, the page also renders a read-only visual yard representation.
- When depot layout data is missing, the page falls back to the list-only experience.
- The list exposes the same live assets and statuses represented in the visual yard state when layout data is available.
- Statuses are communicated with text, not color alone.
Chargers Mobile Visibility and Actions¶
User Story¶
As an operator with charger permissions, I want a mobile charger list and detail flow so I can inspect charger state and safely request common interventions.
Acceptance Criteria¶
/mobile/chargersshows a filterable mobile list of chargers for the selected depot.- Charger cards show charger state, connection state, connector summaries, connected vehicle, SoC, and estimated time to target when available.
/mobile/chargers/:chargePointIdshows charger detail and connector detail.- Mobile charger detail exposes only
soft reset,remote start/stop, andremote cable release. - Existing permission checks and feature flags still gate action visibility.
- Each operational action requires accessible confirmation and announces success or failure feedback.
Active Incidents Mobile Flow¶
User Story¶
As an operations user, I want an active-incident mobile flow so I can review an issue and jump to the affected charger quickly.
Acceptance Criteria¶
/mobile/incidentsshows active incidents only for the selected depot context.- Incident cards show title, severity, reference ID, created time, and affected asset hints when available.
/mobile/incidents/:incidentIdshows read-only incident detail, affected assets, event timeline, and troubleshooting context.- Incident detail links to mobile charger detail when an affected charger is known.
- Incident resolution is not available in the mobile slice for phase 1.
Accessibility, Docs, and Regression Safety¶
User Story¶
As a delivery team, I want the mobile slice to be accessible and documented so we can release it safely and iterate without confusion.
Acceptance Criteria¶
- The delivered mobile slice remains usable from 320px widths upward and supports 200% zoom/reflow expectations.
- Interactive controls have clear labels, visible focus styles, and touch-friendly sizing.
- The mobile slice has targeted automated coverage for its helper logic and critical component behavior.
- In-app help includes a mobile-operations guide describing the new mobile flow and scope boundaries.
- Unreleased release notes mention the new feature flag and mobile companion capability.