Skip to content

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
devfrom
feature/remove-baby-step-beacon
Open

feat: hide beacon-incompatible Z-offset UI and reposition fans button when Beacon probe is detected#215
gmmcosta15 wants to merge 1 commit into
devfrom
feature/remove-baby-step-beacon

Conversation

@gmmcosta15
Copy link
Copy Markdown
Collaborator

Description

  • Feature
  • Bug fix
  • Code refactor
  • Documentation

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: hide cp_nozzles_calibration_btn; move cp_fans_btn to fill the vacated grid slot so the layout stays consistent with other pages.
  • printTab: suppress the Save Z-Offset button 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.

@gmmcosta15 gmmcosta15 requested a review from HugoCLSC May 21, 2026 14:30
@gmmcosta15 gmmcosta15 self-assigned this May 21, 2026
@gmmcosta15 gmmcosta15 marked this pull request as ready for review May 21, 2026 15:25
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