feat: add in-app dice roll results dialog (Closes #15) #61

Merged
shahondin1624 merged 1 commits from feature/issue-15-dice-roll-display into main 2026-03-13 13:38:34 +01:00

Summary

  • Add DiceRollResultDialog composable showing individual die values as colored chips (green for successes 5+, red for 1s, neutral for 2-4)
  • Display success count, dice count, glitch detection (ones > half dice), and critical glitch detection (glitch + 0 successes)
  • Wire dialog into CharacterSheetPage via hoisted state, replacing println callbacks in Attribute and Talent roll buttons
  • Dialog uses FlowRow layout for die chips and dismisses on OK button

Closes #15

## Summary - Add `DiceRollResultDialog` composable showing individual die values as colored chips (green for successes 5+, red for 1s, neutral for 2-4) - Display success count, dice count, glitch detection (ones > half dice), and critical glitch detection (glitch + 0 successes) - Wire dialog into `CharacterSheetPage` via hoisted state, replacing `println` callbacks in Attribute and Talent roll buttons - Dialog uses FlowRow layout for die chips and dismisses on OK button Closes #15
shahondin1624 added 1 commit 2026-03-13 13:38:29 +01:00
Replace println callbacks with a visual dialog showing individual die
values as colored chips (green=success 5+, red=1s), success count,
and glitch/critical glitch detection. Dialog is triggered from both
Attribute and Talent roll buttons via hoisted state in CharacterSheetPage.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
shahondin1624 merged commit 9d530ed398 into main 2026-03-13 13:38:34 +01:00
shahondin1624 deleted branch feature/issue-15-dice-roll-display 2026-03-13 13:38:34 +01:00
Sign in to join this conversation.