Skip to content

feat: complete SIGNAL frontend dashboard#22

Merged
aadityad12 merged 3 commits into
mainfrom
feat/frontend-all-issues
May 10, 2026
Merged

feat: complete SIGNAL frontend dashboard#22
aadityad12 merged 3 commits into
mainfrom
feat/frontend-all-issues

Conversation

@shahxsheel

Copy link
Copy Markdown
Collaborator

Summary

  • Scaffolds signal/frontend/ with Vite 6 + React 18 + TypeScript + Tailwind 3 + Leaflet 1.9
  • Auto-reconnecting WebSocket hook (useWebSocket) wired to a pure useReducer handling all 8 message types
  • ModeIndicator top banner — blue (ASSISTED) / red pulsing (SURGE), WS connection dot
  • AgentCards — 2×2 grid, live status dots (IDLE/RUNNING/COMPLETE/ERROR) with animate-pulse
  • CallQueue — severity badges (CRITICAL/URGENT/STANDARD/PENDING), vulnerable ⚠️ flag, dispatched unit + ETA
  • MapView — vanilla Leaflet centred on Davis CA, Park Fire GeoJSON perimeter, resource unit markers
  • OverrideButton — fixed floating button, SURGE mode only, double-submit guard
  • HoldModal — full-screen overlay, no backdrop dismiss, confirm/cancel with loading states
  • BriefingPanel — latest briefing text, audio-available badge, autoplay fallback button
  • AuditTrail — collapsible panel, all 8 WS event types logged with timestamp + type pill
  • DemoControls — fixed bottom bar wiring Start Demo / Trigger Surge / Reset

Test plan

  • cd signal/frontend && npm install && npm run dev starts on port 5173 with zero TypeScript errors
  • ASSISTED banner shows blue, SURGE banner shows red with pulse
  • All 4 agent cards visible in IDLE state by default
  • HoldModal blocks interaction until Confirm or Cancel clicked
  • OverrideButton only visible in SURGE mode
  • Audit trail expands/collapses and shows all event types
  • DemoControls buttons show loading state and error on failure
  • Map renders with Park Fire perimeter and resource dots when backend is running

Closes #9, Closes #10, Closes #11, Closes #12, Closes #13, Closes #14, Closes #15

🤖 Generated with Claude Code

shahxsheel and others added 2 commits May 9, 2026 18:46
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Implements the full signal/frontend/ from scratch:
- Vite + React 18 + TypeScript + Tailwind + Leaflet scaffold
- Auto-reconnecting WebSocket hook (3s retry, malformed message resilience)
- ModeIndicator banner (ASSISTED/SURGE with pulse animation)
- AgentCards 2×2 grid with live status dots
- CallQueue with severity badges, vulnerable flag, dispatched unit/ETA
- MapView using vanilla Leaflet — Park Fire perimeter + resource markers
- OverrideButton (SURGE mode only, double-submit guard)
- HoldModal (full-screen overlay, no backdrop dismiss, confirm/cancel)
- BriefingPanel with audio-available badge and autoplay fallback
- AuditTrail collapsible panel covering all 8 WS event types
- DemoControls fixed bar wiring Start/Surge/Reset API calls

Closes #9, Closes #10, Closes #11, Closes #12, Closes #13, Closes #14, Closes #15

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Repository owner deleted a comment from chatgpt-codex-connector Bot May 10, 2026
Repository owner deleted a comment from chatgpt-codex-connector Bot May 10, 2026
Repository owner deleted a comment from chatgpt-codex-connector Bot May 10, 2026
@shahxsheel

Copy link
Copy Markdown
Collaborator Author

@claude resolve the merge conflicts in this PR. Preserve both branches' changes where possible, remove all conflict markers, run the fastest relevant checks, and push the fix back to this branch.

Repository owner deleted a comment from chatgpt-codex-connector Bot May 10, 2026
Repository owner deleted a comment from chatgpt-codex-connector Bot May 10, 2026
Repository owner deleted a comment from aadityad12 May 10, 2026
Repository owner deleted a comment from chatgpt-codex-connector Bot May 10, 2026
@claude

claude Bot commented May 10, 2026

Copy link
Copy Markdown

Claude Code is working…

I'll analyze this and get back to you.

View job run

@aadityad12 aadityad12 merged commit 2f9be9f into main May 10, 2026
1 check passed
@shahxsheel shahxsheel deleted the feat/frontend-all-issues branch May 10, 2026 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment