-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Jobs page: advanced filtration and implemented sorting #4319
Conversation
@bsekachev , please look 8df5f58 |
Looks like everything works (I didn't test |
I agree, just need to map
|
Ok.
Ok.
Possible I think with our css setup, but the library does not provide strong API to modify default styles, so, it might be broken in case of significant changes. Anyway, I'll try.
I do not think a user should change predefined filters, because they are predefined.. And about the button, inside dialog on annotation view we have "Recent filters" list. From the meeting we discussed, that for predefined list, better to have them outside for quick access. |
@nmanovic |
@bsekachev , some nice ideas for UI: https://devdocs.magento.com/guides/v2.4/pattern-library/filters/data-table-filters/filtering.html |
When the cross (clear filter) appear and disappear, UI elements are moving and it looks strange. I believe we need to following UI ideas in the link above. The interface looks professional, known, intuitive. Of course our interface in any case will be slightly different, but need to follow the concept in general. |
Let's do the button visible always, but disable it when no filters applied. In the link you provided filters are simple set of conditions united with AND, in our case filters are more difficult, so many design solutions from there (like for example a line with active filters) is not applicable for us because in our case these lines are multilevel and unreadable. |
@kirill-sizov, Could you please take a look at small changes in REST API tests? In this PR job order was changed and I've updated assets and have added a step with filtering jobs with annotation with shapes (because without it tests failed). |
I looked, tests changes looks good to me. |
@bsekachev, I guess, filters for users also should be updated.. |
@Marishka17 |
a50e20c
to
92f80bf
Compare
92f80bf
to
bcc7008
Compare
Could you please conduct a review? |
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
Could you please add/update documentation about current implementation of Jobs page? |
@bsekachev , yes, sure |
Resolve #4385
Motivation and context
Sorting:
Quick filters:
Filter builder
Recent filters:
@nmanovic The implementation is buggy for now and not fully implemented yet, but it can send json logic requests to the server.
Example request (see query params):
How has this been tested?
Checklist
develop
branchcvat-core, cvat-data and cvat-ui)
License
Feel free to contact the maintainers if that's a concern.