Spine-Toolbox icon indicating copy to clipboard operation
Spine-Toolbox copied to clipboard

Option to sort entity classes by dimensionality

Open DillonJ opened this issue 1 year ago • 1 comments

It would feel more natural to me to see entities displayed in the tree ordered by dimensionality.

If, for example, I click on the unit class, I will already see all the parameters that involve unit, so I will only ever need to search out the relevant multi-dimensional tree entries if I want to specifically filter by those. This will help manage clutter and get a better feel for the data in my opinion

DillonJ avatar Sep 15 '23 15:09 DillonJ

There will be a possibility to order your classes in any way you want down the road.

However, we could do this by default, as it's probably better than pure alphabetical sort. Of course we should have 0-dimensional classes in alphabetical order and then n-dimensional in alphabetical order after that.

jkiviluo avatar Sep 16 '23 07:09 jkiviluo

After the merge of the above PR, entity classes are first sorted by dimension count and then by name.

PiispaH avatar Jul 04 '24 08:07 PiispaH