Skip to content

Feature/127 fetch character on adventure load#148

Merged
aphexlog merged 2 commits intomainfrom
feature/127-fetch-character-on-adventure-load
Jan 15, 2026
Merged

Feature/127 fetch character on adventure load#148
aphexlog merged 2 commits intomainfrom
feature/127-fetch-character-on-adventure-load

Conversation

@aphexlog
Copy link
Contributor

No description provided.

Aaron West added 2 commits January 15, 2026 15:57
- Add CharacterRecord type definition
- Add characterState to React state management
- Create fetchCharacter function to load or create default character
- Integrate character fetching into fetchAdventureBundle
- Update GameMasterHud to display real character data from database
- Clear character state when switching/clearing conversations
- Character is unique per adventure (not shared)
- Default character created with stats matching issue spec

Resolves #127
- Rename 'class' field to 'characterClass' to avoid reserved keyword
- Fix JSON field serialization (inventory, skills, statusEffects)
- Add JSON parsing for inventory in UI display
- Add detailed error logging for character creation debugging
- Update WipBanner text to 'Hey friend, guess what??'
- Remove hardcoded character stats in favor of database values
@aphexlog aphexlog merged commit f56aa15 into main Jan 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant