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
Multiple delete of datasets/members #1323
Conversation
Signed-off-by: Katelyn Nienaber <katelyn.nienaber@broadcom.com>
Also rearranged some integration tests, to match new refresh function location & name of Dataset actions file Signed-off-by: Katelyn Nienaber <katelyn.nienaber@broadcom.com>
love of potato Signed-off-by: Katelyn Nienaber <katelyn.nienaber@broadcom.com>
Signed-off-by: Katelyn Nienaber <katelyn.nienaber@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.
The delete works well for me with the keyboard option, but I noticed that it did not work when I tried to use the context menu Delete Data Set
to delete multiple datasets and members.
Is this as expected ? Can we wrap the existing delete command to also perform multiple deletion?
Signed-off-by: Katelyn Nienaber <katelyn.nienaber@broadcom.com>
@crawr I forgot to check this! It should be fixed now. |
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.
@katelynienaber I am in love with this new functionality!!! I have needed to cleanup my data sets list for some time now but deleting them 1 by 1 seemed so tedious lol.
I do have a simple request about the information pop up where it says node
, could we change the wording of that to maybe The following were deleted ...
or something similar?
Also, we have some failing integration tests that deal with deleting data sets that should get fixed with this PR
I am also seeing the following integration tests fail on this branch and not master so I wonder if the CLI version bump is causing another regression that will need to be addressed in a different High Priority
issue.
UPDATE/EDIT: I got confused with PRs I was testing, this PR shouldn't have the CLI bump correct? Wonder why the following are failing.
Signed-off-by: Katelyn Nienaber <katelyn.nienaber@broadcom.com>
@JillieBeanSim For the deletion text, is Also I removed those 2 failing |
@JillieBeanSim I am still getting the 2nd integration test errors, is it a problem for you as well? |
@katelynienaber I am still seeing those tests that deal with patterns fail and only on this branch do I see this issue. These tests directly follow the delete test you have and they use the same testTree so I wonder if the delete is altering the testTree for the following tests. |
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.
Great work on this @katelynienaber, thanks!
@JillieBeanSim I've fixed the integration tests, please take a look if you have time ^^ |
@katelynienaber I am still getting the failures on this branch, maybe someone else could run them also and make sure it's not just my. I know these tests can be finnicky at times. |
I have them as well. |
@JillieBeanSim @jellypuno Could you give me more info about the failures? Because they are passing for me: |
Can you show me your testProfileData.ts? Mask your credentials |
@katelynienaber I'm having an error here |
I am running the pre-test and post-test before executing integration |
@JillieBeanSim Katelyn and I have been investigating this one and it is a really tricky issue. I think we would need more time to investigate. If it is okay with you, Can we merge this PR and then follow-up on a fix for that integration test? |
@jellypuno @katelynienaber that should be fine. I will test functionality again this afternoon and if none of that changed from before throw my approval on it. Should an issue be created for handling the integration tests or just wing it? |
@katelynienaber please open an issue for the integration for tracking. |
@jellypuno @JillieBeanSim here is the issue for the integration tests. I will try to get to them in that weird 4-day week I have after this sprint, before I go on vacation. If nothing else comes up. |
@katelynienaber deleting multiple data sets works well with right-click and keyboard , but multiple delete of members doesn't remove the members from the tree until the data set is closed then re-opened. I see these errors below in the debug console for each member |
Signed-off-by: Katelyn Nienaber <katelyn.nienaber@broadcom.com>
Signed-off-by: Katelyn Nienaber <katelyn.nienaber@broadcom.com>
@JillieBeanSim I added a fix for this, please take a look ^^ |
Thanks @katelynienaber! All LGTM with the update to handle the members being removed from the tree as well during the deletion. This multi-delete action is so awesome!! Thanks for getting this done for us |
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 @katelynienaber
Proposed changes
Does what it says on the tin.
Release Notes
Milestone: Backlog
Changelog: Added multi-delete capability for data sets and members
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