-
Notifications
You must be signed in to change notification settings - Fork 4
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
[DUOS-1815][risk=no] New Researcher Profile Page #1672
Conversation
Hi! I'm seeing some differences in the branch between the mock ups - Am I running it wrong?
|
oops, you're right about the link eRA commons link! and yes, i believe there is another ticket for the 'what are you trying to do' box |
note: just found a bug in the backend code for getting signing officials which breaks the frontend, investigating and will see if i can fix |
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! :)
Not sure about the intended behavior, but I was able to delete my profileName and save it as empty, and then when I tried to submit a DAR, part 1 of the application wouldn't load |
This is probably better suited for a different ticket, but I could only see profile name changes appear in the topleft corner of the header if I sign out and sign back in |
I agree, we could do a better job of refreshing the user saved in storage. There are other scenarios where this happens as well, such as role additions/removals |
@connorlbark Please do add a validation check for this - we should not be setting the user name to "". |
added validation to make sure the username is at least four characters (that seems reasonable to me, let me know if there is a preference for another length or just ensuring it's not empty) |
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 left a couple of small suggestions, but looks and works great!
added:
|
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! Thanks for the changes!
Addresses
https://broadworkbench.atlassian.net/browse/DUOS-1815
Notes:
PUT /api/user/me
endpoint on profile page - endpoint created at [DUOS-1815][risk=low] Add update own user properties endpoint consent#1649 , so must use that backend branch for testing.suggestedInstitution
/suggestedSigningOfficial
instead of sending the ids.Have you read Terra's Contributing Guide lately? If not, do that first.