Skip to content
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

[$125] Chat - Emoji is top-aligned instead of centered in the composer #40412

Closed
4 of 6 tasks
izarutskaya opened this issue Apr 18, 2024 · 38 comments
Closed
4 of 6 tasks
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Design Engineering External Added to denote the issue can be worked on by a contributor

Comments

@izarutskaya
Copy link

izarutskaya commented Apr 18, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 1.4.63-0
Reproducible in staging?: Y
Reproducible in production?: N
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to chat.
  3. Enter only emoji in the composer.

Expected Result:

The emoji will be centered in the composer.

Actual Result:

The emoji is top-aligned in the composer.

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6453296_1713425287333!emoji_not_centered

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0167e42daeaa6d9467
  • Upwork Job ID: 1781349395352080384
  • Last Price Increase: 2024-04-19
  • Automatic offers:
    • akinwale | Reviewer | 0
    • MahmudjonToraqulov | Contributor | 0
Issue OwnerCurrent Issue Owner: @twisterdotcom
@izarutskaya izarutskaya added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Apr 18, 2024
Copy link

melvin-bot bot commented Apr 18, 2024

Triggered auto assignment to @twisterdotcom (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

Copy link

melvin-bot bot commented Apr 18, 2024

Triggered auto assignment to @mountiny (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link
Contributor

👋 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:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@izarutskaya
Copy link
Author

@twisterdotcom 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.

@izarutskaya
Copy link
Author

We think this issue might be related to the #collect project.

@izarutskaya
Copy link
Author

izarutskaya commented Apr 18, 2024

Production

image (8)

@MahmudjonToraqulov
Copy link
Contributor

MahmudjonToraqulov commented Apr 18, 2024

Proposal

Please re-state the problem that we are trying to solve in this issue.

Chat - Emoji is top-aligned instead of centered in the composer

What is the root cause of that problem?

Offended PR: #39597
The size of Emojis has been made larger so we should add line-height.

What changes do you think we should make in order to solve the problem?

We should add "lineHeight: emojiFontSize" here:

fontSize: emojiFontSize,

What alternative solutions did you explore? (Optional)

N/A

Result

After Fixed
photo_2024-04-18_15-18-20

photo_2024-04-18_15-18-28

@twisterdotcom
Copy link
Contributor

twisterdotcom commented Apr 18, 2024

@mountiny three things:

  1. I'm going to remove the deploy blocker, this is not a blocker.
  2. I'm going to demote to Daily and assign Design.
  3. Can we assign @MahmudjonToraqulov?

@twisterdotcom twisterdotcom added Daily KSv2 Design and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Apr 18, 2024
Copy link

melvin-bot bot commented Apr 18, 2024

Triggered auto assignment to @shawnborton (Design), see these Stack Overflow questions for more details.

Copy link

melvin-bot bot commented Apr 18, 2024

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@shawnborton
Copy link
Contributor

Let me know how I can be helpful. Do we have a link to the PR that caused this regression?

@MahmudjonToraqulov
Copy link
Contributor

Let me know how I can be helpful. Do we have a link to the PR that caused this regression?

Hey. I included it in my Proposal.

@shawnborton
Copy link
Contributor

Got it. If @Skalakid's PR broke this, why aren't we asking them to create a follow up to fix it?

@mountiny
Copy link
Contributor

I agree this does not have to be a blocker.

I think we can go with @MahmudjonToraqulov solution but it would be great to properly test it.

@mountiny mountiny added the External Added to denote the issue can be worked on by a contributor label Apr 19, 2024
@melvin-bot melvin-bot bot removed the Overdue label Apr 25, 2024
@MahmudjonToraqulov
Copy link
Contributor

MahmudjonToraqulov commented Apr 26, 2024

How is this going @MahmudjonToraqulov?

Hey. I think the regression is not related to my PR. I meant this issue
I'll make PR soon.

@MahmudjonToraqulov
Copy link
Contributor

PR is ready for review.

@melvin-bot melvin-bot bot added Monthly KSv2 and removed Weekly KSv2 labels May 20, 2024
Copy link

melvin-bot bot commented May 20, 2024

This issue has not been updated in over 15 days. @shawnborton, @akinwale, @twisterdotcom, @mountiny, @MahmudjonToraqulov 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!

@BartoszGrajdek
Copy link
Contributor

Hi, I’m Bartosz from SWM react-native-live-markdown team. We’ve recently decided that it would be best to actively participate in all of the issues that could be related to the library we’re working on. That means reviewing proposals together with the Expensify team and supporting external contributors to ensure quality solutions that won’t introduce any additional regressions. 🙌🏻

I’m currently going through all of the issues that could require any changes to the library. Feel free to tag me if you need anything, later I’ll be diving into the issues more in-depth, but there’s quite a few of them so it can take a while for me to catch up. Oh and feel free to tag me in any live-markdown related issues in the future! 😄

@BartoszGrajdek
Copy link
Contributor

I believe this could be fixed by a feature we'll be implementing in the coming days, let me come back here later today/tomorrow 👀

@twisterdotcom twisterdotcom changed the title [$125] Chat - Emoji is top-aligned instead of centered in the composer [HOLD] [$125] Chat - Emoji is top-aligned instead of centered in the composer Jun 18, 2024
@BartoszGrajdek
Copy link
Contributor

As you can see the PR was merged! We're currently working on a PR with version bump of react-native-live-markdown here in E/App, can we test if this problem was fixed there? #44262

Copy link

melvin-bot bot commented Jul 10, 2024

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@melvin-bot melvin-bot bot closed this as completed Jul 17, 2024
Copy link

melvin-bot bot commented Jul 17, 2024

@shawnborton, @akinwale, @twisterdotcom, @mountiny, @MahmudjonToraqulov, this Monthly task hasn't been acted upon in 6 weeks; closing.

If you disagree, feel encouraged to reopen it -- but pick your least important issue to close instead.

@mountiny mountiny reopened this Aug 8, 2024
@mountiny
Copy link
Contributor

mountiny commented Aug 8, 2024

This seems to have been fixed with the react live markdown update.

I think we should pay $125 to @MahmudjonToraqulov @akinwale still though as they spent considerable time on fixing and testing this across platforms before we put it on hold for react live markdown

@mountiny mountiny added Daily KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Reviewing Has a PR in review Monthly KSv2 Not a priority labels Aug 8, 2024
@mountiny mountiny changed the title [HOLD] [$125] Chat - Emoji is top-aligned instead of centered in the composer [$125] Chat - Emoji is top-aligned instead of centered in the composer Aug 8, 2024
@twisterdotcom
Copy link
Contributor

Payment Summary:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Design Engineering External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests

7 participants