Skip to content

Keep the Settings slicer chooser when a slow slicer check finishes - #206

Merged
vycdev merged 1 commit into
developfrom
fix/slicer-check-settings-chooser
Nov 20, 2026
Merged

vycdev merged 1 commit into
developfrom
fix/slicer-check-settings-chooser

Conversation

@vycdev

@vycdev vycdev commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

If a saved slicer was uninstalled and its check was slow, clicking Open in Slicer and then opening Settings → Open in Slicer → Change could turn the Settings chooser into an export-and-launch. When the late "missing" or failed result came back, it replaced the open Save-only chooser with a normal one, so Save became Open, the Remember switch reappeared, and the saved slicer was forgotten. A late "found" result could launch the model while the Settings chooser was open.

Now each Open in Slicer click holds a token, and showing any chooser clears it. A late check result whose token is gone is ignored. The changed-preference guard from #189 and #205's call to the latest openInSlicer are unchanged.

Proof: 4 new unit tests in tests/useSlicerChoice.test.ts and 3 new @smoke cases in tests/e2e/open-in-slicer.spec.ts (found / missing / failed check finishing while the Settings chooser is open) fail without the fix and pass with it. A further unit test fails if #189's guard is removed. npm run lint, npm test (0 failures), and the full open-in-slicer spec (10/10) pass.

Reviewed with sol-loop: 1 round with gpt-6.2-sol. Sol verdict: approved

Council review

Rounds: 2 (round 2 rechecked only the rebase onto #205)

Delegate Round 1 Round 2
Claude Opus 5.5 9/10 not run
GPT-6.2 Sol 9/10 10/10

Created with Claude Opus 5.5 in Claude Code (T3 Code).

🤖 Generated with Claude Code

@vycdev
vycdev force-pushed the fix/slicer-check-settings-chooser branch 3 times, most recently from 8a89ca4 to cb55637 Compare November 20, 2026 14:42
A slow Open in Slicer check could replace the Settings chooser with its own
request, turning Save into Open, or launch the model over it. Showing any
chooser now clears the pending click, so the late result is dropped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vycdev
vycdev force-pushed the fix/slicer-check-settings-chooser branch from cb55637 to 62e3168 Compare November 20, 2026 15:02
@vycdev
vycdev merged commit 440ac16 into develop Nov 20, 2026
14 checks passed
vycdev added a commit that referenced this pull request Nov 20, 2026
Merge the four Open in Slicer bullets into one entry for the shipped
flow, fold Multi-head filament requirements into Multi-head printing,
and move the decode-once image work into its own Changed entry. Move
touch-up history fixes that predate v4.3 into Fixed, add the missing
diagnostics folder fix, and reduce the cats benchmark entry to one
Fixed line. Fold in the notes from PRs merged since (#203, #205, #206,
#208, #209, #210, #212, #213) and trim test-only and maintenance
details that do not help users.

Co-Authored-By: Claude Opus 5.5 <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