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 - For quote, live markdown is not shown #42755

Closed
4 of 6 tasks
izarutskaya opened this issue May 29, 2024 · 19 comments
Closed
4 of 6 tasks

Chat - For quote, live markdown is not shown #42755

izarutskaya opened this issue May 29, 2024 · 19 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering retest-weekly Apply this label if you want this issue tested on a Weekly basis by Applause Weekly KSv2

Comments

@izarutskaya
Copy link

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.77-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: https://expensify.testrail.io/index.php?/tests/view/4582241
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team

Action Performed:

  1. Go to https://staging.new.expensify.com/
  2. Tap on a report
  3. Enter >hai
  4. Send the message
  5. Long tap and open edit comment

Expected Result:

For quote, live markdown must be shown

Actual Result:

For quote, live markdown is not shown but in edit comment markdown is shown.

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

Bug6495011_1716981088204.Screenrecorder-2024-05-29-16-37-20-185_compress_1.mp4

View all open jobs on GitHub

@izarutskaya izarutskaya added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. DeployBlocker Indicates it should block deploying the API labels May 29, 2024
Copy link

melvin-bot bot commented May 29, 2024

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

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels May 29, 2024
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.

Copy link

melvin-bot bot commented May 29, 2024

Triggered auto assignment to @abekkala (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.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Hourly KSv2 labels May 29, 2024
@izarutskaya
Copy link
Author

@abekkala 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 #vip-vsb

@izarutskaya
Copy link
Author

Production

Record_2024-05-29-14-47-16.mp4

@Julesssss Julesssss removed DeployBlockerCash This issue or pull request should block deployment DeployBlocker Indicates it should block deploying the API labels May 29, 2024
@Julesssss
Copy link
Contributor

This shouldn't block the app, it's a minor UI issue, likely introduced as part of the recent live-markdown library bump

@Julesssss
Copy link
Contributor

I shared this in the live markdown Slack channel here

@Skalakid
Copy link
Contributor

Hi, I'm Michał from SWM and I will investigate this problem

@Skalakid
Copy link
Contributor

Skalakid commented May 29, 2024

After a quick investigation I found out that the live markdown parser is using a different commit of expensify-common than E/App. Live Markdown parser uses a newer version of ExpeniMark that contains changes that block blockquote creation without space after >. I will create PR that bumps the version in the Expensify App

@Skalakid
Copy link
Contributor

Skalakid commented May 29, 2024

@Julesssss I pulled the latest main and E/App has a newer version of expensify-common than live markdown. I can't reproduce this issue now

@Julesssss
Copy link
Contributor

Ah thanks for taking a look. Let me confirm

@Julesssss
Copy link
Contributor

@izarutskaya, is this bug report for the case where no space is left between the chevron and text? For example:

>text

@Skalakid
Copy link
Contributor

@Julesssss the problem is with the representation of the chevron and text inside the input and message. However, I'm not able to reproduce this issue on the latest main. Let me know if it works on your end

@Julesssss
Copy link
Contributor

I agree that's the reported problem, but I think the distinction is between >test and > test.

>test works for me in production, but not staging and dev
> test works in all environments

@Skalakid
Copy link
Contributor

Skalakid commented Jun 4, 2024

Yes, and >test should not work, it's a new change. I'm not sure if this issue is reproducible, let me know if it's working on your end. The only change that we can do is to update expensify-common in E/App and react-native-live-markdown, but we will do it together with code block PR

@Julesssss
Copy link
Contributor

Julesssss commented Jun 5, 2024

I can reproduce >test not rendering, but as you say above, this is expected 👍

@Skalakid do you have a link to the code block PR/issue? I see this one, but it sounds like regular text.

Copy link

melvin-bot bot commented Jun 12, 2024

@Julesssss @abekkala 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!

@Julesssss
Copy link
Contributor

Closing, this was an expected change

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 retest-weekly Apply this label if you want this issue tested on a Weekly basis by Applause Weekly KSv2
Projects
None yet
Development

No branches or pull requests

4 participants