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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in Statuspage

What are your best incident management tips and stories? #HugOps

 👋Community members! Downtime happens. And great incident response takes a village. Teams like Support, Dev, SRE, Ops, IT, and Marketing have to come together to resolve the problem while keep...

72 views 2 3
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