Skip to content
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

[Feature Request] Combine buttons in Sketch task's UI to reduce the UI width #7518

Closed
2 tasks done
rahmanshaber opened this issue Sep 22, 2022 · 1 comment
Closed
2 tasks done
Labels
Feature FR for improvements or new features UI/UX

Comments

@rahmanshaber
Copy link

Is there an existing request for this?

  • I have searched the existing requests

Forums discussion

https://forum.freecadweb.org/viewtopic.php?f=34&t=71595&start=10

Subproject(s) affected?

No response

Idea description

All the tool's UI task fits in a small width except the Sketch tasks UI.
We can combine these 2 buttons as one and do the task they do in alternative click like "Toggle Visibility" does.

image

adrianinsaval suggested a solution and many people agrees on that.

Ideal UI for me:
• the "Filter:" label is removed as it's easy to understand what the combobox does
• the filters combobox has checkboxes in the list allowing to select more than one filter from the combobox itself, this eliminates the need for the "select multilple" button *
• a toggle button for the visibility of listed constraints is beside the combobox, using just an eye icon to make it compact **
• the settings buttons just displays a menu with checkbox, this eliminates the need for a dialog window (better UX as it's easier to dismiss), this also eliminates the need for the restrict visibility menu (that only has one item, very bad). ***

* should be doable according to [https://stackoverflow.com/questions/842 ... checkboxes](https://stackoverflow.com/questions/8422760/combobox-of-checkboxes) but I think the combobox would still close after selecting each filter, making it annoying, so more stuff would be needed to keep it open. Also it would be nice if clicking the checkbox for an item added it to the selected filters but clicking on the label made it the only filter. If the checkboxes in the combobox are too complex to implement another option is to have the "Multiple Filters" as second option after "All" in the combobox and selecting that would bring up the dialog to select them, once again eliminating the need for the dedicated button.
** alternatively the visibility toggle could be a check box at the top of the list as proposed by rahmanshaber. Or no button at all since an apropiate selection fo filters can always achieve whatever you want to do with this function.
*** should be doable according to [https://stackoverflow.com/questions/205 ... 84#2054884](https://stackoverflow.com/questions/2050462/prevent-a-qmenu-from-closing-when-one-of-its-qaction-is-triggered/2054884#2054884)

@paddle @abdullah @jnxd @openBrain any of you feel like you can (and want to) tackle this?

also here's an old overview by abdullah of this issue: https://forum.freecadweb.org/viewtopic.php?f=8&t=62942
and I'd like to highlight this proposal to have the filters organized in a tree style: [https://forum.freecadweb.org/viewtopic. ... 60#p537760](https://forum.freecadweb.org/viewtopic.php?p=537760#p537760)

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@luzpaz luzpaz added UI/UX Feature FR for improvements or new features labels Sep 22, 2022
@adrianinsaval
Copy link
Member

this can be closed now IMO as it was fixed by #7566

@luzpaz luzpaz closed this as completed Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature FR for improvements or new features UI/UX
Projects
None yet
Development

No branches or pull requests

3 participants