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

Chat - Default emoji skin tone works only for yellow color #31006

Closed
6 tasks done
lanitochka17 opened this issue Nov 7, 2023 · 15 comments
Closed
6 tasks done

Chat - Default emoji skin tone works only for yellow color #31006

lanitochka17 opened this issue Nov 7, 2023 · 15 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Reviewing Has a PR in review Weekly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Nov 7, 2023

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.3.96-0
Reproducible in staging?: Y
Reproducible in production?: N
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. Navigate to any chat
  3. Open the emoji picker and select color ( white, black..) for the default skin color
  4. Type :+1 into compose box and select the suggestion

Expected Result:

Emoji with selected skin color should be displayed

Actual Result:

Default emoji skin tone works only for yellow color

Workaround:

Unknown

Platforms:

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

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

Screenshots/Videos

Add any screenshot/video evidence

Bug6267519_1699371116667.Recording__1333.mp4

Production

Recording.376.mp4

View all open jobs on GitHub

@lanitochka17 lanitochka17 added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Nov 7, 2023
Copy link

melvin-bot bot commented Nov 7, 2023

Triggered auto assignment to @strepanier03 (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Copy link

melvin-bot bot commented Nov 7, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Nov 7, 2023
@OSBotify
Copy link
Contributor

OSBotify commented Nov 7, 2023

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

Copy link

melvin-bot bot commented Nov 7, 2023

Triggered auto assignment to @bondydaa (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@bondydaa bondydaa added Daily KSv2 and removed Hourly KSv2 labels Nov 7, 2023
@esh-g
Copy link
Contributor

esh-g commented Nov 7, 2023

Regression from #30412

@situchan
Copy link
Contributor

situchan commented Nov 7, 2023

@aswin-s can you raise quick PR to fix this regression?

EDIT: better to revert as it caused multiple regressions

@esh-g
Copy link
Contributor

esh-g commented Nov 7, 2023

I think the PR is going to get reverted as it caused a lot of regressions...

@GItGudRatio
Copy link
Contributor

Don't have the bandwidth to find a solution but the root cause lies here:

const {startIndex, endIndex, diff} = findNewlyAddedChars(lastTextRef.current, commentValue);

The endIndex does not account for skin tone

@bondydaa
Copy link
Contributor

bondydaa commented Nov 7, 2023

nice thank you all, I was looking through the deploy checklist and going to say these are the only 2 that touched emojis as best I can tell from PR names #30412 & #30201 the one for the windows emoji text seems very unlikely so appreciate ya figuring out #30412 was the issue.

@bondydaa
Copy link
Contributor

bondydaa commented Nov 7, 2023

#23658 (comment)

we're going to revert the PR that caused this

@bondydaa
Copy link
Contributor

bondydaa commented Nov 7, 2023

revert pr is up #31011

Copy link

melvin-bot bot commented Nov 7, 2023

⚠️ 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.

Copy link

melvin-bot bot commented Nov 7, 2023

⚠️ 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.

@bondydaa
Copy link
Contributor

bondydaa commented Nov 7, 2023

revert PR was CP'd to staging, can you please retest to confirm it's fixed?

@puneetlath puneetlath removed the DeployBlockerCash This issue or pull request should block deployment label Nov 8, 2023
@bondydaa
Copy link
Contributor

closing this out, tested it just now and it's not reproducible so the revert fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

No branches or pull requests

8 participants