-
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
Set tooltip text centered in reaction emojis #16578
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 |
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 |
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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.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