-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add a tooltip for profile avatar and online status icon #6061
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.
LGTM so far, just left once comment for now. Great work @kakajann !
source={this.props.myPersonalDetails.avatar} | ||
isActive={this.props.network && !this.props.network.isOffline} | ||
isSyncing={this.props.network && !this.props.network.isOffline && this.props.isSyncingData} | ||
tooltipText={`${this.props.myPersonalDetails.displayName}`} |
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.
Since the myPersonalDetails.displayName
is string, is there any particular reason why you pass it inside the `` characters? 🤔
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.
Whoops, I'll fix it soon
src/languages/es.js
Outdated
online: 'Online', | ||
offline: 'Offline', | ||
syncing: 'Syncing', |
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 see you have asked for the translations in Slack, well done. I have also asked internally, if we even want to translate the online/offline, since they are so common.
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.
Only changed syncing
to Sincronizando
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.
@kakajann Thank you very much. I have added the other two translations which came up from the translation convo (there is another one which is internal and has more exposure, so I have pinged it there).
Co-authored-by: Vit Horacek <[email protected]>
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.
@kakajann Great work, I think I found just one last change to request, thank you for addressing it and then we can merge!
Co-authored-by: Vit Horacek <[email protected]>
@mountiny I don't think showing the user his own name for Avatar is a good idea. It should show what it will do. So it should be |
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.
Commented in the code. Thank you!
@@ -181,6 +181,7 @@ const InitialSettingsPage = ({ | |||
size="large" | |||
source={myPersonalDetails.avatar} | |||
isActive={network.isOffline === false} | |||
tooltipText={myPersonalDetails.displayName} |
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.
@parasharrajat that is a very good point and you are right. I have overlooked this 🤦 Thank you 🙇
@kakajann could you please change this copy to say settings. That should be last change to this PR I believe.
Issues expected result was:
I've also checked the slack thread. Here's @shawnborton 's comment:
@mountiny are you sure you want it to be |
@kakajann thanks for the breakdown. I think the question is accessibility now. It is the button which gets you to Settings and having the tooltip tell you that would be useful. Le's just double check with Shawn and others. Sorry for the delays, just better to clarify it now, than later 🙇♂️ |
Well, there was not many opinions shared in the thread, but we will keep it as it is here and was originally in the issue description! @kakajann Thank you for your patience 🙇 |
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.
Great work on this one! Thank you for it 🙌
🚀 Deployed to production by @yuwenmemon in version: 1.1.12-3 🚀
|
Details
Tooltip added for profile avatar and online status/offline dot
Fixed Issues
$ #5973
Tests
QA Steps
Tested On
Screenshots