fluidd icon indicating copy to clipboard operation
fluidd copied to clipboard

[FR] Ability to expose native Klipper commands as buttons

Open Sineos opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe

Just stumbled over this example: https://klipper.discourse.group/t/internal-error-bed-screws-adjust/11159/2

I find it horrid to create a macro just to be able to display built-in Klipper commands as a button in the UI.

Describe the solution you'd like

Provide means to map built-in Klipper commands to buttons.

Describe alternatives you've considered

No response

Additional information

No response

Sineos avatar Oct 24 '23 06:10 Sineos

Hi @Sineos, thank you for sending this Feature Request.

I do see value in this request, though I haven't yet given proper thought on how we would go to implement this...

Nevertheless, for the specific case that the link refers, we already expose all of those directly on the Fluidd interface!

The BED_SCREWS_ADJUST is on the "Tools" menu in the Tool card:

image

Once the user clicks that, the "Bed Screws Adjust" dialog will pop up with the tool status and action buttons:

image

The dialog will only show if this option is enabled though:

image

pedrolamas avatar Oct 26 '23 12:10 pedrolamas

Thanks for coming back to this @pedrolamas.

Yes, I'm aware of the above functionality and the initial example was not the best. I just have seen such "button macros" quite sometimes in support activities and finally thought, I just place this FR, since I think it is cluttering and "abusing" the printer.cfg for an UI inherent functionality.

Maybe a simplified version of Octoprint's Custom Controls, e.g. just a control name and an underlying command.

Sineos avatar Oct 26 '23 14:10 Sineos

I wasn't aware of the OctoPrint Custom Controls, but that sure has spiked my interest!

pedrolamas avatar Oct 26 '23 14:10 pedrolamas