print-workflow/ui-fixes #60
Reference in New Issue
Block a user
No description provided.
Delete Branch "gangoke/KX-Bridge-Release:print-workflow-ui-fixes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes for some of my issues expressed in #57 and more
Tests
Tested every Start Print scenario with object skipping at start, and mid print. Confirmed selected objects skipped.
Tested every Start Print scenario with auto leveling enabled and disabled. Confirmed correct setting used, and default was respected.
Tested canceling out of most dialogs and refreshing browser. Stale dialogs no longer reapperaing unintentinoally
print-workflow-ui-fixesto print-workflow/ui-fixesThanks @gangoke — all changes have been manually integrated into master.
What was included:
_apply_preprint_skip_after_start: switched fromkobra_statetoprint_stateso skip commands are sent correctly during preheating/busy stateshandle_kx_skip_querynow waits up to 1.5s for a fresh skip/report before responding — eliminates the extra polling round-triphandle_print_start(Moonraker path) now has the same pending-skip block +run_in_executorthat was only inhandle_kx_printbeforesessionStoragepersistence for_fdUserCancelled/_fdAutoOpenedFile: auto-open dialog stays dismissed after page reloadwebVerifyCancelledFileIdin sessionStorage: verify dialog no longer re-opens automatically after reload/kx/printwhen_storeFileIdis known (same path as file browser), with improved error handlingstartReadyFile/startReadyFileWithSlots: storeFiles fallback fetch on page load;_proceedWithFileObjhelper_applySkipDialogStatepreserves pendingwillSkipselections during live refresh; 2s polling while dialog is openWill be included in the next release.
Thanks @gangoke — all of the fixes in this PR have been incorporated into v0.9.26.
We implemented the same changes independently while working through issue #57 (auto-leveling body-first, skip-state monotonicity,
print_statecheck instead ofkobra_state,_build_skip_state_result, sessionStorage dialog persistence,startReadyFileWithSlotsrefactor with_proceedWithFileObj, WebVerify gate with autoOpen flag). The overlap was ~99% — your PR and the issue analysis arrived at exactly the same solutions.Closing as the changes are already live. Your contribution was genuinely helpful — having a concrete PR to compare against confirmed we had covered every case correctly.
LGTM — incorporated in v0.9.26