Print Workflow UI tweaks #56

Manually merged
viewit merged 6 commits from gangoke/KX-Bridge-Release:start-print-workflow into master 2026-06-16 15:25:18 +02:00
Contributor

Summary

This branch improves the print-start workflow in the web UI and bridge logic, including auto-leveling support, safer print controls, and translation updates.

Features

  • Auto launch Print Start dialog on Orca upload and File Browser upload, and new Print button in Progress section (File browser print button still launches print start dialog)
    --Legacy print bar still available, change via settings
  • Added auto-leveling option in the print start dialog
  • -Setting (in settings) now only effects the defualt selection
  • Added Start/Clear controls in the Progress section.
image.png image.png image.png image.png

Fixes

  • Fixed object skipping from the print dialog. Previously it didn't actually skip the file. Delayed applying the object skip to AFTER the print starts
  • Fixed behavior where uploading a file during an active print could replace the currently printing file in Progress.
  • Added missing translation mappings across supported locales.
## Summary This branch improves the print-start workflow in the web UI and bridge logic, including auto-leveling support, safer print controls, and translation updates. ## Features - Auto launch Print Start dialog on Orca upload and File Browser upload, and new Print button in Progress section (File browser print button still launches print start dialog) --Legacy print bar still available, change via settings - Added auto-leveling option in the print start dialog - -Setting (in settings) now only effects the defualt selection - Added Start/Clear controls in the Progress section. <img width="300" alt="image.png" src="attachments/861a0dc6-ff22-4635-92af-841cf2c94169"> <img width="405" alt="image.png" src="attachments/ccf9309d-8ef6-4c88-b52c-50931bfecee8"> <img width="335" alt="image.png" src="attachments/35d1b6fc-f579-4a06-b202-e032fd81de71"> <img width="330" alt="image.png" src="attachments/8f16fc63-100e-43dd-a24c-3fa99d8cd789"> ## Fixes - Fixed object skipping from the print dialog. Previously it didn't actually skip the file. Delayed applying the object skip to AFTER the print starts - Fixed behavior where uploading a file during an active print could replace the currently printing file in Progress. - Added missing translation mappings across supported locales.
gangoke added 6 commits 2026-06-16 13:05:50 +02:00
Author
Contributor

RIP 😂
I'll check out the new build tomorrow

RIP 😂 I'll check out the new build tomorrow
Owner

Hi @gangoke, thanks a lot for this PR! 🙏

The branch had diverged from the current master (it was based on the pre-0.9.22 state), so it wasn't auto-mergeable. Rather than lose your work, I integrated the changes manually on top of 0.9.22 — closing this as manually merged.

What was adopted:

  • Auto-open print dialog after upload — new print_start_dialog setting (1 = dialog auto-opens when printer is idle, 0 = keep the print bar). Added to config.ini, config_loader.py, env_loader.py (with file_ready_dialog as a backward-compat alias) and the settings UI (Printer category → "Start Print Behavior").
  • Per-print auto-leveling toggle — the auto-leveling checkbox now lives inside the print dialog and overrides the global default per print. Backend reads auto_leveling from the request body in both /printer/print/start and /kx/print.
  • Object-skip fix — your insight was spot-on: the skip command was sent before the print actually started, so the printer (not yet in printing state) silently ignored it. Now there's a retry loop (_apply_preprint_skip_after_start) that waits until kobra_state == "printing" and re-applies the skip, plus a pending-lock so the UI doesn't reset the skip state before the printer confirms.
  • Upload-during-active-print fix — uploading while a print is running no longer overwrites the thumbnail/file_ready of the running job.
  • New translation keys — print dialog + log filtering + ACE dry presets, across all 5 languages.

What I kept from 0.9.22 instead of the PR version:

  • The Settings panel (we'd already replaced the old modal with a master-detail panel), so only the new fields were merged in to avoid duplicate UI.
  • The configfile/motion_report stubs (Mobileraker fixes from #48) — your branch predated those.

This will ship in 0.9.23. Thanks again for the careful workflow analysis — the skip-after-start fix in particular was a real bug. 👏

Hi @gangoke, thanks a lot for this PR! 🙏 The branch had diverged from the current `master` (it was based on the pre-0.9.22 state), so it wasn't auto-mergeable. Rather than lose your work, I integrated the changes **manually** on top of 0.9.22 — closing this as *manually merged*. **What was adopted:** - **Auto-open print dialog after upload** — new `print_start_dialog` setting (`1` = dialog auto-opens when printer is idle, `0` = keep the print bar). Added to `config.ini`, `config_loader.py`, `env_loader.py` (with `file_ready_dialog` as a backward-compat alias) and the settings UI (Printer category → "Start Print Behavior"). - **Per-print auto-leveling toggle** — the auto-leveling checkbox now lives inside the print dialog and overrides the global default per print. Backend reads `auto_leveling` from the request body in both `/printer/print/start` and `/kx/print`. - **Object-skip fix** — your insight was spot-on: the skip command was sent *before* the print actually started, so the printer (not yet in `printing` state) silently ignored it. Now there's a retry loop (`_apply_preprint_skip_after_start`) that waits until `kobra_state == "printing"` and re-applies the skip, plus a pending-lock so the UI doesn't reset the skip state before the printer confirms. - **Upload-during-active-print fix** — uploading while a print is running no longer overwrites the thumbnail/file_ready of the running job. - **New translation keys** — print dialog + log filtering + ACE dry presets, across all 5 languages. **What I kept from 0.9.22 instead of the PR version:** - The Settings panel (we'd already replaced the old modal with a master-detail panel), so only the *new* fields were merged in to avoid duplicate UI. - The configfile/motion_report stubs (Mobileraker fixes from #48) — your branch predated those. This will ship in **0.9.23**. Thanks again for the careful workflow analysis — the skip-after-start fix in particular was a real bug. 👏
viewit manually merged commit 6b9ad9d426 into master 2026-06-16 15:25:18 +02:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: viewit/KX-Bridge-Release#56
No description provided.