How can a HipChat addon control the order of Glances in the sidebar?

According to the documentation, glances are sorted by weight, which is an integer that defaults to 100, but the ordering does not appear to be honoring the weight values I'm assigning.

In case it matters, these are dynamically created glances, not glances that were declared in the addon descriptor.

For a little more context, my addon's config page allows the room admins to add and remove the glances they want for their room, so the addon dynamically creates and deletes glances as necessary when the admin interacts with the config page.  I also want the admin to be able to control the order in which the glances appear, but I have not had success with the weight attribute.

0 answers

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Aug 10, 2018 in Hipchat

What should I think about when migrating HipChat to Slack?

...from the beginning. We have built up a lot of content in HipChat, with it being a core tool in our distributed company model. While it is true that we didn’t need to move to Slack immediately, we felt it...

247 views 1 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