-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Enhanced filtration/sorting for tasks/projects/tasks in projects/cloud storages #4409
Conversation
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.
Hey, It's great to see new filtration/sorting panel
I've found several UX issues with filters:
- When two rules are present "or" doesn't have left border
- If we have group of rules and ungrouped rule, the line to the left is not straight. Also trash bin in group is a bit too high.
- Nested groups look too complicated for me, padding on the left seems insufficient to figure out what level the rule is when there are three+ levels. Do we really need such depth?
Great job! Very powerful solution.
|
@bsekachev , some problems with Models page: |
It will be great if we can see applied filters in URL like https://github.com/openvinotoolkit/cvat/issues?q=is%3Aopen+is%3Aissue+label%3Abug
Agree
If we use correct URLs, the problem will be solved. |
@bsekachev , can we show in browser top bar a readable URL like we do in recent filters? It is only for UI, thus we can have here more readable variant for our users. What do you think? |
@bsekachev , if I clear all quick filters and refresh the project/task/job page, my decision isn't saved. |
I do not actually think that somebody is going to change this filter via URL. This URL is intended to create a link to a specific request. |
Now URLs are more readable: They can be copied to clipboard and reopened with keeping filter. About default filters I would suggest followings:
|
It looks reasonable. I agree with all proposals. The only question I have in my mind, can we unify the format of filters in URL and |
I implemented proposals, but it looks like making format in URL the same causes issues, related with restoring filter from such query strings. We copy it, paste in another tab and there are not guarantees that we can restore filter as it was (because there are more types of operators in json format, and as I said before, In theory we could look into 3rdparty parsers, but again, it does not guarantees as we do not meet issues in the future. |
@bsekachev |
These styles (margin, spaces, etc) are predefined by the library we are using. Maybe it is a good idea to create issue in their repository if you believe the interface looks confusing? https://github.com/ukrbublik/react-awesome-query-builder |
Problem: a filter is active by it is not applied
Possible solution: with the latest implementation it is better to reset filter when you leave a page (see how github issues filter works) |
I discussed this issue with Andrey Chernov. He said it is not critical to keep the latest filter if there is an option to setup it in a couple of clicks (quick filters). |
BTW, do you think it is important to keep sorting when go away from a page and then return back? Sorting and filters are kept if we just update page with F5 for example, because in this case they are read from URL. |
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
@TOsmanov Could you please update documentation for all the pages? (Jobs, Tasks, Projects, Tasks in a project, Cloud storages) |
@bsekachev , Yes, I will update the documentation. |
Motivation and context
How has this been tested?
Checklist
develop
branchcvat-core, cvat-data and cvat-ui)
TODO:
License
Feel free to contact the maintainers if that's a concern.