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

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
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,205 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