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

[HOLD for payment 2023-11-30] [$500] Web - Different markdown when copied after sending. #26490

Closed
2 of 6 tasks
kbecciv opened this issue Sep 1, 2023 · 84 comments
Closed
2 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 External Added to denote the issue can be worked on by a contributor

Comments

@kbecciv
Copy link

kbecciv commented Sep 1, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Go to any report
  2. Paste and send markdown provided below
  3. Copy the message sent
  4. Paste the copied message in composer
  5. Observe the difference

Markdown :

image

code

text

code

Expected Result:

The copied markdown should be the same as the markdown sent.

Actual Result:

The copied markdown is different from the markdown sent. Specifically, the closing of second code block appears after the text not beneath it:

image

Workaround:

Unknown

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.61.0
Reproducible in staging?: y
Reproducible in production?: y
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
Notes/Photos/Videos: Any additional supporting documentation

Monosnap.screencast.2023-08-26.21-36-47.mp4
Recording.4159.mp4

Expensify/Expensify Issue URL:
Issue reported by: @Krishna2323
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1693066653312359

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0165c30b36785b9c56
  • Upwork Job ID: 1711445892210065408
  • Last Price Increase: 2023-11-13
  • Automatic offers:
    • 0xmiroslav | Reviewer | 27695522
    • eh2077 | Contributor | 27695523
    • krishna2323 | Reporter | 27695525
    • nikosamofa | Contributor | 27714814
@kbecciv kbecciv added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Sep 1, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 1, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Sep 1, 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

@Krishna2323
Copy link
Contributor

@kbecciv, can you pls update the issue reporter mention to my id. Thanks

@melvin-bot melvin-bot bot added the Overdue label Sep 4, 2023
@trjExpensify
Copy link
Contributor

I can reproduce this. It produces the same results on enter:

image

but yes, the closing of the second code block appears after the text and not beneath it:

image

I think given that it renders correctly in the chat, it should be classified under this issue and approached in unison with other small markdown fixes. CC: @Beamanator

@Beamanator
Copy link
Contributor

That sounds totally fair to me @trjExpensify 👍

@trjExpensify trjExpensify changed the title Web - Different markdown when copied after sending. [Hold #20304] Web - Different markdown when copied after sending. Sep 6, 2023
@trjExpensify trjExpensify added Monthly KSv2 and removed Daily KSv2 labels Sep 6, 2023
@trjExpensify
Copy link
Contributor

Done!

@kbecciv
Copy link
Author

kbecciv commented Sep 6, 2023

@Krishna2323 Updated

@trjExpensify
Copy link
Contributor

trjExpensify commented Oct 9, 2023

Same, @Beamanator is collecting more of these for his master before tackling them together.

@melvin-bot melvin-bot bot removed the Overdue label Oct 9, 2023
@trjExpensify
Copy link
Contributor

Alrighty, after a discussion in the linked issue.. we're going to take this off hold. Open for proposals!

@trjExpensify trjExpensify added Daily KSv2 External Added to denote the issue can be worked on by a contributor and removed Monthly KSv2 labels Oct 9, 2023
@melvin-bot melvin-bot bot changed the title [Hold #20304] Web - Different markdown when copied after sending. [$500] [Hold #20304] Web - Different markdown when copied after sending. Oct 9, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 9, 2023

Job added to Upwork: https://www.upwork.com/jobs/~0165c30b36785b9c56

@trjExpensify trjExpensify changed the title [$500] [Hold #20304] Web - Different markdown when copied after sending. Web - Different markdown when copied after sending. Oct 9, 2023
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Oct 9, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 9, 2023

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

@trjExpensify
Copy link
Contributor

I see a expensify-common PR linked, adding the reviewing label.

@melvin-bot melvin-bot bot removed the Overdue label Nov 20, 2023
@trjExpensify trjExpensify added the Reviewing Has a PR in review label Nov 20, 2023
@nikos-amofa
Copy link
Contributor

@trjExpensify @srikarparsi cc @danieldoglas
The PR Expensify/expensify-common#606 is merged. What other steps do I need to take to mark this issue as done? Thanks

@0xmiros
Copy link
Contributor

0xmiros commented Nov 21, 2023

@nikosamofa please create app PR which bumps package version

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Nov 21, 2023
@srikarparsi
Copy link
Contributor

srikarparsi commented Nov 21, 2023

I think once the regression period is over, this issue should be good for payment. Is there anything I'm missing @0xmiroslav @trjExpensify?

@0xmiros
Copy link
Contributor

0xmiros commented Nov 21, 2023

yes, correct @srikarparsi. Thanks

@nikos-amofa
Copy link
Contributor

nikos-amofa commented Nov 21, 2023

Thank you @0xmiroslav @srikarparsi @trjExpensify

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Nov 23, 2023
@melvin-bot melvin-bot bot changed the title [$500] Web - Different markdown when copied after sending. [HOLD for payment 2023-11-30] [$500] Web - Different markdown when copied after sending. Nov 23, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Nov 23, 2023
Copy link

melvin-bot bot commented Nov 23, 2023

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Nov 23, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.2-3 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2023-11-30. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

For reference, here are some details about the assignees on this issue:

  • @nikosamofa requires payment offer (Contributor)
  • @0xmiroslav requires payment offer (Reviewer)
  • @Krishna2323 requires payment offer (Reporter)

Copy link

melvin-bot bot commented Nov 23, 2023

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@0xmiroslav] The PR that introduced the bug has been identified. Link to the PR:
  • [@0xmiroslav] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@0xmiroslav] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@0xmiroslav] Determine if we should create a regression test for this bug.
  • [@0xmiroslav] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@trjExpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Nov 30, 2023
@nikos-amofa
Copy link
Contributor

@srikarparsi @trjExpensify @0xmiroslav
The regression period is over for this one

@trjExpensify
Copy link
Contributor

Yep! Can we get the checklist complete please, then we can start initiate payments. :)

Confirming those payments when ready will be:

  1. @nikosamofa $500 for the fix
  2. @0xmiroslav $500 for the C+ review
  3. @Krishna2323 $50 for the bug report

@nikos-amofa
Copy link
Contributor

nikos-amofa commented Nov 30, 2023

@trjExpensify , well, the PR was merged after 2 business days (4 days due to weekend)
The upwork job says that if it's merged within 3 business days, it's eligible for 50% bonus 😀

@0xmiros
Copy link
Contributor

0xmiros commented Nov 30, 2023

BZ Checklist:
No regression. The bug existed from the beginning, issue closed/reopened several times.
Regression test is already added as automated test cases in expensify-common repo.

@melvin-bot melvin-bot bot added the Overdue label Dec 4, 2023
@trjExpensify
Copy link
Contributor

@trjExpensify , well, the PR was merged after 2 business days (4 days due to weekend)
The upwork job says that if it's merged within 3 business days, it's eligible for 50% bonus 😀

The PR was created after Oct 24th, which was the last day of the urgency bonuses as per this announcement.

@0xmiroslav sounds good!

@melvin-bot melvin-bot bot removed the Overdue label Dec 4, 2023
@trjExpensify
Copy link
Contributor

@Krishna2323 - paid
@nikosamofa - paid
@0xmiroslav - over to you to track your payment for this one.

Closing!

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

No branches or pull requests

9 participants