LemonNexus
e1316076bf
fix(gui): logging methods don't depend on log_watcher
...
- log_debug/info/warning/error now use _append_log directly
- Avoids AttributeError when log_watcher is None during init
- LogWatcher is only used for game events, not UI logging
2026-02-08 22:14:52 +00:00
LemonNexus
e2388dadaf
fix(gui): correct create_project call - use metadata not description
...
- ProjectManager.create_project signature: (name, project_type, metadata=None)
- GUI was incorrectly passing description as 3rd arg
- Now passes metadata={'description': description}
- Add test_gui_simple.py for quick integration testing
2026-02-08 22:11:05 +00:00
LemonNexus
d283de84ee
fix(gui): remove session_count from project list - ProjectData doesn't have this field
...
Show Type and Status columns instead of Sessions
2026-02-08 22:08:13 +00:00
LemonNexus
a0dd7f8cad
fix(gui): correct ProjectManager method names
...
- get_all_projects() → list_projects()
- get_project() → load_project()
- create_project() now includes project_type='hunt' parameter
Fixes AttributeError on startup
2026-02-08 22:06:07 +00:00
LemonNexus
25a25d031e
fix(gui): integrate real LogWatcher and ProjectManager into MainWindow
...
- Replace placeholder classes with real core.database, core.project_manager, core.log_watcher
- Add LogWatcher lifecycle management (start/stop in background thread)
- Connect log events to HUD updates (loot, damage, globals, etc.)
- Add database session tracking
- Fix session stop to properly end database session and stop LogWatcher
This enables real-time log parsing in the GUI!
2026-02-08 22:03:06 +00:00
LemonNexus
5b0c180a59
fix(hud): session tracking and drag improvements
...
- main_window: Actually call hud.start_session() to reset stats and start timer
- hud_overlay: Add SetWindowPos refresh after WinAPI style changes
- This fixes stats not resetting and drag not working on Windows
2026-02-08 21:40:48 +00:00
LemonNexus
0f555b1a3a
fix(gui): wire up Loadout Manager and real HUD overlay
...
- Add Tools menu with Loadout Manager (Ctrl+L)
- Replace placeholder HUD with real HUDOverlay from hud_overlay.py
- Add on_loadout_manager() method
2026-02-08 21:24:49 +00:00
LemonNexus
a963778145
fix(gui): add missing main_window.py and loadout_manager.py
...
Files were created in workspace root instead of project directory.
Adding main_window.py and loadout_manager.py to complete Sprint 2 Phase 1.
2026-02-08 20:31:35 +00:00