Copilot
793928c561
Add real-time WebSocket updates and interactive drill-down to Analytics dashboard (#172)
* Initial plan
* feat: add real-time WebSocket updates and drill-down to Analytics dashboard
- Add WebSocket integration for real-time analytics updates
- Add drill-down functionality to charts (click on users/channels)
- Add DrillDownPanel component integration
- Add live connection status indicator
- Optimize metric calculations with useMemo
- Update chart components (HeatmapChart, VolumeChart, TimelineChart) with click handlers
- Fix Analytics tests with proper router and socket mocking
Co-authored-by: onnwee <211922112+onnwee@users.noreply.github.com>
* test: add comprehensive tests for drill-down and chart components
- Add DrillDownPanel component tests (6 test cases)
- Add HeatmapChart component tests (4 test cases)
- All tests passing (177 total)
Co-authored-by: onnwee <211922112+onnwee@users.noreply.github.com>
* docs: add comprehensive documentation for enhanced analytics dashboard
- Document all implemented features
- Include technical implementation details
- Add API integration documentation
- Document testing coverage
- Add performance characteristics
- Include deployment notes
Co-authored-by: onnwee <211922112+onnwee@users.noreply.github.com>
* refactor: address code review feedback for type safety and best practices
- Use useState for URL params instead of direct window.location access
- Improve variable scoping for WebSocket handlers
- Add proper type guards for chart click handlers
- Remove unsafe type assertions
- All tests still passing (177 total)
Co-authored-by: onnwee <211922112+onnwee@users.noreply.github.com>
* fix: use React Router's useSearchParams for URL params handling
- Replace direct window.location.search access with useSearchParams hook
- Ensure guildId updates properly when URL changes via client-side routing
- Simplify WebSocket cleanup logic and remove unused variables
- All 177 tests passing
Co-authored-by: PatrickFanella <61631520+PatrickFanella@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: onnwee <211922112+onnwee@users.noreply.github.com>
Co-authored-by: PatrickFanella <61631520+PatrickFanella@users.noreply.github.com>
2025-11-05 12:54:48 -06:00
..
2025-10-19 10:39:24 -05:00
2025-05-26 16:11:39 -05:00
2025-11-05 12:54:48 -06:00
2025-10-20 15:13:32 -05:00
2025-10-31 14:41:24 -05:00
2025-10-20 15:01:00 -05:00
2025-10-19 04:36:30 +00:00
2025-10-19 04:36:30 +00:00
2025-10-19 03:10:08 +00:00
2025-11-02 07:04:15 -06:00
2025-11-03 10:26:23 -06:00
2025-10-19 04:36:30 +00:00
2025-11-03 10:26:23 -06:00
2025-11-03 10:26:23 -06:00
2025-10-18 23:02:35 +00:00
2025-10-18 23:13:33 +00:00
2025-05-26 17:43:44 -05:00
2025-10-30 22:10:32 -05:00
2025-11-03 10:26:23 -06:00
2025-10-18 23:13:33 +00:00
2025-10-18 23:14:39 +00:00
2025-10-18 23:13:33 +00:00
2025-11-03 08:56:49 -06:00