feat: add editable attribute values (Closes #24) #63

Merged
shahondin1624 merged 1 commits from feature/issue-24-editable-attribute-values into main 2026-03-13 13:47:12 +01:00

Summary

  • Add AttributeEditDialog composable with number input, validation (min 1, max 10), and error messages
  • Attribute cards open edit dialog on tap; dice roll button still works independently
  • Changes propagate through CharacterViewModel.updateCharacter() so derived attributes update immediately
  • Add Attributes.withAttribute(type, value) for immutable attribute updates by type
  • Add test tags for attribute edit dialog elements

Closes #24

## Summary - Add `AttributeEditDialog` composable with number input, validation (min 1, max 10), and error messages - Attribute cards open edit dialog on tap; dice roll button still works independently - Changes propagate through `CharacterViewModel.updateCharacter()` so derived attributes update immediately - Add `Attributes.withAttribute(type, value)` for immutable attribute updates by type - Add test tags for attribute edit dialog elements Closes #24
shahondin1624 added 1 commit 2026-03-13 13:47:07 +01:00
Add AttributeEditDialog with number input (min 1, max 10), validation
error messages, and save/cancel buttons. Attribute cards now open the
edit dialog on tap. Changes propagate through CharacterViewModel so
derived attributes update immediately. Add withAttribute() to Attributes
model for immutable attribute updates by type.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
shahondin1624 merged commit 111c86c469 into main 2026-03-13 13:47:12 +01:00
shahondin1624 deleted branch feature/issue-24-editable-attribute-values 2026-03-13 13:47:12 +01:00
Sign in to join this conversation.