dsv-su / play

Dev repository for Play
0 stars 1 forks source link

Making suggested users easier to distinguish #98

Closed booski closed 2 years ago

booski commented 2 years ago

When searching for users, for example when editing a presentation, it can be hard to know which user to pick from the list if they only differ by username: Screenshot_2022-03-24_11-26-58-mod-2

Adding a tag/emblem on users with a DSV entitlement would make this easier: Screenshot_2022-03-24_11-26-58-mod

I'd suggest having a blue tag for staff and a green tag for students, matching the access cards. The text could be just DSV to save space, or DSV staff/DSV student as appropriate if it can fit.

Further possible improvements that could be made:

pavelsokolov commented 2 years ago

Labels were added and user search now works just like courses/tags. DSV and Students are listed first. However, there's a limitation because we assign labels after the search is done. Right now it fetches 1000 records (otherwise it takes too long). To handle that, I've raised the minimum length of the input field to 3 chars (to make sure we're getting relevant results).

pavelsokolov commented 2 years ago

Reopening this since I have now realized 'individual permissions' should also support these labels.