Skip to content

Keep link greyed out during loading

Samwilson requested to merge rm-color into main

Rather than only greying out the toolbox link for 3 seconds while loading the search results etc., instead pass a $link object to the handlers and remove the grey color only after the API calls have been made.

This doesn't preclude also adding the loading state to the dialog and opening that earlier, but because we need to load the OOUI dependencies it seems like keeping a loading state on the link is probably a good idea as well.

Bug: T360184

Merge request reports