Commit graph

3 commits

Author SHA1 Message Date
jeda
f8e17ee2ab feat(bd-3jl): FileHeatmap integration complete + build fixes
FileHeatmap component is fully integrated into main TUI app:
- Keyboard shortcut 'H' toggles heatmap view
- Real-time file access aggregation from event store
- Shows most-touched files with multiple sort modes
- All tests passing (943 tests, including 130 FileHeatmap tests)

Additional fixes:
- Fixed ErrorGroupPanel options to support bottom property
- Added vitest globals configuration for proper TypeScript support
- Fixed type assertions in server.test.ts
- Created comprehensive integration documentation

Co-Authored-By: Claude Worker <noreply@anthropic.com>
2026-03-04 04:18:13 +00:00
jeda
ac5e98ea85 feat(bd-ak8): Add comprehensive web server unit tests
- Add WebSocket connection tests with actual client connections
- Add broadcast() tests for single and multiple clients
- Add broadcastCollisions() tests
- Add WebSocket client lifecycle tests (disconnect, reconnect, errors)
- Add vitest setup file for frontend tests

All 53 tests pass including:
- HTTP endpoints (health, workers, events, collisions, xref)
- WebSocket functionality
- Error handling
- Server lifecycle

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude Worker <noreply@anthropic.com>
2026-03-03 14:53:53 +00:00
jeda
942aacc465 feat(bd-2uo): Add Vitest tests for web server API endpoints
- Add comprehensive tests for /api/health endpoint
- Add tests for /api/workers and /api/workers/:id endpoints
- Add tests for /api/events with filtering (worker, level, limit)
- Add tests for /api/collisions and /api/workers/:id/collisions
- Add tests for cross-reference API endpoints (/api/xref/*)
- Add tests for WebSocket functionality exposure
- Add tests for server lifecycle and error handling
- All 42 new tests pass (225 total tests)

Co-Authored-By: Claude Worker <noreply@anthropic.com>
2026-03-03 14:36:44 +00:00