-
Notifications
You must be signed in to change notification settings - Fork 284
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
Fixes #36577 - Filter gets applied to all the repository upon removal #10640
Conversation
Issues: #36577 |
5ff63ce
to
1b60b4d
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.
just a few wording suggestions :)
...ascripts/bastion_katello/products/details/repositories/details/views/repository-details.html
Outdated
Show resolved
Hide resolved
1b60b4d
to
aa9c1a8
Compare
aa9c1a8
to
dc20aaa
Compare
dc20aaa
to
1f4455a
Compare
… of repository for which the filter was created.
1f4455a
to
5c99a80
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.
When clicking Remove Repository from the repo details screen / Select Action,
✔️ I see the section added to the modal when it's the last repo
✔️ I don't see the section added to the modal when it's not the last repo
One question.. When selecting a repo from the repo list screen and clicking Remove Repositories, I don't see anything special. Is this intended?
...ion_katello/test/products/details/repositories/details/repository-details.controller.test.js
Outdated
Show resolved
Hide resolved
Good point! For bulk actions, we don't check if individual selected repos are part of published versions or this use case..For CV versions that is fine because we fail the deletion for that repo. For filters we would default to deleting the filter. |
Have we always deleted the filter in this case? Or this PR changes that behavior? If it's a change, should probably add some notice to that modal. |
We do change the behavior. Earlier it would make the filter apply to all repos.. |
f31c229
to
fb8a914
Compare
fb8a914
to
d820de9
Compare
d820de9
to
b2de292
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.
I was expecting a different message on both the bulk product delete confirmation and the bulk repository delete confirmation modals, but I don't see them.
See my question/suggestion below about auto-deleting filters during bulk delete. Maybe we should change the behavior as per that, then update these modals to describe it. Thoughts?
...ts/javascripts/bastion_katello/products/details/repositories/views/product-repositories.html
Outdated
Show resolved
Hide resolved
...n_katello/app/assets/javascripts/bastion_katello/products/details/views/product-details.html
Outdated
Show resolved
Hide resolved
b2de292
to
51f542d
Compare
51f542d
to
5d3cbac
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.
thanks @sjha4!
ACK 👍
…Katello#10640) * Fixes #36577 - Filter gets applied to all the repository upon removal of repository for which the filter was created. * Fixes #36577 - Handle bulk repo and product deletion (cherry picked from commit 49a55b1)
What are the changes introduced in this pull request?
Considerations taken when implementing this change?
What are the testing steps for this pull request?