Sorting people list automatically

Is there any way to automatically sort the "PEOPLE" list? Either sorting alphabetically or by last interaction time.

Thanks

4 answers

If you're using OSX, you can make this happen by editing HipChat.app/Contents/Resources/chat.html, and adding this line to the start of the orderRooms function (which in version 4.29.0.732 is at line 113966):

rooms = _.sortBy(_.values(rooms), ['name']);

Dude thanks for this! I can't believe this isn't a feature.  I have 0 coding experience and figured out where to paste after a few attempts.  Thanks again! 

FYI, for you Windows users, you can do the same thing in this file:

     <hipchat_installation_root>/localweb/hipchat-client.js

Make the change immediately after these lines:

        key: 'orderRooms',

        value: function orderRooms(rooms) {

 

it works! :) However last interaction would be more useful. Any idea if room has sth like last modified time? 

How do I access this?? @James Phillpotts @Joe Tustin

HipChat.app/Contents/Resources/chat.html

Where do I enter the following string on Mac?! How can I edit the app?

 

Thanks in advance..

How  to do the same, but ignorig case?

Upvote this feature for Atlassian to prioritize this - https://jira.atlassian.com/browse/HCPUB-363

I made the change on Windows and it really makes the client easier to use.

Great!

I have also ordered by pending chats:

  1. var roomsByName = _.sortBy(_.values(rooms), ['name']).reverse();
  2. rooms = _.sortBy(roomsByName, ['unreadCount']).reverse();

Probably can be optimized ;)

This is the room structure (you can use any property for sorting):

    {
        "topic": null,
        "admins": [],
        "participants": {
            "members": [],
            "guests": []
        },
        "files": [],
        "links": [],
        "is_archived": "0",
        "history_fetch_ids": [],
        "show_join_leave_messages": false,
        "guest_mention_regex": null,
        "most_recent_message": null,
        "last_read_message": {
            "mid": "xxxxxxxx-xxxxx-xxxxx-xxxxxx-xxxxxxx",
            "timestamp": 234266089.759309
        },
        "avatar_url": "",
        "roster_size": 0,
        "participants_fully_initialized": true,
        "presence": {
            "show": "unknown",
            "status": "",
            "seconds": "",
            "idleTime": ""
        },
        "unreadCount": 0,
        "unreadCountTemp": 0,
        "unreadMentionCount": 0,
        "unreadMentionJustMeCount": 0,
        "isUpdatingUnreadCount": false,
        "hasMention": false,
        "files_fetched": false,
        "links_fetched": false,
        "jid": "xxxxx@chat.bxxx.xxxxhat.com",
        "type": "chat",
        "id": 546456,
        "name": "xxxxxxxx"
    },

1 vote

There's no way to automatically sort the list of people on the left side currently, but we are consistently looking into options to better organize the list of chats (particularly for people who keep a lot of tabs open). It's possible that alphabetical and last-active sort will be an option in the future

The only way I keep people organized at the moment is to clear out everyone in my "people" tray each week. Is there a better way to keep track of recent conversations?

One option I've seen a number of people use is to always close 1-1 chats after you're done with any given conversation (or even after you send any message). We are working on providing persistent tracking for unread messages between sessions as well, which will hopefully help tracking recent updates.

Still no way to do this alphabetically?

Very useful feature -please add. 

Please upvote this feature request: https://jira.atlassian.com/browse/HCPUB-363

Thanks Chris. Working in an team with over 500 people it's a huge pain to keep the list organised.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jun 19, 2018 in Hipchat

Moving from Hipchat to Stride? Here’s what you’ll love

Heya, Hipchat friends! We’re so happy you’re checking out   Stride. Whether you know it or not, you have been instrumental in making Stride come to life. Every feature, design, and functionality...

15,224 views 4 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you