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
Community showcase
Published Nov 14, 2018 in Hipchat Cloud

Hipchat Cloud and Stride End of Life: Just over 90 days away

Earlier this year we made the difficult decision to discontinue our team messaging tools, Stride and Hipchat. The end of life date for Stride and Hipchat Cloud is quickly approaching - February 15, 2...

30,431 views 0 7
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