-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/multi select/context menu/data sets #1917
Conversation
Signed-off-by: KutluOzel-b <kutlu.ozel@broadcom.com>
Signed-off-by: KutluOzel-b <kutlu.ozel@broadcom.com>
Signed-off-by: zFernand0 <fernando.rijocedeno@broadcom.com>
Signed-off-by: zFernand0 <fernando.rijocedeno@broadcom.com>
Signed-off-by: KutluOzel-b <kutlu.ozel@broadcom.com>
Signed-off-by: KutluOzel-b <kutlu.ozel@broadcom.com>
Signed-off-by: KutluOzel-b <kutlu.ozel@broadcom.com>
Signed-off-by: KutluOzel-b <kutlu.ozel@broadcom.com>
Signed-off-by: KutluOzel-b <kutlu.ozel@broadcom.com>
Signed-off-by: KutluOzel-b <kutlu.ozel@broadcom.com>
Signed-off-by: KutluOzel-b <kutlu.ozel@broadcom.com>
Signed-off-by: KutluOzel-b <kutlu.ozel@broadcom.com>
Signed-off-by: KutluOzel-b <kutlu.ozel@broadcom.com>
Signed-off-by: KutluOzel-b <kutlu.ozel@broadcom.com>
Signed-off-by: KutluOzel-b <kutlu.ozel@broadcom.com>
Signed-off-by: KutluOzel-b <kutlu.ozel@broadcom.com>
ef26e16
to
3121a44
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a few unexpected things with the add to favorites compared to what the main
branch does 😢
PR: uses the selected node
Main: uses the node clicked
Similar behavior happens on other trees
Here is a GIF to help explain what's happening (only includes the Jobs tree)
my intention was to do it for all trees, but the gif got a bit too long
Signed-off-by: KutluOzel-b <kutlu.ozel@broadcom.com>
Thanks @zFernand0 for reviewing it and good catch 👍 . That made me realize that we have the same issue on other views as well and leads some other bugs like selection of unintended files . So I changed the getting of selected nodes method and fixed it at bc294be The modifications also includes #1882 this pr context. It seems it is fixed now but being skeptical for both jobs / uss / ds views would be beneficial while testing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DATA SETS
- multi-select upload member didn't upload into both datasets only the latest selected
- ds member pull from mainframe flips through files in editor for each selected with only a single tab showing at all times when file not already opened. seems like strange behavior. maybe have it behave like edit does, that one works really well.
- migrate & recall still require the tree view to be refreshed to see changes causing the sessions to close, not relevant to this PR, I believe it's prior behavior but noting here to remember to create issue for this
JOBS
- same issue here as in DS view with pull from mainframe multi select
- get JCL only opened the first selected of multiple in text editor
Signed-off-by: KutluOzel-b <kutlu.ozel@broadcom.com>
@JillieBeanSim Thanks for the review and comments 👍 DATA SETS
Uploading multiple files(members) to a single dataset is what is available now. Still it shouldn't show up on the context menu though when multi selection happens.I thought It was unnecessary to add such behaviour. What do you think ? Is there a use case for it or would be nice to add ?
Resolved in commit : a44b738 JOBS
Resolved in commit : a44b738
This is actually related with the approach . I'm adding JCL statements together into a single file. I thought it would be more elegant way to manage multiple JCL Statements. What do you think ? |
Hey @KutluOzel-b thanks for addressing my comments. For the getJCL, I don't think it is a good idea to concatenate in to a single file. We may in the future bring in a functionality to edit and re-submit and this could prove problematic. For the DS upload, I don't know of a use case for uploading the same file into different DS's. If the option can be removed from the right-click menu that would be good to avoid bugs/issues being raised if users try and it doesn't work. If we are not sure how to accomplish these atm, we can always just remove these items from the multi select right-click menu for the time being and keep those issues open with comments to be addressed in a future PR. |
based on our quick discussion on standup, it seems like we still need to remove the getJCL and upload DS on multi-selection 😋 |
… for each Signed-off-by: KutluOzel-b <kutlu.ozel@broadcom.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 😋
Thanks for addressing the feedback so quickly 👍
Signed-off-by: KutluOzel-b <kutlu.ozel@broadcom.com>
…/github.com/zowe/vscode-extension-for-zowe into feature/multi_select/context_menu/data_sets
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! thanks @KutluOzel-b for the fixes and updates
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 😋
Proposed changes
Added multiple selection to manage context menu of Datasets and Jobs views
Datasets
Jobs
Release Notes
Milestone:
#1428
Completed DS and Jobs Views parts
Types of changes
What types of changes does your code introduce to Zowe Explorer?
Put an
x
in the boxes that applyChecklist
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 revieweryarn workspace vscode-extension-for-zowe vscode:prepublish
has been executed