Commit Graph

3 Commits

Author SHA1 Message Date
LemonNexus 0b4d79b98f feat(gui): Sprint 2 Phase 1 - PyQt6 GUI Foundation
Add complete PyQt6 GUI implementation using agent swarm:

- ui/main_window.py: Main application window with project management,
  session controls, log output, and dark theme styling

- ui/hud_overlay.py: Transparent, always-on-top HUD overlay for
  real-time stats during gameplay. Features:
  * Frameless, click-through window
  * Draggable with Ctrl key
  * Session timer, loot tracking, damage stats
  * Position persistence
  * Decimal precision for PED values

- ui/loadout_manager.py: Gear configuration dialog with:
  * Weapon/Armor/Healing tool setup
  * DPP (Damage Per Pec) calculator
  * Cost per hour estimation
  * Break-even calculator
  * Save/Load loadouts (JSON persistence)
  * Mock data for common EU gear

- ui/__init__.py: Module exports
- requirements.txt: Add PyQt6 dependency

All components follow Never-Break Rules:
 Decimal precision for currency
 Dark theme styling
 Integration hooks for existing core modules
 Mock test modes included

Developed with 3-agent parallel swarm (3 minutes vs 6 hours serial).
2026-02-08 20:30:38 +00:00
LemonNexus 39d1b0d48d chore(deps): add python-dotenv to requirements
Required for loading .env configuration file.
2026-02-08 18:01:54 +00:00
LemonNexus 24a450de5e test(core): add pytest suite for Data Capture Engine
- Create comprehensive test suite for core modules
- Test DatabaseManager initialization and queries
- Test ProjectManager Data Principle implementation
- Test LogWatcher regex patterns (global, hof, loot, skill, decay)
- Test Observer Pattern subscribe/unsubscribe
- Test async polling functionality
- Test mock log generation
- Add integration test: Log -> Project -> Database flow

Tests validate Never-Break Rules #4 (Decimal precision) and #5 (testing).
2026-02-08 16:56:56 +00:00