KEMBAR78
Nudge users towards sign-in by alexr00 · Pull Request #4833 · microsoft/vscode-pull-request-github · GitHub
Skip to content

Conversation

@alexr00
Copy link
Member

@alexr00 alexr00 commented May 22, 2023

Fixes #4756

@alexr00 alexr00 enabled auto-merge (squash) May 22, 2023 14:48
@alexr00 alexr00 self-assigned this May 22, 2023
Copy link
Contributor

@rzhao271 rzhao271 left a comment

Choose a reason for hiding this comment

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

What happens when undefined is passed to credentialStore? Does the user receive a notification or sign-in dialog?

@alexr00 alexr00 merged commit 513a2f8 into main May 22, 2023
@alexr00 alexr00 deleted the alexr00/issue4756 branch May 22, 2023 14:59
@alexr00
Copy link
Member Author

alexr00 commented May 23, 2023

@rzhao271
Copy link
Contributor

@alexr00
Copy link
Member Author

alexr00 commented May 24, 2023

The argument that credentialStore takes is just the vscode.AuthenticationGetSessionOptions, which is just passed on to the VS Code getSession API. The behavior will be as outlined in https://github.com/microsoft/vscode/blob/38f024adf8e43c53a56c42cdb0d5bcd4697b376e/src/vscode-dts/vscode.d.ts#L15662-L15665. So, undefined means that a badge will show on the Accounts icon.

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.

Nudge users towards sign-in

3 participants