-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Prompt for credentials when 401 in editor, fix profile propagation #3302
Conversation
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3302 +/- ##
==========================================
+ Coverage 92.97% 92.98% +0.01%
==========================================
Files 116 116
Lines 12020 12051 +31
Branches 2639 2751 +112
==========================================
+ Hits 11175 11206 +31
Misses 843 843
Partials 2 2 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
94014fc
to
14cd2fa
Compare
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
4f68a7d
to
2e621eb
Compare
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
📅 Suggested merge-by date: 11/27/2024 |
Need to resolve some failing tests after changing UX behavior, will mark as ready soon |
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @traeok, I'm not sure what changed but not seeing the pop up like before when clicking file after incorrect creds initiated just the error in file editor.
Hi @JillieBeanSim, thanks for quickly re-reviewing - if possible, can you provide steps to reproduce this scenario? When testing the steps in the PR, I can't reproduce this with data sets, USS or jobs. |
Hey @traeok
this scenario worked when I previously approved |
Hmm... I'll have to do some more testing locally. If I follow these same steps, the prompt appears on my machine. Maybe its an OS-specific issue? Other reviewers might be able to confirm this behavior, but the source of the issue is unclear since I can't reproduce with the same steps 😓 The error will still appear in the text editor until the user clicks "Try again", but the pop up for updating credentials should appear as soon as the error appears in the editor. |
yes it worked that way when I tested and approved previously but not getting the pop up after pulling the latest. |
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for addressing my comments, all works great now! Thanks @traeok
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 😋
Thanks for the detailed testing instructions 🙏
This PR makes recovery much more straightforward 🙏
I guess I kind of expected a "credentials successfully updated" message after entering my valid creds, but clicking "Try again" worked just fine 😋
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for refactoring and reducing some duplication 🙏
Proposed changes
Fixes #3197, #3289
How to test
pnpm install && pnpm build
Release Notes
Milestone: 3.0.3?
Changelog:
Types of changes
Checklist
General
yarn workspace vscode-extension-for-zowe vscode:prepublish
pnpm --filter vscode-extension-for-zowe vscode:prepublish
Code coverage
Deployment