PermissionsViewer: sort roles by hierarchy, users alphabetically#4194
PermissionsViewer: sort roles by hierarchy, users alphabetically#4194Vexify4103 wants to merge 1 commit into
Conversation
|
Ordering alphabetically doesnt make that much sense either imo. If anything it should be ordered by hierarchy, i.e. highest role first |
|
What if we do roles per hierarchy and users alphabetically? |
|
sounds good |
62bae92 to
4234d11
Compare
|
Also what do we think of the idea of adding a toggle button, which would allow switching from usernames to nicknames? |
4234d11 to
376c5c5
Compare
376c5c5 to
f1e02e6
Compare
|
Seems pretty over-engineered, like AI code usually is |
|
Yeah I used claude to do this pr. The username sorting alphabetically is good, you already approved. The nickname stuff is pretty over engineered. I can remove it if you want. |
17f4650 to
708cb80
Compare
708cb80 to
3631712
Compare
|
I’ve gone ahead and removed the nickname toggle change now. |
Currently the roles/users list in the permissions modal is unsorted, making it hard to find a specific user or role at a glance.
This change sorts the list alphabetically by name within each type group (roles first, then members), re-sorting reactively when member data finishes loading.