-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Set tooltip text centered in reaction emojis #16578
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
Conversation
|
@techievivek @0xmiroslav One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
@PrashantMangukiya please find all cases of tooltip text not centered throughout the app. |
|
@0xmiroslav Yes tooltip content is centered by default, but here emoji reaction tooltip content rendered via this component, so it was not centered, this is applicable for emoji reaction tooltip content only, I also checked and confirm that there is no other such cases. |
|
Lots of horizontal paddings here |
|
Some input from my side, email does not have any space within it, so it is considered as one word. So it will wrap whole email to next line and that create horizontal spacing. I think this is expected because it is not good idea to break word and wrap to next line etc. It will not look natural. Thanks. |
|
@PrashantMangukiya there's no wrapped word in my screenshot. |
|
yes, small width is enough to fit, it looks like due to dynamic content this component have min width set and render accordingly so it can cover all use case. Cant say much about this because not in depth idea about tooltip component. |
Reviewer Checklist
Screenshots/VideosMobile Web - ChromeMobile Web - SafariiOSAndroid |
0xmiroslav
left a comment
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.
Issue found but not introduced by this PR.
Except that, looks good and tests well.
cc: @techievivek
|
@0xmiroslav, yeah we can definitely fix the padding there, can you please report this in the bugs channel and tag Shawn? Thanks |
techievivek
left a comment
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. 🎉
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/techievivek in version: 1.2.91-0 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.2.91-1 🚀
|





@0xmiroslav @techievivek PR is ready for review.
Details
Tooltip text was not centered in reaction emojis when reacted by multiple members, so in this pr we set tooltip text centered.
Fixed Issues
$ #16021
PROPOSAL: #16021 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Web
MacOS Chrome
MacOS-Chrome.mov
MacOS Safari
MacOS-Safari.mov
Mobile Web - Chrome
Not Applicable
Mobile Web - Safari
Not Applicable
Desktop
MacOS-Desktop.mov
iOS
Not Applicable
Android
Not Applicable