how to show a dialog loading indicator with AUI


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 Join to answer
Community showcase
Jason Wong
Published 8 hours ago in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

183 views 3 12
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