how to show a dialog loading indicator with AUI

Morning...

I'm using AJS.Dialog to show a dialog. However, the dialog content is retrieved from the server when the trigger is clicked. This takes ~ 1 sec, and there is no indication that it's loading. I'm worrying people are going to think they missed the link and click it several times.

Is there some recommended method of solving this? I want to use AJS.dim(), and JIRA.Loading.showLoadingIndicator() however this second one is not in AUI. I feel like this should be built-in to AJS.dialog.

1 answer

1 accepted

0 vote

I did this by pulling out Loading.js and .less from jira, and adding them to my app. Looks great, but imho this should be added to AUI.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted 2 hours ago in Off-topic

Miscellaneous Monday - CreatatronV3

You may remember, not so long ago, that together we invented the most evil of machines: The Destructo5000!  The effects of missing Durian rippled over nations. Complete chaos as goat chee...

35 views 2 2
Join discussion

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