-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Web - Chat - Top of the highlight is not even when highlight emojis #39261
Comments
Triggered auto assignment to @marcochavezf ( |
Triggered auto assignment to @kevinksullivan ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
We think this bug might be related to #vip-vsb |
@kevinksullivan FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors. |
Please re-state the problem that we are trying to solve in this issue.Web - Chat - Top of the highlight is not even when highlight emojis What is the root cause of that problem?Extra What changes do you think we should make in order to solve the problem?We should remove this What alternative solutions did you explore? (Optional)N/A Result |
Not a blocker - added to the main tracking issue |
I think this might be actually the correct behavior as there is a space character between each pair of emojis. Also, emojis have larger font size than the text. Here's how it looks on Firefox with some text added in between: cc @thienlnam |
@kevinksullivan, @thienlnam Still overdue 6 days?! Let's take care of this! |
@thienlnam think tis fits into VSB as a very, very low bug? |
Ah okay, so tested it and I think the problem here is with the emoji size in the composer. Emojis when sent without text are larger than if you send them with text But the size of the emoji with text in the composer is larger than the text, so it ends up creating the odd highlighting. But when you highlight the sent text, it doesn't have a problem because the emojis are smaller @kevinksullivan Yeah I'd place this as a very very low bug in vip-vsb |
Here's the full story:
cc @thienlnam |
Ah yup that's correct - okay sweet in that case this should be "fixed" when that PR is merged so I'll go ahead and close |
@thienlnam What about point 3? Do we want to increase/decrease the font size of emojis in the composer depending on whether the current message contains any text or only emojis? |
No problem, I think we can easily achieve that. We can set Currently, we have a The only problem is that the font size will be calculated on the JS thread but the formatting needs to be applied on the UI thread while typing – there's a possibility of a "font size jump" when the result of the predicate changes. I believe this is not a huge problem for now (please let me know what you think @thienlnam). There are two options how we can improve that in the future:
|
Yeah that sounds good, the font size jump doesn't sound like a problem right now - so let's just try that first and improve it later if there are any concerns |
If we could implement it directly that would be great |
Sure thing, I'll leave it up for @Skalakid since he's the author of the PR. |
@kevinksullivan @thienlnam this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
fyi #39597 has been merged. |
This issue has not been updated in over 15 days. @kevinksullivan, @thienlnam eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
Think this is all set @thienlnam ? |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.58.0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause Internal Team
Slack conversation:
Action Performed:
1.Go to staging.new.expensify.com/
2.Go to any chat
3.Inset multiple emojis
4.Highlight all the emojis
Expected Result:
The top of the highlight will be even
Actual Result:
The top of the highlight is not even
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
20240329_233415.mp4
Add any screenshot/video evidence
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: