Skip to content
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

Merged
merged 11 commits into from
May 18, 2017
Merged

CHE-4803: fix items bulk selection and filtration. #5083

merged 11 commits into from
May 18, 2017

Conversation

akurinnoy
Copy link
Contributor

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

@akurinnoy akurinnoy added the kind/bug Outline of a bug - must adhere to the bug report template. label May 16, 2017
@akurinnoy akurinnoy self-assigned this May 16, 2017
@akurinnoy akurinnoy changed the title Che 4803 CHE-4803: fix items bulk selection and filtration. May 16, 2017
@ashumilova ashumilova added this to the 5.11.0 milestone May 16, 2017
@codenvy-ci
Copy link

@codenvy-ci
Copy link

* @param id {string} a string to identify helper.
*/
removeHelper(id: string): void {
if (this.helpers.has(id)) {
Copy link
Contributor

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

Copy link
Contributor Author

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.

Oleksii Kurinnyi added 11 commits May 18, 2017 17:03
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>
Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com>
@codenvy-ci
Copy link

Build # 2629 - FAILED

Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/2629/ to view the results.

@akurinnoy akurinnoy deleted the CHE-4803 branch May 23, 2017 07:21
JPinkney pushed a commit to JPinkney/che that referenced this pull request Aug 17, 2017
* 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>
skabashnyuk pushed a commit that referenced this pull request Jan 3, 2020
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants