-
Notifications
You must be signed in to change notification settings - Fork 94
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
Enhance UX for managing credentials #2445
Conversation
Signed-off-by: Timothy Johnson <[email protected]>
974fdd5
to
8c473af
Compare
Signed-off-by: Timothy Johnson <[email protected]>
Codecov ReportPatch coverage is
📢 Thoughts on this report? Let us know!. |
Signed-off-by: Timothy Johnson <[email protected]>
1ae2c08
to
502fee5
Compare
Signed-off-by: Timothy Johnson <[email protected]>
Signed-off-by: Timothy Johnson <[email protected]>
Signed-off-by: Timothy Johnson <[email protected]>
Signed-off-by: Timothy Johnson <[email protected]>
Signed-off-by: Timothy Johnson <[email protected]>
Signed-off-by: Timothy Johnson <[email protected]>
ce74a2d
to
6bdd1ab
Compare
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 @t1m0thyj 😁
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.
this is looking great @t1m0thyj!!
I was wondering if the logout option should be a radio button too? maybe not since the others are showing what is in use. Should we use a separator line for logout then similar to add/create profile?
I also notice that the quickpick didn't close after choosing the logout option, I have to escape it.
Signed-off-by: Timothy Johnson <[email protected]>
SonarCloud Quality Gate failed. 0 Bugs No Coverage information Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
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 pushing the latest updates, everything works great! Thanks @t1m0thyj for this enhancement
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.
When performing a token auth login, seems to be working well, I do have a concern in terms of the UI/UX for logging out in this change, should we show instead just a "logout" button or show the option for logout as a radio button too? i'm curious why it has a different UI for the logout.
Another thing I wanted to mention is that when clicking "logout" the pop up window with the option doesn't close but remains open, but the bottom right show that logout was done successfully, my feedback on this is I felt like maybe there is no feedback when clicking on the button that will tell the user that they logged out unless they look at the bottom right, I think maybe closing the pop up selection menu will help with this!
One more thing @t1m0thyj if you perform the following on a z/OSMF or extender profile:
This causes now the profile to be using both basic and token auth which now doesn't allow the user to logout unless the secure array properties with |
@rudyflores Thanks for the feedback! 😍
The radio buttons are for authentication options (User and Password, Authentication Token, and in the future Certificate File). Since logout is an action separate from these, I don't think it should be a radio button. I agree a "logout" button would be nice but unfortunately the UI options provided by VS Code for quickpicks are limited so we can't show a button with text on its own row. I've mocked up some alternative ideas:
Agree that the popup should close after logout, did you test with the latest commit? There was an issue with the popup not being closed that Billie pointed out which should be fixed in 5a6fc3a |
Hey @t1m0thyj due to concerns with the authentication methods and pre-existing issues with offering basic auth info gathering while token auth in place and other issues I have started work on a POC for profile management based off of these ideas, keep in mind this isn't complete yet. We can continue discussions on how we would like to proceed |
Closing in favor of #2472 |
Proposed changes
This PR refactors multiple context menu items:
into a single menu item "Manage Credentials" which shows a quickpick for users to choose an authentication method.
Release Notes
Milestone: 2.12.0
Changelog:
Types of changes
What types of changes does your code introduce to Zowe Explorer?
Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This checklist will be used as reference for both the contributor and the revieweryarn workspace vscode-extension-for-zowe vscode:prepublish
has been executedFurther comments
In addition to improving UX, this should make it easier to support certificates (#2373).