kandanapp / kandan

Kandan is an Open Source Alternative to HipChat
GNU Affero General Public License v3.0
2.72k stars 408 forks source link

Sort user list by admin first, then by username #412

Closed scouttyg closed 9 years ago

scouttyg commented 9 years ago

Right now, users show in in the right panel almost at random -- I believe the correct order should be admins at the top, followed by non-admins, and then within those groups you sort by username. See below.

Before:

screen shot 2014-12-08 at 2 15 55 pm

After:

screen shot 2014-12-08 at 2 14 59 pm

coveralls commented 9 years ago

Coverage Status

Coverage remained the same when pulling ec56c9911742e501e9638476f22e0df7dbf94597 on scouttyg:sort-user-list into a5fe90188456c91b63b4eae9ad6bff9890a66d48 on kandanapp:master.

scouttyg commented 9 years ago

This ones pretty basic, going to pull this in.