It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Sorting people list automatically

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

Thanks

5 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
crivers Atlassian Team Jul 05, 2016

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?

crivers Atlassian Team Aug 08, 2016

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.

0 votes
Deleted user Jul 19, 2018

Solution: Convince your company to use Slack.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Hipchat

Hipchat Cloud and Stride have reached End of Life (updated)

All good things come to an end - thanks to all our customers and partners who have been along the Hipchat and Stride journey with us.  As of Feb 15th 2019, Hipchat Cloud and Stride have reached ...

35,208 views 9 8
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you