Skip to content

[Bug 1859080] Fix the bug of reporting error in azure explorer before sign in#5579

Merged
andxu merged 2 commits intodevelopfrom
feature-explorer-signin
Jul 23, 2021
Merged

[Bug 1859080] Fix the bug of reporting error in azure explorer before sign in#5579
andxu merged 2 commits intodevelopfrom
feature-explorer-signin

Conversation

@andxu
Copy link
Copy Markdown
Contributor

@andxu andxu commented Jul 22, 2021

No description provided.

shenqianjin
shenqianjin previously approved these changes Jul 22, 2021
@andxu andxu force-pushed the feature-explorer-signin branch from 1d35293 to 1fa7825 Compare July 22, 2021 09:05
if (AuthMethodManager.getInstance().isSignedIn() || this instanceof AzureModule) {
refreshItems();
}
refreshItems();
Copy link
Copy Markdown
Collaborator

@wangmingliang-ms wangmingliang-ms Jul 22, 2021

Choose a reason for hiding this comment

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

these 2 methods are have different meanings:
refreshFromAzure requires reload the data from Azure(when user click the fresh button/menu item).
refreshItems implicits we can load from cache(when user click to expand a parent node.)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

refreshFromAzure are not used in current impl, remove it and will add it if we need it.

@andxu andxu force-pushed the feature-explorer-signin branch from 1fa7825 to 7ffe950 Compare July 22, 2021 22:32
Copy link
Copy Markdown
Contributor

@shenqianjin shenqianjin left a comment

Choose a reason for hiding this comment

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

LGTM

@andxu andxu merged commit 2f96f26 into develop Jul 23, 2021
@andxu andxu deleted the feature-explorer-signin branch July 23, 2021 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants