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
159 stars 89 forks source link

fix(commands): Hide commands from palette that require nodes/info #2853

Closed traeok closed 2 months ago

traeok commented 2 months ago

Proposed changes

Hides the following commands from the Command Palette as they do not function properly without a node or other arguments:

If we want to add support for running some of these commands in the Command Palette, I'll file an issue to track those. For now, it's best to hide these so users don't try to run them, as there isn't any error handling in place - so any errors will show in a modal dialog. Thanks to @awharn for spotting some of these during our offline discussion 🙂

Release Notes

Milestone: 2.16.0 (or 2.15.3 if we want to release another patch, whichever is preferred)

Changelog:

Types of changes

What types of changes does your code introduce to Zowe Explorer? Put an x in the boxes that apply

Checklist

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 reviewer

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.33%. Comparing base (ce96759) to head (f33b391). Report is 8 commits behind head on main.

:exclamation: Current head f33b391 differs from pull request most recent head a4b9918. Consider uploading reports for the commit a4b9918 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2853 +/- ## ======================================= Coverage 93.33% 93.33% ======================================= Files 103 103 Lines 10724 10724 Branches 2320 2336 +16 ======================================= Hits 10009 10009 Misses 714 714 Partials 1 1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud