Skip to content

Quanah: optional Star Force cascade; class for hand-entered pieces - #14

Merged
ejpham merged 1 commit into
mainfrom
fix/quanah-optional-cascade-and-piece-class
Nov 28, 2026
Merged

ejpham merged 1 commit into
mainfrom
fix/quanah-optional-cascade-and-piece-class

Conversation

@ejpham

@ejpham ejpham commented Nov 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Star Force missions no longer cascade by default: an item can be tapped straight from 23 to 24, so completing 24 should not complete 1-23. A checkbox on the Star Force card ("Also complete lower star levels") opts back in to the old behavior and is remembered in the browser. Groups opt in through optional_cascade in missions.json; bosses, Inspector levels and Battlesim floors always cascade.
  • Hand-entered Quanah pieces get a Class dropdown in the add and edit forms, defaulting to the selected class. The API now passes item_class through and update_item accepts it. Legacy pieces saved without a class show an "Unknown" choice when edited.

Test plan

  • Full pytest suite (842 passed) and Quanah JS tests (20 passed)
  • Manually check the Star Force checkbox and the Class dropdown in the app

🤖 Generated with Claude Code

Star Force missions no longer cascade by default, since an item can be tapped
straight from 23 to 24. A checkbox on the Star Force card opts back in to
completing the lower levels (remembered in the browser). Groups opt in via
optional_cascade in missions.json; bosses, levels and floors always cascade.

Hand-entered pieces get a Class dropdown (defaulting to the selected class) in
both the add and edit forms. The API now passes item_class through, and
update_item accepts it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@ejpham
ejpham merged commit a6eac53 into main Nov 28, 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