Skip to content

Show progress during context switch#1969

Merged
ravipal merged 5 commits intomasterfrom
ravipal/contextSwitch
May 13, 2020
Merged

Show progress during context switch#1969
ravipal merged 5 commits intomasterfrom
ravipal/contextSwitch

Conversation

@ravipal
Copy link
Contributor

@ravipal ravipal commented May 12, 2020

  1. Show the loading icon next to the context being switched
    image
  2. New auto refresh will be blocked while context switch is in progress.

Fixes #1965

@ravipal ravipal requested review from bwateratmsft and karolz-ms May 12, 2020 22:44
@ravipal ravipal requested a review from a team as a code owner May 12, 2020 22:44
Co-authored-by: Brandon Waterloo [MSFT] <36966225+bwateratmsft@users.noreply.github.com>
Copy link
Contributor

@karolz-ms karolz-ms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for addressing the feedback!

@ravipal ravipal merged commit aefe5ac into master May 13, 2020
@ravipal ravipal deleted the ravipal/contextSwitch branch May 13, 2020 23:22
ravipal added a commit that referenced this pull request May 14, 2020
* Show progress during context switch

* Address review feedback

* move the cache clearing logic to useDockerContext

* Apply suggestions from code review

Co-authored-by: Brandon Waterloo [MSFT] <36966225+bwateratmsft@users.noreply.github.com>

* remove unnecessary await

Co-authored-by: Brandon Waterloo [MSFT] <36966225+bwateratmsft@users.noreply.github.com>
ravipal added a commit that referenced this pull request May 14, 2020
* Show progress during context switch

* Address review feedback

* move the cache clearing logic to useDockerContext

* Apply suggestions from code review

Co-authored-by: Brandon Waterloo [MSFT] <36966225+bwateratmsft@users.noreply.github.com>

* remove unnecessary await

Co-authored-by: Brandon Waterloo [MSFT] <36966225+bwateratmsft@users.noreply.github.com>

Co-authored-by: Brandon Waterloo [MSFT] <36966225+bwateratmsft@users.noreply.github.com>
Dmarch28 pushed a commit to Dmarch28/vscode-docker that referenced this pull request Mar 4, 2021
* Show progress during context switch

* Address review feedback

* move the cache clearing logic to useDockerContext

* Apply suggestions from code review

Co-authored-by: Brandon Waterloo [MSFT] <36966225+bwateratmsft@users.noreply.github.com>

* remove unnecessary await

Co-authored-by: Brandon Waterloo [MSFT] <36966225+bwateratmsft@users.noreply.github.com>
@microsoft microsoft locked and limited conversation to collaborators Oct 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When doing Context > Use in explorer view, takes 20s for "Connected" icon to move

4 participants