zowe / zowe-explorer-vscode

Visual Studio Code Extension for Zowe, which lets users interact with z/OS Data Sets, Unix System Services, and Jobs on a remote mainframe instance. Powered by Zowe SDKs.
Eclipse Public License 2.0
162 stars 90 forks source link

UX: How to handle the deletion of default profiles? #3039

Open zFernand0 opened 1 month ago

zFernand0 commented 1 month ago

After the implementation of #3037 is complete, we may need to decide what to do when profiles are deleted.

Here are some options:

Please not that there may be nested profile which also happen to be defaults.

Expand this section to see an example config file ```json { "$schema": "./zowe.schema.json", "profiles": { "LPAR1": { "type": "zosmf", "properties": { "host": "my.company.net", "port": 443 }, "profiles": { "zftp": { "type": "zftp", "properties": { "port": 21 } } }, "secure": [] }, "base": { "type": "base", "properties": {}, "secure": [ "user", "password" ] } }, "defaults": { "zosmf": "LPAR1", "zftp": "LPAR1.zftp", "base": "base" }, "autoStore": true } ```

Created a quick PoC of how the option could work if we decide to keep it: feat/delete-v2-profiles delete-profiles-v2

Originally posted by @t1m0thyj in https://github.com/zowe/zowe-explorer-vscode/issues/3037#issuecomment-2263999720

github-actions[bot] commented 1 month ago

Thank you for raising this enhancement request. The community has 90 days to vote on it. If the enhancement receives at least 10 upvotes, it is added to our development backlog. If it receives fewer votes, the issue is closed.