-
Notifications
You must be signed in to change notification settings - Fork 93
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
Profile management #2472
Profile management #2472
Conversation
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Codecov ReportAttention:
📢 Thoughts on this report? Let us know!. |
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
packages/zowe-explorer/__tests__/__unit__/utils/ProfileManagement.unit.test.ts
Fixed
Show fixed
Hide fixed
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Dumb question: I know it is an extra click, and some people may find it a bit annoying, but it might help clean up the Context menu even further. 😋 |
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.
-
Should we remove the login option for service profiles that have the "user" and "password" in the secure array?
May sound odd, but I was sort of expecting that option not to be there. -
When I click on the login option, and I cancel out of the user/password prompts, the "login successful message shows up... Should that be removed?
-
Should the logout operation be removed when there is no tokenValue stored in the vault? otherwise the user might get this error message.
-
This one might be on the
main
branch already and does not cause any error messages (other than the "Element with ID XYZ is already registered).
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
@zFernand0 addressed feedback except the |
changes made
A heads up with moving the validation and hiding options into menu. These options only work in the treeview the action is initiated in, same as the main branch. We could do follow up work to make these work across all 3 trees in the future. |
Just for awareness, this error was resolved in #2481 and will go away once maintenance changes are merged into main 👍 |
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.
Changes LGTM! 😋
Thanks for addressing the comments.
The concern about the logout option being presented, that option is only presented when the tokenType exists since that exists only when logged in and removed upon logout.
- Do we plan to possibly update this if we decide not to remove tokenType on logout?
The tokenValue in the vault check is reused from Rudy's work to determine if the profile should have login option and no basic auth options.
- Would it be possible to hook into that work to determine whether or not to should the logout option?
I found something kind of odd (which also happens on main and the marketplace)
When clicking the search icon on an APIML profile, it invalidates the profile with the following errors
And when clicking a ZOSMF profile, it asks for username and password. And if you cancel out of the prompt, you still get prompted for the search filter (dataset pattern, ...)
Hey @zFernand0 thanks for re-testing. Would you mind creating a bug issue for the errors mentioned that are pre-existing? |
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.
Description on some rows ends with a period, but not for other rows. Can we make this consistent? IMO without periods looks better 😋
Also curious if we should move "Disable Profile Validation" down further in the list? Although it's good that we have it, I don't think this option is used very often compared to other ones like "Edit Profile".
Signed-off-by: Billie Simmons <[email protected]>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
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 this enhancement @JillieBeanSim love the new icons :))
Proposed changes
This is an update for profile management that we can build from to eliminate issues we have seen users face with different authentication methods
right-click menu
basic auth:
token auth:
no auth specified:
Release Notes
Milestone: 2.12.0
Changelog: Introduce a new user interface for managing profiles via right-click action "Manage Profile".
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