How raad-meryan/cubesat works
This is a React dashboard for monitoring a spacecraft-like system: it presents live sensor, subsystem, power, thermal, beacon and image-capture information. The main workflow is loading the dashboard, polling sensor and memory endpoints, and displaying readings in panels and charts; snapshot views fetch image listings or the latest snapshot. The sampled code shows those calls and several rendering relationships. Other panel behavior is represented at subsystem level where only the source index or dashboard imports were available.
Main entry points: DashboardLayout.js Dashboard layout · api.js API client · BeaconPulse.jsx Beacon pulse · BeaconPulseGraph.jsx Beacon history graph
Components 20
Dashboard UI
- App entry
src/App.js - Dashboard layout
src/components/Dashboard/DashboardLayout.js - Panel container
src/components/Dashboard/Panel.jsx
Telemetry Displays
- Sensor and status panels
src/components/Dashboard - Altitude panel
src/components/Dashboard/AltitudePanel.jsx - Orientation visualizer
src/components/Dashboard/OrientationVisualizer.jsx - Uptime chart
src/components/Dashboard/UptimeChart.jsx - Thermal heatmap
src/components/Dashboard/ThermalHeatmapPanel.jsx - Thermal graph
src/components/Dashboard/ThermalGraphPanel.jsx - Temperature views
src/components/Dashboard/TemperatureStatsPanel.jsx - Power graphs
src/components/Dashboard/PowerLineGraph.jsx
Beacon and Images
- Beacon pulse
src/components/Dashboard/BeaconPulse.jsx - Beacon history graph
src/components/Dashboard/BeaconPulseGraph.jsx - Beacon timing constants
src/components/Dashboard/beacon-constants.js - Capture controls
src/components/Dashboard/ScheduleCaptureModal.jsx - Snapshot gallery
src/components/Dashboard/SnapshotGallery.jsx - Latest snapshot view
src/components/Dashboard/LastSnapshotModal.jsx
Data Access
- API client
src/services/api.js
Other components
- Dashboard user
- Dashboard backend
Connections 24
- Dashboard user → App entry: opens
- App entry → Dashboard layout: renders
src/App.js - Dashboard layout → Panel container: wraps views
src/components/Dashboard/DashboardLayout.js - Dashboard layout → Sensor and status panels: renders
src/components/Dashboard/DashboardLayout.js - Dashboard layout → Altitude panel: renders
src/components/Dashboard/DashboardLayout.js - Dashboard layout → Orientation visualizer: passes orientation
src/components/Dashboard/DashboardLayout.js - Dashboard layout → Uptime chart: passes uptime
src/components/Dashboard/DashboardLayout.js - Dashboard layout → Thermal heatmap: passes pixels
src/components/Dashboard/DashboardLayout.js - Dashboard layout → Thermal graph: passes thermal stats
src/components/Dashboard/DashboardLayout.js - Dashboard layout → Temperature views: passes temperature
src/components/Dashboard/DashboardLayout.js - Dashboard layout → Power graphs: renders
src/components/Dashboard/DashboardLayout.js - Dashboard layout → Beacon pulse: renders
src/components/Dashboard/DashboardLayout.js - Dashboard layout → Beacon history graph: renders
src/components/Dashboard/DashboardLayout.js - Dashboard layout → Capture controls: opens on request
src/components/Dashboard/DashboardLayout.js - Dashboard layout → Snapshot gallery: renders control
src/components/Dashboard/DashboardLayout.js - Dashboard layout → Latest snapshot view: renders
src/components/Dashboard/DashboardLayout.js - Dashboard layout → API client: fetches sensor and memory data
src/components/Dashboard/DashboardLayout.js - Beacon pulse → Beacon timing constants: uses timing
src/components/Dashboard/BeaconPulse.jsx - Beacon history graph → Beacon timing constants: uses timing
src/components/Dashboard/BeaconPulseGraph.jsx - Snapshot gallery → API client: fetches snapshots
src/components/Dashboard/SnapshotGallery.jsx - Latest snapshot view → API client: fetches latest
src/components/Dashboard/LastSnapshotModal.jsx - API client → Dashboard backend: requests data
src/services/api.js - Beacon pulse → Dashboard backend: polls beacon
src/components/Dashboard/BeaconPulse.jsx - Beacon history graph → Dashboard backend: polls beacon
src/components/Dashboard/BeaconPulseGraph.jsx