Vscode-extension-for-zowe: Support deleting a profile

Created on 26 Nov 2019  路  8Comments  路  Source: zowe/vscode-extension-for-zowe

The idea is to let a user delete a profile because it is no longer needed.

Today, a user can remove a profile which removes it from the Zowe Explorer UI but the profile remains stored in the .zowe > profiles folder.
image

20PI2 Profiles

Most helpful comment

@crawr, did you add a context menu entry?

@jelaplan Yes, I did.

Based on the comments, the new context menu for Data Sets and USS tree profiles will be:

For Jobs:

All 8 comments

@jelaplan For the function to delete profiles permanently,
Instead of the following options,

  1. via dropdown context menu
  2. via trash icon near the profile

I would like to implement it

  1. via a separate "Command Palette" option. (via Ctrl+Shift+P in Windows)
    delete

The next step would be to choose the profile from the list
select

The idea is just to declutter the tree as I don't see myself using this option as often as Search or Create Dataset.

@crawr I prefer option #1. You might not be surprised that I'm not a fan of burying it in the command palette with option #3. I agree that option 2 is overkill because it isn't something used often. In the context menu, we have the Issue Command option and that is also available in the command palette. I'd like to see Delete Profile done the same way.

Delete Profile

The Figma version.
https://www.figma.com/file/9iSLJIpwD9m6pWzFLjFbym/Explorer?node-id=1190%3A2486

From the review today, shall we consider renaming "Remove profile" to "Hide profile", to help differentiate for the user what Delete does?

tagging @jelaplan

I missed the review. I asked Vaclav for the recording. Remove profile has been confused with delete profile in 2/3 usability tests I've run so yes, it seems a poor name. Hide profile seems much better.

@crawr, did you add a context menu entry?

@crawr, did you add a context menu entry?

@jelaplan Yes, I did.

Based on the comments, the new context menu for Data Sets and USS tree profiles will be:

For Jobs:

Hide Profile makes sense to me.

Was this page helpful?
0 / 5 - 0 ratings