-
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
Show a user's display name for 'is typing' indicator #2317
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.
Looks good, one comment about the re-introduction of userDetails.displayName
OK, #2317 (comment) is sorted, this is ready for another 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.
Works well!!
Updated! |
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.
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!
@NikkiWines will you please review this?
Details
This PR adds a check for the displayName inside
getDisplayName
, since we can set that value insideformatPersonalDetails
but not set the first/last name. I've also added the first/last name toformatPersonalDetails
to ensure that when we fetch the personalDetailsList, we're storing those values in Onyx. If there is a reason we don't want to do this, please let me know, but since we're using first/last name in other parts of the app it made sense to add it here.Fixed Issues
Fixes Expensify/Expensify/issues/159835Tests
I also confirmed the following works
QA Steps
Note: a regression is being added for this in https://github.com/Expensify/Expensify/issues/159794
Tested On
Screenshots