Skip to content
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

[NEW] Show full name in mentions if use full name setting enabled #6690

Merged
merged 7 commits into from
May 31, 2017

Conversation

alexbrazier
Copy link
Contributor

@RocketChat/core

Show users full name in mentions instead of username if use real name setting enabled. It will also show username if you hover over name.

@engelgabriel engelgabriel added this to the 0.56.0 milestone Apr 17, 2017
Copy link
Member

@sampaiodiego sampaiodiego left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the ideal implementation of this is like we did for the other real name implementation (injecting the name just before sending the message to the client) instead of save saving the name on the message object

@alexbrazier
Copy link
Contributor Author

@sampaiodiego I have updated it as per your suggestion

Copy link
Member

@sampaiodiego sampaiodiego left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alexbrazier one thing that is still missing is updating already loaded messages on name changes as it was done here. sry for not noticing this before

also what you think about notifications? this is not something I have sure we should change.. on notification text I still get @diego.sampaio but on rendered message I see Diego Sampaio.. what you think?

@alexbrazier
Copy link
Contributor Author

@sampaiodiego Good spot. I have updated it so that mentions change instantly when a user changes their name.

I changed notifications to use full name in #3851
It looks like this for me
image

Does it not work for you?

@sampaiodiego
Copy link
Member

oh sorry, I meant the mentions on notifications 😬

@alexbrazier
Copy link
Contributor Author

I've made the change to the notification mentions to use real names.

@alexbrazier
Copy link
Contributor Author

@sampaiodiego Do you want me to make any other changes?

@sampaiodiego
Copy link
Member

@alexbrazier nope.. looks good =)

@engelgabriel engelgabriel modified the milestones: 0.56.0, 0.57.0 May 9, 2017
@rodrigok
Copy link
Member

@alexbrazier I want to merge this PR, can you fix the conflicts?

@alexbrazier
Copy link
Contributor Author

@rodrigok Conflicts have been resolved

@rodrigok rodrigok merged commit 76534cd into RocketChat:develop May 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants