Feature summary (what you would like to be able to do and where):
As soon as AutosuggestSitelink is started (either after an edit when there's no sitelink, or by the user clicking on the tools menu link), the dialog should open and be immediately in the loading state. The API requests should be started then as well, and the loading state continue until the search results are back.
OOUI has a loading state for dialog windows, with the animated title bar.
Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
Benefits (why should this be implemented?):
Currently, the tools link turns grey while the search is carried out, then it turns blue again briefly, before the dialog is opened. This is confusing for the user, who can't see that anything is actually happening.
Task Description:
QA Results - Meta
AC | Status | Details |
---|---|---|
1 | ✅ | https://phabricator.wikimedia.org/T359611 here |