-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
CHE-4803: fix items bulk selection and filtration. #5083
Conversation
Build success. https://ci.codenvycorp.com/job/che-pullrequests-build/2598/ |
Build success. https://ci.codenvycorp.com/job/che-pullrequests-build/2611/ |
* @param id {string} a string to identify helper. | ||
*/ | ||
removeHelper(id: string): void { | ||
if (this.helpers.has(id)) { |
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.
do we need to check if map has the element, AFAIK delete will return either true or false but it can accept any element
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.
you're right, I'll remove this check.
Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com>
- add possibility to bind callback which fires on search value change. Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com>
- use CheListSvc for selection and filtration Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com>
- tests for selection and filtration for list items. Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com>
Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com>
Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com>
Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com>
Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com>
Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com>
Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com>
Build # 2629 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/2629/ to view the results. |
* CHE-4803: modify che-list-header directive - add possibility to bind callback which fires on search value change. Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com> * CHE-4803: add protractor tests for list-workspaces component - tests for selection and filtration for list items. Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com> * change timeout for updating model of workspace name Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com> * CHE-4803: update list in workspace-details-projects component Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com> * CHE-4803: update list in list-workspaces component - use CheListSvc for selection and filtration Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com> * CHE-4803: add helper for filtration and selection items. Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com> * CHE-4803: update list in list-factories component Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com> * CHE-4803: update list in list-stacks component Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com> * code clean-up Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com> * CHE-4803: update list in docker-registry-list component Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com> * fix test Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com>
* CHE-4803: modify che-list-header directive - add possibility to bind callback which fires on search value change. Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com> * CHE-4803: add protractor tests for list-workspaces component - tests for selection and filtration for list items. Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com> * change timeout for updating model of workspace name Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com> * CHE-4803: update list in workspace-details-projects component Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com> * CHE-4803: update list in list-workspaces component - use CheListSvc for selection and filtration Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com> * CHE-4803: add helper for filtration and selection items. Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com> * CHE-4803: update list in list-factories component Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com> * CHE-4803: update list in list-stacks component Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com> * code clean-up Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com> * CHE-4803: update list in docker-registry-list component Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com> * fix test Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com>
What does this PR do?
This PR adds the helper class which provides selection and filtration of items in a list.
There were fixed all lists where items can be simultaneously selected and filtered.
What issues does this PR fix or reference?
#4803
Changelog
[UD] Fixed bug when bulk operations work wrong after items are filtered.
Release Notes
N/A - bugfix
Docs PR
N/A - bugfix