eclipse-syson / syson

SysON: web-based graphical modelers for SysMLv2. Please visit https://mbse-syson.org and contact Obeo https://www.obeosoft.com/en/contact for more details!
https://mbse-syson.org
Eclipse Public License 2.0
100 stars 27 forks source link

Find/filter function not usable for large models with libraries like sysml #787

Open dvojtise opened 2 days ago

dvojtise commented 2 days ago

in several places of the editor, we may need to look for object in the libraries.

For example when creating an attribute, then we wan to set the type for it (Boolean, String ...)

the Typed by doesn't offers types from the library since there would be too much proposal so we need to use the ... button In this windows there is a Lens icon suggesting a search function but actually it only offers to filter.

It is not useful since the tree is collapsed and thus nothing is displayed.

We need either a real search function that will open the tree on relevant nodes, or at minimum (but less intuitive) a collapse all/expand all button so the filter would be effective.

Additionnaly, even knowing the correct library, the library displays "namespace" and "owningMembership" intermediate nodes from kerml that makes difficult finding the desired item

The view is quite small and cannot be resized in order to help the manual search ...

see screen shot of simple Boolean type search were the user need to know which library contains the item and manual search in the owningmembership : completion_boolean_Screenshot_20241021_135644

image Select_boolean_Screenshot_20241021_140031 unfold_select_object_Screenshot_20241021_140149

This is quite a problem for simple types like Boolean, String, etc but also for any user specific items not coming from the current model.

Tested with SysON v2024.9.1 (via docker compose up)

jerome-obeo commented 1 day ago

Hi Didier,

I'm adding a comment to mention an expandAll button exists in this tree, but its usability is a little bit awkward. You can reveal by hovering it on each line of the tree at the right of the label:

image

dvojtise commented 1 day ago

Hi @jerome-obeo while this helps a little bit, there's 2 points about this expand-all (this probably requires a separate issue)

AxelRICHARD commented 3 hours ago

Hello, thank you for the feedbacks, we appreciate it! We will see how to/if we can improve the user experience for each of your remark.

Regarding your last comment,

Regards,