Vscode-extension-for-zowe: Add ability to filter by jobid

Created on 4 Jun 2019  路  8Comments  路  Source: zowe/vscode-extension-for-zowe

When using the JOBS view provided by the Zowe extension for VSC, it would be useful to be able to filter by jobid. For example zowe zos-jobs list jobs returns a list of jobids so it would be useful to copy a jobid from that list and find it quickly using the extension.

19PI3 Sprint 6 19PI4 Sprint 1 enhancement

All 8 comments

Perhaps the default view should show the job id by default in place of the job name.

When you submit a job, you're presented the jobid although you view it by jobname:
image

Maybe the presentation of the jobs could be similar to z/OS explorer jobs view?

It would be beneficial to be able to see both the job name and the job id, especially in cases where you submit the same job multiple times.

@MikeBauerCA You can see the Job Id if you hover on a particular job

JobIdHover

The aim with showing either the RC or the ACTIVE status was that if the same job had been submitted multiple times then the latest one would be easy to find.

work in conjunction with #118

@markcocker There is now a magnifying glass option to specify a more comprehensive search that includes owner, prefix or jobId. That option also has access to search history. The intention was to get something out there (whilst we are still in development mode) and ask for feedback. VSCode supports the creation of create simple dialogs (an entry field or quick pick) and to get a combination of items the only option is to link them. So it would be good to get your perspective.

@Colin-Stone Thanks - initial feedback from trying it out:

  1. For consistency, should label "Search for Jobs using attributes" be "Search Jobs Using Attributes"?
    Compare to casing and style of "Search Data Sets by Entering Patterns".
  2. Label "Choose "Create new..." to define a new filter alternatively select a previously defined filter" needs to have a comma, be two sentences or rephrased
    eg. "Choose "Create new..." to define a new filter or select a previously defined filter".
  3. When creating a new filter and entering the owner, it allows for multiple words eg. "COCKERM BLA" when only one word is actually used.
  4. Its not clear to me how you can remove filter definitions?

Thanks @markcocker. I created https://github.com/zowe/vscode-extension-for-zowe/issues/263 to cover points to 3.
The answer to 4 is that you can't. I've implemented a set with a capacity of 5 unique items each time you create a new item or select an item from the set it gets pushed to the front. If you add a new item to the set and the set exceeds 5 the last one drops off. So for example if you had a specific jobId filter set up and you have deleted that job, it would remain as an option in the filter list until you added enough additional filters for it to drop off the end of the list from lack of use.

Hope that makes sense. It seemed a reasonable solution I could apply consistently to filters on all three views

Was this page helpful?
0 / 5 - 0 ratings