-
-
Notifications
You must be signed in to change notification settings - Fork 434
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(ui): Add FORCE_MOVE support to tool controls #750
Conversation
Signed-off-by: Kerim Bilgic <[email protected]>
Signed-off-by: Kerim Bilgic <[email protected]>
Thanks for this @BastelKlug, I've just taken it for a quick test and it works very well! 😁 Having said that, I personally am not a fan of the override positioning... I do wonder if it would look better as a button here: If you look at the temperature charts, we have a button there that has "Chart Off/On", and I think the same approach can be taken here... @matmen what do you think? |
I agree, having it in the card header would be much better placement-wise. I also think that some kind of warning definitely is necessary here, optimally every time FORCE_MOVE is enabled, but I'm also fine with having a setting under General that shows/hides the checkbox in the tool card (which then displays a warning when it's toggled on). Maybe the latter is even a better option so we don't clutter "normal" users UIs? |
Hi, I will work on the changes and upload them when they are ready. |
Signed-off-by: Kerim Bilgic <[email protected]>
Hi, I am back and have implemented the suggestions. So here you can see the changes in action: |
Signed-off-by: Pedro Lamas <[email protected]>
Signed-off-by: Pedro Lamas <[email protected]>
Signed-off-by: Pedro Lamas <[email protected]>
Signed-off-by: Pedro Lamas <[email protected]>
This is really great, thank you for your work here @BastelKlug! 🙂 I've now approved the PR, but made a couple of changes before we merge this down, specifically:
|
I do wonder if we should change the movement buttons from the existing up/down/left/right arrows to minus/plus when FORCE_MOVE is enabled... any thoughts on that @BastelKlug @matmen ? |
@matmen I notice now that you actually mentioned having a toggle button to show/hide the FORCE_MOVE button on the interface - the one I just removed (oops!) I wonder if we actually need this toggle, given the button will only show if enabled in the printer.cfg (same as the QGL, bed screws, z_tilt, etc.) |
My thoughts were that users that sometimes use FORCE_MOVE could disable the toggle for a less cluttered UI, but seeing the changes I don't really mind having it there anymore. I'll review this later :) |
I think in those cases, everything should just go to the overflow menu... guess we need to make a few changes here... but that is for a different matter to this topic! 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functionality wise it works fine, though I'm wondering it it maybe should be disabled when the printer is homed? Maybe I'm missing something here, but what's the use case of using FORCE_MOVE when the printer is already homed and can be moved - is it just for moving it out of range (that's what I use FORCE_MOVE for mostly)?
True, but if Klipper allows it, why should we limit the feature ourselves? It's not like we disable the homing buttons when the printer is homed either! 🙂 I know some users have overridden the default homing procedure and use FORCE_MOVE instead (I believe there's even an "advanced homing macro" somewhere, though I can't remember where I saw it now...) |
True, fair enough 😂 |
Closes: #494
Hi,
I am here with another PR 😁 I hope I have not misunderstood the request.
I have made a video again to demonstrate the function:
force_move-demo.mov
I have not included a warning, anyone who manually activates force_move should actually know the dangers. Personally, I would find it annoying. If it is still desired, I can work on it.
This PR is not complete and needs some css work. I've been working on it for days but failed, maybe someone else can help. There is a comment under Toolhead.vue.
You can see the css disaster by marking the background:
If anyone has any questions about the code, please contact me on Discord: BastelKlug#5605
Signed-off-by: Kerim Bilgic [email protected]