📄 disp-20260429-001.md 1,287 bytes Apr 29, 2026 📋 Raw

Dispatch: disp-20260429-001

Agent: Daedalus 🎨
Task: Fix dashboard JSON rendering bug in Event Graph card
Priority: Medium
Dispatched: 2026-04-29 01:53 UTC
ETA: 2026-04-29 02:30 UTC (37 min)

Handoff

What

Fix dashboard cards showing raw JSON instead of rendered HTML. Specifically the Event Graph card.

Why

Dashboard Event Graph card renders raw JSON because:
1. /api/today doesn't include events key
2. Event Graph card wired to wrong endpoint (/api/today instead of /api/events-dashboard)
3. JS handler only renders events when targetId === 'health-content', not when events card fires independently

Files

  • Frontend: shared/project-docs/dashboard/templates/index.html — HTMX wiring + JS handlers
  • Backend: workspace-socrates/hoffdesk-api/dashboard/router.py/api/today endpoint

Success Criteria

  • [ ] All cards render HTML (not JSON strings)
  • [ ] Event Graph shows events or "No upcoming events" state
  • [ ] Calendar, Weather, Health cards still work
  • [ ] IMAP Proxy card still works (separate endpoint, already HTML)

Brief

Full analysis + fix options: shared/project-docs/dashboard/BUG-JSON-RENDER-BRIEF.md


Check-ins

  • T+30min: 02:23 UTC
  • T+2hr: 03:53 UTC

Status: 🟡 PENDING ACK