vscode-docker icon indicating copy to clipboard operation
vscode-docker copied to clipboard

Docker extension provides no visible progress/activity indicator when using `Build Image in Azure...`

Open charris-msft opened this issue 2 years ago • 5 comments

Issue

I've run through the "Build Image in Azure..." process a number of times and I have never noticed any kind of progress or activity indicator other than the logs in the OUTPUT window.

Unless you are intimately familiar with the normal steps, it makes it quite difficult to determine whether the build is done or there is more work to do and you need to be patient.

Expected behavior

I expect the OUTPUT window, a notification message, or something to visually indicate that the build is in process and I need to wait.

Video Repros

https://microsoft.sharepoint.com/:f:/t/JEM/EklDiahGaQtDigc5E2SlrYAB3YU7H2NvdoiyIo1AkQUZ-A?e=eCGRIh

charris-msft avatar Sep 16 '22 20:09 charris-msft

I'll investigate. I thought it was supposed to automatically open the Output window and show the logs, but it's been a while since I've tested this.

bwateratmsft avatar Sep 16 '22 20:09 bwateratmsft

Hey @bwateratmsft - It is automatically opening the Output window, but for someone who hasn't used it much, it's not clear when it's doing work and when it's complete.

charris-msft avatar Sep 16 '22 21:09 charris-msft

Is a toast notification upon job completion more in-line with what you'd expect?

bwateratmsft avatar Sep 19 '22 13:09 bwateratmsft

Commonly, extensions will have a toast notification indicating that an operation is in progress, and then the notification will change when it is done to indicate completion, often with a button to take you to the next relevant place.

Example of a pretty nice experience: App Service shows creation progress indication for each step, plus a completion message in the AZURE: ACTIVITY LOG And a toast notification upon completion that contains a button for the next logical step - in this case Deploy image

Then when clicking the deploy button, there is a toast notification link to view the progress: image

When you click the link above you see the progress in the App Service log: image

When deployment is finished you get another notification with 3 buttons for the next logical steps - Browse Website, Stream Logs, Upload Settings.

charris-msft avatar Sep 19 '22 15:09 charris-msft

I think that's reasonable and IMO better than just log streaming. I like the idea of having a button to open the logs for users that are interested, but not necessarily opening logs by default.

bwateratmsft avatar Sep 19 '22 15:09 bwateratmsft