Commit Graph

14 Commits

Author SHA1 Message Date
centron\schwoerer
049f47c4b3 fix(gowlers-tracking-ledger): improve encounter tracking with extended time window and detailed logging
- Increase XP linking time window from 5 to 30 seconds after combat ends
- Add detailed console logging to debug encounter status updates
- Log XP entry creation with encounter ID information
- Log encounter summary updates to verify status changes are persisted
- Track active combat state during XP recording

This helps debug why encounters show as 'ongoing' and XP not linked to encounters.

Update version to 0.1.9

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-20 09:58:45 +01:00
centron\schwoerer
8646ebd3e1 fix(gowlers-tracking-ledger): link XP gains to encounters after combat ends
- Add lastCombatId and lastCombatEndTime tracking to preserve encounter data
- Update recordHistoryEntry to link XP within 5 seconds of combat end to last encounter
- Change encounter status from 'ended' to 'finished' for clarity
- Store encounter ID when combat ends to catch post-combat XP awards

Fixes issue where XP gained after combat ends was not linked to the encounter,
and encounters were not being marked as finished in the history.

Update version to 0.1.8

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-19 15:44:51 +01:00
centron\schwoerer
ea595ab191 refactor(gowlers-tracking-ledger): simplify render hook by removing redundant jQuery tab handlers
- Remove jQuery event listeners for tab switching now handled by onclick attributes
- Simplify render hook to focus solely on config button creation
- Add debug logging to confirm render hook execution
- Reduce potential conflicts between onclick and jQuery handlers
- Update version to 0.1.7

Optimizes dialog rendering and improves code clarity.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-19 15:13:41 +01:00
centron\schwoerer
b97604d506 feat(gowlers-tracking-ledger): implement tab switching with global handler function
- Add window.switchHistoryTab() global function to handle tab switching via onclick
- Function manages active tab state by toggling CSS classes and display properties
- Includes detailed console logging for debugging tab switches
- Update version to 0.1.6

Fixes tab switching functionality in the history dialog where buttons were not responding to clicks.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-19 12:51:58 +01:00
centron\schwoerer
e71d54659e test 2025-11-19 11:47:02 +01:00
centron\schwoerer
33aebf2b87 1 2025-11-18 16:35:03 +01:00
centron\schwoerer
167cd0e02d sth 2025-11-18 16:17:05 +01:00
centron\schwoerer
4f0b3af6e1 zwischenstand 2025-11-18 14:32:01 +01:00
centron\schwoerer
e553e809ae rename folder 2025-11-18 09:46:37 +01:00
centron\schwoerer
aec929b433 working 2025-11-18 09:46:10 +01:00
centron\schwoerer
f054a31b20 zischenstand 2025-11-14 14:52:43 +01:00
centron\schwoerer
30aa03c6db history 2025-11-14 10:30:00 +01:00
centron\schwoerer
5669aa75ca track HP in chat 2025-11-14 09:25:31 +01:00
Claude Code
15355c35ea Initial commit: Fresh start with current state 2025-11-06 14:04:48 +01:00