-
Notifications
You must be signed in to change notification settings - Fork 3k
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
User search field #2370
User search field #2370
Conversation
Could you please merge develop to CI passes? |
It looks like some unit tests of cvat-core & cypress tests are broken |
@bsekachev, all tests was fixed |
@@ -4,6 +4,7 @@ | |||
|
|||
module.exports = { | |||
env: { | |||
amd: true, |
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.
Why do you need it here?
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.
Eslint warn about require usage without that flag.
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.
Just set node
to true
@@ -86,7 +86,7 @@ context('Multiple users. Assign task, job.', () => { | |||
it('Assign the task to the second user and logout', () => { | |||
cy.openTask(taskName); | |||
cy.get('.cvat-task-details').within(() => { | |||
cy.get('.cvat-user-selector').click({ force: true }); | |||
cy.get('.cvat-user-search-field').click({ force: true }); |
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.
The selector .cvat-user-selector
is still appear in the project (cvat-ui/src/components/task-page/styles.scss)
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.
I suppose the styles also applicable for the new element
It is not very obvious how to remove assignee with current UI element. To do that I need to remove the text and click outside the input field (enter doesn't work for example). I suppose it might be more user-friendly. |
@ActiveChooN |
@dvkruchinin Hi, on CI we get |
Hi, |
Added
Strange margins here, removed styles |
Motivation and context
This PR provide user search field for assignee field for the task. It should increase UX with user search by username and increase loading speed for cvat.org.
How has this been tested?
Manually
Checklist
develop
branch- [ ] I have updated the documentation accordingly- [ ] I have added tests to cover my changes- [ ] I have linked related issues (read github docs)cvat-core, cvat-data and cvat-ui)
License
Feel free to contact the maintainers if that's a concern.