How vizushu/ca-x-2 works
Lineup Live is a browser-based surf, snow, and California Double planning app. Users choose a break or mountain, inspect condition ratings and camera feeds, and scrub forecast time; the Double view combines surf and snow conditions with a drive plan. The app shell coordinates live data, forecast calculations, and view-model generation before rendering its screens. Live providers and desktop presentation are included as documented capabilities, though their full wiring is not shown in the excerpts.
Main entry points: App.jsx App shell · ui.jsx Shared UI · live.js Live data layer · view.js Forecast view model
Components 19
App experience
- App shell
app/src/App.jsx - Browser entry
app/src/main.jsx - Icon assets
app/src/icons.js
Forecast and data
- Forecast view model
app/src/forecast/view.js - Forecast engine
app/src/forecast/engine.js - Live data layer
app/src/forecast/live.js
Views and controls
- Surf view
app/src/components/SurfView.jsx - Snow view
app/src/components/SnowView.jsx - Double view
app/src/components/DoubleView.jsx - Camera player
app/src/components/Cam.jsx - Time and mode dock
app/src/components/Dock.jsx - Picker and settings
app/src/components/Sheets.jsx - Install prompt
app/src/components/InstallBanner.jsx - Desktop presentation
app/src/components/Presentation.jsx - Shared UI
app/src/components/ui.jsx
External services
- Forecast feeds
- Traffic routing
- Camera feeds
Other components
- User
Connections 26
- User → Browser entry: opens app
app/src/main.jsx - Browser entry → App shell: renders
app/src/main.jsx - App shell → Live data layer: checks and updates
app/src/App.jsx - App shell → Forecast view model: builds screen data
app/src/App.jsx - Forecast view model → Forecast engine: calculates conditions
app/src/forecast/view.js - Forecast view model → Live data layer: reads live state
app/src/forecast/view.js - Live data layer → Forecast engine: overrides inputs
app/src/forecast/live.js - Forecast engine → Icon assets: gets icon URLs
app/src/forecast/engine.js - App shell → Surf view: renders
app/src/App.jsx - App shell → Snow view: renders
app/src/App.jsx - App shell → Double view: renders
app/src/App.jsx - App shell → Camera player: renders
app/src/App.jsx - App shell → Time and mode dock: renders
app/src/App.jsx - App shell → Picker and settings: renders
app/src/App.jsx - App shell → Install prompt: renders
app/src/App.jsx - Live data layer → Forecast feeds: fetches conditions
app/src/forecast/live.js - Live data layer → Traffic routing: requests routes
app/src/forecast/live.js - Camera player → Camera feeds: plays streams
- Desktop presentation → Shared UI: uses components
app/src/components/Presentation.jsx - Surf view → Shared UI: uses components
app/src/components/SurfView.jsx - Snow view → Shared UI: uses components
app/src/components/SnowView.jsx - Double view → Shared UI: uses components
app/src/components/DoubleView.jsx - Camera player → Shared UI: uses components
app/src/components/Cam.jsx - Time and mode dock → Shared UI: uses components
app/src/components/Dock.jsx - Picker and settings → Shared UI: uses components
app/src/components/Sheets.jsx - Install prompt → Shared UI: uses components
app/src/components/InstallBanner.jsx