Background
As a follow up to the work done in T296467: Immediately open template dialog and show progress bar, we decided to go a simpler route, where we show feedback in the button that something is loading and the user needs to wait.
Requirements
- When the VE template dialog is opened (by clicking the Edit button, by double clicking the template itself, when it's selected and the Enter is pressed on the keyboard), then the Edit button becomes disabled and button label is changed to Loading ...
- When users press the close button (doesn't apply to save), then they should not see the Loading... button state. This can be accomplished by either resetting the button back to Edit or by closing the context menu when they press close in the dialog.
Note: this is desktop only and does not apply to minerva.
Mocks
Before open
After open
Draft patches
- See T296467#7552795