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 2022-12-20] [$2000] mweb - Copy & Paste - Copy & Pasting text form code editor is not consistent #10262

Closed
kbecciv opened this issue Aug 5, 2022 · 119 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production 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 Reviewing Has a PR in review

Comments

@kbecciv
Copy link

kbecciv commented Aug 5, 2022

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. Access staging.new.expensify.com
  2. Sign into a valid account
  3. Proceed to any chat
  4. Copy text from a code editor and paste it in chat box (Observe the text format)
  5. "Copy to clipboard" the text that was just sent and resend it in chat (Observe the code format)

Expected Result:

The user expects both text formats to be exactly like the one that was copied from the text editor.

Actual Result:

The two texts differ in format

Workaround:

Unknown

Platform:

Where is this issue occurring?

  • Mobile Web

Version Number: 1.1.88.1

Reproducible in staging?: Yes

Reproducible in production?: Yes

Email or phone of affected tester (no customers): any

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

Bug5676857_Text_from_code_editor_is_not_consistent.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

@melvin-bot
Copy link

melvin-bot bot commented Aug 5, 2022

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

@amyevans
Copy link
Contributor

amyevans commented Aug 5, 2022

Reproducible on mobile web. Good external issue.

@amyevans amyevans added the External Added to denote the issue can be worked on by a contributor label Aug 5, 2022
@melvin-bot
Copy link

melvin-bot bot commented Aug 5, 2022

Triggered auto assignment to @MitchExpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

@melvin-bot
Copy link

melvin-bot bot commented Aug 9, 2022

Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@melvin-bot melvin-bot bot added the Overdue label Aug 9, 2022
@MitchExpensify
Copy link
Contributor

Upwork Job

@melvin-bot melvin-bot bot removed the Overdue label Aug 9, 2022
@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Aug 9, 2022
@melvin-bot
Copy link

melvin-bot bot commented Aug 9, 2022

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Aug 9, 2022
@melvin-bot
Copy link

melvin-bot bot commented Aug 9, 2022

Triggered auto assignment to @pecanoro (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@melvin-bot melvin-bot bot changed the title mweb - Copy & Paste - Copy & Pasting text form code editor is not consistent [$250] mweb - Copy & Paste - Copy & Pasting text form code editor is not consistent Aug 9, 2022
@DharmeshCodeBase
Copy link

Yes i can do this as per your requirement and complete job

@melvin-bot melvin-bot bot added the Overdue label Aug 19, 2022
@pecanoro
Copy link
Contributor

@MitchExpensify Let's double the price

@melvin-bot melvin-bot bot removed the Overdue label Aug 22, 2022
@ahmdshrif
Copy link
Contributor

ahmdshrif commented Aug 22, 2022

I don't think this is an issue.

what happens exactly is the screen width is smaller than the line length.
so the code moved to the next line and that's correct behavior for normal text.

but if the user marks it as a code block by using ``` it will add a scroll block and the long line will not move to the next line.

Whatsapp has the same behavior:

Screen Shot 2022-08-22 at 4 43 27 PM

our behavior when add code block :-

Screen Shot 2022-08-22 at 4 44 36 PM

cc: @parasharrajat , @pecanoro

@parasharrajat
Copy link
Member

@ahmdshrif Did you tested it on Mweb safari?

@JmillsExpensify
Copy link

JmillsExpensify commented Dec 8, 2022

We have one more day to approve/merge the PR and qualify for the 50% bonus! Looks like we have some initial comments from @parasharrajat in the PR.

@JmillsExpensify JmillsExpensify added the Reviewing Has a PR in review label Dec 8, 2022
@MitchExpensify
Copy link
Contributor

Hired @b1tjoy for eventual Upwork payment!

@parasharrajat
Copy link
Member

PR is ready for final review and merge.

@MitchExpensify
Copy link
Contributor

I'm heading ooo so reassigning the bug label for a new CM!

@MitchExpensify MitchExpensify removed their assignment Dec 12, 2022
@MitchExpensify MitchExpensify added Bug Something is broken. Auto assigns a BugZero manager. and removed Bug Something is broken. Auto assigns a BugZero manager. labels Dec 12, 2022
@melvin-bot
Copy link

melvin-bot bot commented Dec 12, 2022

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

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Dec 13, 2022
@melvin-bot melvin-bot bot changed the title [$2000] mweb - Copy & Paste - Copy & Pasting text form code editor is not consistent [HOLD for payment 2022-12-20] [$2000] mweb - Copy & Paste - Copy & Pasting text form code editor is not consistent Dec 13, 2022
@melvin-bot
Copy link

melvin-bot bot commented Dec 13, 2022

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.38-6 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 2022-12-20. 🎊

After the hold period, please check if any of the following need payment for this issue, and if so check them off after paying:

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

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot
Copy link

melvin-bot bot commented Dec 13, 2022

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:

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Dec 20, 2022
@miljakljajic
Copy link
Contributor

@b1tjoy , paid you in Upwork!

@parasharrajat - still waiting on you to approve the offer, then I can pay you!

@parasharrajat
Copy link
Member

@miljakljajic Done.

@miljakljajic
Copy link
Contributor

Paid!

@parasharrajat
Copy link
Member

This might be eligible for Merged PR within 3 business days of assignment - 50% bonus

@miljakljajic
Copy link
Contributor

Ah, you're right! @b1tjoy was assigned and the PR was reviewed and merged between Dec 6 and Dec 8. Paying your 50% bonus now. So sorry for missing that!

@miljakljajic
Copy link
Contributor

Paid to both of you.

@pecanoro
Copy link
Contributor

pecanoro commented Dec 22, 2022

@parasharrajat Would you say this bug was a regression of implementing this #9880? It was a new feature so I don't think it's actually a regression. Also, I don't think we need to update the PR reviewer list.

@miljakljajic Did you update the regression tests to catch this bug in the future? Though the bug was caught by Applause, so maybe we have a test already for this.

@parasharrajat
Copy link
Member

Yeah so we can say that I missed it testing on HTTPS connection. Because the dev server runs on http so it got missed in testing. I won't call it regression either. If we had caught it then it would have been fixed there.

@pecanoro
Copy link
Contributor

@miljakljajic Feel free to close this issue when you confirm that actually the regression tests have been updated to cover this! (if necessary).

@JmillsExpensify
Copy link

@miljakljajic I'd also link the regression test request to this issue as well. Easier to keep track of everything.

@miljakljajic
Copy link
Contributor

Thank you guys! There's an existing test for this (which makes sense given that Applause picked it up, as @pecanoro says):

https://expensify.testrail.io/index.php?/cases/view/1971016&group_by=cases:section_id&group_order=asc&display_deleted_cases=0&group_id=229062

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

No branches or pull requests