LuckPermsWeb icon indicating copy to clipboard operation
LuckPermsWeb copied to clipboard

Group sorting

Open Chronic-Reflexes opened this issue 5 years ago • 4 comments

Ive noticed when you start making alot of groups, they can get pretty unorganized, my suggestion is that you can sort group in the web editor by alphabetical order, track, or parent. and be able to reverse order them

Alphabetical: Self explanitory

Track: Default --> Member --> trusted

Parent: list from first parent, to last parent, vice versa

Chronic-Reflexes avatar Aug 16 '19 13:08 Chronic-Reflexes

This is already planned for the web editor but thank you for the suggestion.

Turbotailz avatar Aug 16 '19 13:08 Turbotailz

For me the groups are all sorted by weight if I have any set.

Tobi406 avatar Aug 16 '19 13:08 Tobi406

Suggestions for the web editor should go to the lucko/LuckPermsWeb repository.

Andre601 avatar Aug 16 '19 14:08 Andre601

v2 of the editor currently sorts groups by weight. There is now a Tracks section which also lists groups as defined by the track order.

I will look into adding other sort methods for the Groups section which allows for ordering groups by alphabetical order and weight - both ascending and descending.

Ordering by parents will be difficult, as multiple groups can share the same parents, or multiple parents, and I'm not interested in figuring out an algorithm for such a small feature.

Turbotailz avatar Jan 21 '20 00:01 Turbotailz