Skip to content

fix(client): make scry and surveil top-card reordering reliable#4589

Open
carlos4s wants to merge 1 commit into
phase-rs:mainfrom
carlos4s:fix/issue-684-scry-reorder
Open

fix(client): make scry and surveil top-card reordering reliable#4589
carlos4s wants to merge 1 commit into
phase-rs:mainfrom
carlos4s:fix/issue-684-scry-reorder

Conversation

@carlos4s

Copy link
Copy Markdown
Contributor

Summary

Closes #684

The modal now keeps drag reorder support, separates the scroll container from the drag group, and adds explicit arrow reorder controls so players can change kept-on-top order before confirming.

Implementation method (required)

How was the engine/parser logic in this PR produced? Check exactly one:

  • Produced via the /engine-implementer pipeline (plan → review-plan → implement → review-impl → commit)
  • Not /engine-implementer — explain why below

If you did not use /engine-implementer, state why:

Frontend-only change. No crates/engine/ parser, resolver, targeting, or rules logic was changed.

CR references

None. Existing engine scry ordering behavior already follows CR 701.22a; this PR only fixes the frontend interaction used to submit that order.

Verification

  • ./node_modules/.bin/vitest run src/components/modal/cardChoice/__tests__/libraryModals.test.tsx passed
  • node ../scripts/check-protocol-version.mjs && ./node_modules/.bin/tsc -b --noEmit passed
  • ./node_modules/.bin/eslint . passed with existing warnings only, no errors

@carlos4s carlos4s requested a review from matthewevans as a code owner June 29, 2026 05:15
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@carlos4s

Copy link
Copy Markdown
Contributor Author

@matthewevans would you pls review this pr?

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.

preordain — I can't change the cards' order if I keep both on top

1 participant