Skip to content

fix(dialog): render upgrade categories as interleaved body rows#69

Open
InvisibleSpiders wants to merge 1 commit into
masterfrom
fix/upgrade-dialog-category-separators
Open

fix(dialog): render upgrade categories as interleaved body rows#69
InvisibleSpiders wants to merge 1 commit into
masterfrom
fix/upgrade-dialog-category-separators

Conversation

@InvisibleSpiders

Copy link
Copy Markdown
Owner

Summary

  • Replaced multiAction buttons for upgrade entries with clickable body text rows, so category headers can appear immediately before their upgrades
  • Each category gets a gold bold header row; each upgrade entry is an indented clickable text link with hover details
  • Confirm/cancel flow unchanged — clicking an entry still opens the confirmation dialog
  • Only the close control remains as a multiAction button
  • Added categoryHeadersInterleavedWithUpgradesInSortOrder test to UpgradeDialogTest

Root Cause

Paper dialog body text always renders before multiAction buttons, making it impossible to interleave category dividers with upgrade entries when using buttons for upgrades.

Test plan

  • ./gradlew.bat :haven-core:test --tests "dev.invisiblespiders.haven.core.dialog.UpgradeDialogTest" passes
  • Full :haven-core:test suite passes

Closes #68

🤖 Generated with Claude Code

Paper dialog body always renders before multiAction buttons, so category
headers placed as buttons appeared after all upgrade entries. Switch the
upgrade list to clickable body text rows (category header + entry per
upgrade), with only the close control remaining as a multiAction button.

Fixes #68

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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