Commit Graph

3 Commits

Author SHA1 Message Date
7c762e64c2 feat(web): wire dashboard widgets to real API data (#459)
All checks were successful
ci/woodpecker/push/web Pipeline was successful
- Create dashboard API client with TypeScript interfaces
- Update page.tsx to fetch from GET /api/dashboard/summary on mount
- DashboardMetrics: accept metrics prop, map to 6 cells with real data
- ActivityFeed: accept items prop, map actions to icons/timestamps
- OrchestratorSessions: accept jobs prop, render steps as agent nodes
- TokenBudget: accept budgets prop, compute percentages
- All widgets have empty/zero fallback states
- Update page tests to mock API fetch

Task: MS-P2-002

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 18:36:32 -06:00
a5ee974765 feat(#375): frontend token usage and cost dashboard
- Install recharts for data visualization
- Add Usage nav item to sidebar navigation
- Create telemetry API service with data fetching functions
- Build dashboard page with summary cards, charts, and time range selector
- Token usage line chart, cost breakdown bar chart, task outcome pie chart
- Loading and empty states handled
- Responsive layout with PDA-friendly design
- Add unit tests (14 tests passing)

Refs #375

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 02:10:22 -06:00
Jason Woltje
08938dc735 feat: wire chat UI to backend APIs
- Created API clients for LLM chat (/api/llm/chat) and Ideas (/api/ideas)
- Implemented useChat hook for conversation state management
- Connected Chat component to backend with full CRUD operations
- Integrated ConversationSidebar with conversation fetching
- Added automatic conversation persistence after each message
- Integrated WebSocket for connection status
- Used existing better-auth for authentication
- All TypeScript strict mode compliant (no any types)

Deliverables:
 Working chat interface at /chat route
 Conversations save to database via Ideas API
 Real-time WebSocket connection
 Clean TypeScript (no errors)
 Full conversation loading and persistence

See CHAT_INTEGRATION_SUMMARY.md for detailed documentation.
2026-01-29 23:26:27 -06:00