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

Sam Cates I'm New Here Sep 22, 2017

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 Join to answer
Community showcase
Maarten Cautreels
Published Oct 07, 2017 in Hipchat

Bringing Structure to your HipChat Instance

...have mention name FirstnameLastname. Fe.: @MaartenCautreels This certainly helps to know who is being mentioned in a conversation. Imagine your colleague sends the following message...

467 views 1 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot