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
173 stars 92 forks source link

Add type to session nodes #3309

Closed petermoogk closed 1 day ago

petermoogk commented 1 week ago

Proposed changes

Currently, the contextValue for a Zowe tree node does not encode the profile type. This makes it difficult for an extender to add a context menu action that should be visible for a specific profile type. This PR includes code that updates the context value for each of the three zowe views(ie data set, uss, and jobs). Each contextValue has "_type=" appended to the end.

Release Notes

Milestone:

Changelog:

Types of changes

Checklist

General

Code coverage

Deployment

Further comments

codecov[bot] commented 1 week ago

Codecov Report

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

Project coverage is 93.02%. Comparing base (dc2178f) to head (ee1b063). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3309 +/- ## ======================================= Coverage 93.02% 93.02% ======================================= Files 116 116 Lines 12046 12047 +1 Branches 2651 2655 +4 ======================================= + Hits 11206 11207 +1 Misses 839 839 Partials 1 1 ```

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


🚨 Try these New Features: