Show new name just once, not twice in display name change events #2125
Labels
O-Frequent
Affects or can be seen by most users regularly or impacts most users' first experience
S-Tolerable
Low/no impact on users
T-Enhancement
New features, changes in functionality, performance boosts, user-facing improvements
X-Needs-Product
Issue needs input from Product team
Your use case
What would you like to do?
See issue title.
Why would you like to do it?
It looks quite confusing at first glance, especially with long names that include sentences or
![Screenshot_20230927-125549_Element X](https://private-user-images.githubusercontent.com/46846000/293280470-256c2a29-06d0-40ae-b2e8-793db58f35ec.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwNTI3MTMsIm5iZiI6MTczOTA1MjQxMywicGF0aCI6Ii80Njg0NjAwMC8yOTMyODA0NzAtMjU2YzJhMjktMDZkMC00MGFlLWIyZTgtNzkzZGI1OGYzNWVjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDIyMDY1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTUxOWVhNDgwMDI4YjY1YjQ3NzRhZTYyYjRmYjExZGYzNjRiZThjZGE0YzM1MzA4ODE0ODE3ZTE3ZTkwOGY0MjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Tg9ineOcCWrZNat26mse3yk_PhJAQztbuJ0Xxhlr_Js)
away
text:How would you like to achieve it?
I think it would be sufficient to change the string like so:
$old_name changed their display name to $new_name
.Have you considered any alternatives?
I don't see anything better than simply showing
old -> new
instead of what's right now.Additional context
Maybe it'd be nicer for readability if the display names in that event were somehow highlighted, or just looked different than the
changed their display name
text, especially with long names like in screenshot above.Are you willing to provide a PR?
Yes
The text was updated successfully, but these errors were encountered: