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

[PAID] [$500] Chat - Single line code block is hidden if user insert an emoji into it #37738

Closed
3 of 6 tasks
izarutskaya opened this issue Mar 5, 2024 · 20 comments
Closed
3 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor

Comments

@izarutskaya
Copy link

izarutskaya commented Mar 5, 2024

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.47-0
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers): fischer9966@gmail.com
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause-Internal Team

Action Performed:

  1. Open App or go to staging.new.expensify.com
  2. Login with any account
  3. Open any chat
  4. Post message with single line code block with any text
  5. Edit the block by adding emoji to it
  6. Save message

Expected Result:

Edited single line code block appears in the chat with all content including the added emoji

Actual Result:

Edited single line code block is hidden if user insert an emoji into it. But this block is still editable.

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

Bug6402486_1709627179172.iOS-inline-block-hidden-if-emoji-added.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~016316c465e62d2eab
  • Upwork Job ID: 1764992662563991552
  • Last Price Increase: 2024-03-05
Issue OwnerCurrent Issue Owner: @strepanier03
@izarutskaya izarutskaya added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Mar 5, 2024
Copy link

melvin-bot bot commented Mar 5, 2024

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

Copy link
Contributor

github-actions bot commented Mar 5, 2024

👋 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 Mar 5, 2024

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

@izarutskaya
Copy link
Author

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

@nkuoch
Copy link
Contributor

nkuoch commented Mar 5, 2024

I think it can be external yes.

@nkuoch nkuoch added the External Added to denote the issue can be worked on by a contributor label Mar 5, 2024
@melvin-bot melvin-bot bot changed the title Chat - Single line code block is hidden if user insert an emoji into it [$500] Chat - Single line code block is hidden if user insert an emoji into it Mar 5, 2024
Copy link

melvin-bot bot commented Mar 5, 2024

Job added to Upwork: https://www.upwork.com/jobs/~016316c465e62d2eab

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Mar 5, 2024
Copy link

melvin-bot bot commented Mar 5, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @mkhutornyi (External)

@shubham1206agra
Copy link
Contributor

Offending PR #35838

@roryabraham
Copy link
Contributor

should be fixed by #37778 in 1.4.47-3

Copy link

melvin-bot bot commented Mar 5, 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.

@roryabraham roryabraham removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Mar 5, 2024
@kavimuru
Copy link

kavimuru commented Mar 5, 2024

Issue is not reproducible anymore.

RPReplay_Final1709667865.MP4

@Akintunde102
Copy link

I figured out what the issue is.

It's here:InlineCodeBlock

The InlineCodeBlock component treats all incoming code as though it will always be text and nothing else, thereby making it impossible for react-native-render-html to make use of the EmojiRenderer and possibly any other tag-based HTML renderer.

My approach is to remove the strict approach and allow the InlineCodeBlock process more than just text. It works.

This comment was marked as resolved.

@Akintunde102

This comment was marked as resolved.

This comment was marked as resolved.

@Akintunde102
Copy link

Akintunde102 commented Mar 5, 2024

Guess it's fixed already...

@roryabraham roryabraham assigned roryabraham and unassigned nkuoch Mar 5, 2024
@roryabraham
Copy link
Contributor

great, I think we would be ready to close this out, @strepanier03 just need to pay @mkhutornyi for their review of the revert. Because it was a revert, I don't think it makes sense to wait the 7 days for the regression period. We should just pay it out today

@roryabraham roryabraham added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Mar 5, 2024
@melvin-bot melvin-bot bot added the Overdue label Mar 8, 2024
@strepanier03
Copy link
Contributor

Missed this comment, sorry about that. Working on payment now.

@melvin-bot melvin-bot bot removed the Overdue label Mar 11, 2024
@strepanier03
Copy link
Contributor

@mkhutornyi - I sent you an offer for a job, I'll check to try to pay it tomorrow.

@strepanier03 strepanier03 changed the title [$500] Chat - Single line code block is hidden if user insert an emoji into it [W2Pay] [$500] Chat - Single line code block is hidden if user insert an emoji into it Mar 11, 2024
@strepanier03 strepanier03 changed the title [W2Pay] [$500] Chat - Single line code block is hidden if user insert an emoji into it [PAID] [$500] Chat - Single line code block is hidden if user insert an emoji into it Mar 13, 2024
@melvin-bot melvin-bot bot added the Overdue label Mar 13, 2024
@strepanier03
Copy link
Contributor

All paid, closing.

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. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests

8 participants