feat: hide beacon-incompatible Z-offset UI and reposition fans button when Beacon probe is detected#215
Open
gmmcosta15 wants to merge 1 commit into
Open
feat: hide beacon-incompatible Z-offset UI and reposition fans button when Beacon probe is detected#215gmmcosta15 wants to merge 1 commit into
gmmcosta15 wants to merge 1 commit into
Conversation
… when Beacon probe is detected
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
When a Beacon probe MCU is detected in Klipper's available objects, certain Z-offset UI elements are now hidden because Beacon manages its own offset and the standard save/calibration workflow does not apply.
controlTab: hidecp_nozzles_calibration_btn; movecp_fans_btnto fill the vacated grid slot so the layout stays consistent with other pages.printTab: suppress theSave Z-Offsetbutton and the end-of-print confirmation popup (BasePopup_z_offset) that prompts to save the babystep change permanently.Detection uses
"beacon" in printer.available_objects, which is populated once per klippy-ready cycle and cleared on disconnect — no separate state flag needed.Motivation
Beacon probes handle Z-offset calibration internally. Showing the standard nozzle calibration button and the save-Z-offset workflow alongside a Beacon installation is misleading and can result in users overwriting the Beacon-managed offset with an incorrect value.