This was brought up by one of our members and seems to make sense.
Currently the Users section can be sorted by lots of things (from Visits to Viewed, to Replies) except what I think is an important one: by username. There’s no way to sort the list of users (alphabetically) by username.
Likewise, using the general search and filtering using the ‘@’ prefix returns a list of existing usernames, but that’s also not sorted alphabetically — I guess it shows the most active first. Now, I actually agree with this one, but with that, it doesn’t seem to be possible to have a alphabetical list of usernames anywhere.
Hence, a feature request: could the table in the Users section have username as a sorting criteria as well? I imagine the Username column header to become “Username” and the number of results could be moved up, perhaps next to the time window filter, or, next to the search box.
The alignment of the Username header follows what other tables with users do in Discourse, like in the admin users list (where it is already possible to sort by username, but this is for the users).
The only other change is moving the number of results to the left of the filtering box where I think it is actually more easy to find than right now.
In small viewports it shouldn’t be a problem as the table columns are already larger than the size needed by the filtering controls at the top.
I am not against adding this, I wonder what @codinghorror thinks.
Additionally if prioritize username in ux is unchecked, that title should be “Name” not username and it should be “filter by name” no “filter by username”.
The table header on the first column changes to ‘Username’ (or Name, as per settings) and the number of results is moved next to the search box. Better mockup below.
The proposal does not strip any feature: the total user count is still there, only moved to the left of the filtering box where it is easier to find when searching:
Is it possible to have this looked into one more time please? I know this is not high priority, but I think it may have been dismissed due of a misunderstanding of what was being proposed. This would not strip any feature away. Please see my previous post for the details. Thanks.
OK I am putting a pr-welcome on your mockup, if someone from the community can swing it accounting for mobile and ensuring indexes are right then we can do this.