-
Notifications
You must be signed in to change notification settings - Fork 66
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
feat(oh2-299): new user form #621
feat(oh2-299): new user form #621
Conversation
352fb2e
to
c218811
Compare
c218811
to
57597f1
Compare
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.
Please, could you also add feedback dialog wether the operation succeeds or not ? (just like you've done for the Exam Form).
LGTM! In the mock, we have |
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.
It's working and tests are passing!
shouldn't the password be retyped twice? |
Good idea, it shall reduce typing errors |
68713f4
to
a933b46
Compare
5cbd232
to
aba8261
Compare
I think that on the NEW USER page, we should also have a CANCEL button, and in case of error saving the USER (the message is ok now) it should not go back to the list but remain on the edit page |
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.
Approved to move on with next developments
* feat(oh2-299): new user form * feat: use UserGroupDTO as the form type rule * feat: reset form * feat: add user to backend and redirect * feat: wait for the user to be saved before changing page * feat: add translations to validations * fix: customize username validation message * fix: validation strings & touched * feat: add success modal * fix: added user description * feat: confirm password * fix: error message + icon * fix: cancel instead of reset + error goes back to form
OH2-299