-
Notifications
You must be signed in to change notification settings - Fork 27
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
enh: add filtering in views for multi selection #798
enh: add filtering in views for multi selection #798
Conversation
Signed-off-by: Florian Steffens <florian.steffens@nextcloud.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.
Cool, I tested it out and it works well 👍 .
Do we intentionally not have any Cypress tests for View filters?
I am working on it right now. Will add general commands to insert data into the create row modal... |
- add data-cy to form sections - add general commands to fill in data in forms for selection column - add test cases for all selection types - add basic combination test cases Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>
Signed-off-by: Florian Steffens <florian.steffens@nextcloud.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.
Looks good to me in general, except that most of the selectors are based on class names that are too generic and highly prone to change. There are so many changes, making it a tedious task to replace the selections with "data-cy" attributes. I can help out with replacing them, if you think it's valuable.
With the new db structure it is much easier to filter for selection values inside of multi selection columns. This should make this possible to filter for
contains
andequal
.Not for
empty
for now. Needs to look into theempty
filter in general...related to: #648