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-06-21] [$1000] Web - Chat - Copying messages and with marked unread generates '<_a Icon>' in the text #18343

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

Comments

@kbecciv
Copy link

kbecciv commented May 3, 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!


Issue found when executing PR #17838

Action Performed:

  1. Go to https://staging.new.expensify.com/ and login and open any chat
  2. Send several messages like 1,2,3,4,5,6
  3. Mark as Unread somewhere in the middle of messages
  4. Select all unread messages, copy and paste to compose box

Expected Result:

Messages should be copy-pasted without anything additional appearing

Actual Result:

Messages are copy-pasted with random icons and additional text appearing in between

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

Reproducible in staging?: Yes

Reproducible in production?: No

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

Bug6041400_video_86__1_.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01eab3690598891ae3
  • Upwork Job ID: 1655574812209725440
  • Last Price Increase: 2023-05-08
@kbecciv kbecciv added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels May 3, 2023
@MelvinBot
Copy link

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

@MelvinBot
Copy link

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

@anmurali
Copy link

anmurali commented May 8, 2023

image

I am getting a random set of icons but yes, can reproduce

@melvin-bot melvin-bot bot removed the Overdue label May 8, 2023
@anmurali anmurali added the External Added to denote the issue can be worked on by a contributor label May 8, 2023
@melvin-bot melvin-bot bot changed the title Web - Chat - Copying messages and with marked unread generates '<_a Icon>' in the text [$1000] Web - Chat - Copying messages and with marked unread generates '<_a Icon>' in the text May 8, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 8, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01eab3690598891ae3

@melvin-bot
Copy link

melvin-bot bot commented May 8, 2023

Current assignee @anmurali is eligible for the External assigner, not assigning anyone new.

@melvin-bot
Copy link

melvin-bot bot commented May 8, 2023

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label May 8, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 8, 2023

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

@alitoshmatov
Copy link
Contributor

I think this is a known issue, but I couldn't find existing one

@httol
Copy link

httol commented May 9, 2023

image

Reproduced. Another issue is the 'New' word also copied.

@Victor-Nyagudi
Copy link
Contributor

@kbecciv The PR you've mention was reverted, but the bug still occurs in staging, so I'm not completely sure if that was the cause.

@mountiny mountiny removed the Reviewing Has a PR in review label May 15, 2023
@melvin-bot melvin-bot bot added the Overdue label May 15, 2023
@koko57
Copy link
Contributor

koko57 commented May 15, 2023

Hello 👋🏻 Callstack team - expert contributor group - is ready to help 🙂

@melvin-bot
Copy link

melvin-bot bot commented May 15, 2023

@anmurali, @roryabraham, @0xmiroslav Huh... This is 4 days overdue. Who can take care of this?

@burczu
Copy link
Contributor

burczu commented May 16, 2023

Hi I'm Bartek from Callstack - expert contributor group - I would like to work on this issue.

@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label May 25, 2023
@burczu
Copy link
Contributor

burczu commented May 25, 2023

The PR is now ready to be reviewed!

@melvin-bot
Copy link

melvin-bot bot commented Jun 1, 2023

@burczu, @anmurali, @roryabraham, @0xmiroslav Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@michaelhaxhiu
Copy link
Contributor

Bumped in #expensify-open-source because the PR hasn't seen movement

@melvin-bot
Copy link

melvin-bot bot commented Jun 5, 2023

@burczu, @anmurali, @roryabraham, @0xmiroslav Still overdue 6 days?! Let's take care of this!

@0xmiros
Copy link
Contributor

0xmiros commented Jun 5, 2023

PR is in review

@melvin-bot
Copy link

melvin-bot bot commented Jun 13, 2023

@burczu, @anmurali, @roryabraham, @0xmiroslav Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Jun 14, 2023
@melvin-bot melvin-bot bot changed the title [$1000] Web - Chat - Copying messages and with marked unread generates '<_a Icon>' in the text [HOLD for payment 2023-06-21] [$1000] Web - Chat - Copying messages and with marked unread generates '<_a Icon>' in the text Jun 14, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jun 14, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 14, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Jun 14, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.27-7 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-06-21. 🎊

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

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 Jun 14, 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.
  • [@anmurali] 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 Jun 21, 2023
@Victor-Nyagudi
Copy link
Contributor

@mountiny Has this been paid out?

@mountiny
Copy link
Contributor

mountiny commented Jun 23, 2023

Note for @anmurali we need to pay out $500 for original proposal help to @Victor-Nyagudi context is here thread_ts=1687503862.417719&cid=C01GTK53T8Q)

Otherwise there is $1000 to @0xmiroslav for C+ review

@0xmiros
Copy link
Contributor

0xmiros commented Jun 23, 2023

No PR caused regression. This issue always existed as this is the default behavior of browser selection & copy to clipboard.
But It would have been better to consider and fix this case while implementing quick reactions in mini context menu.

Regression Test Proposal

  1. Go to any chat
  2. Send multiple messages
  3. Select part of messages with mouse drag & drop, crossing over multiple report actions
  4. Hover anywhere on selected message to show mini context menu
  5. press Ctrl + C
  6. Paste it into composer
  7. Verify that emojis or any other unnecessary text are not included in the copied text

@dylanexpensify
Copy link
Contributor

Howdy all! @0xmiroslav @Victor-Nyagudi mind applying here?? 🙇‍♂️

@Victor-Nyagudi
Copy link
Contributor

Hello, @dylanexpensify.

I've applied for the job.

@anmurali
Copy link

Everyone is paid

@melvin-bot melvin-bot bot added the Overdue label Jun 26, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 27, 2023

@burczu, @anmurali, @roryabraham, @0xmiroslav Whoops! This issue is 2 days overdue. Let's get this updated quick!

@roryabraham
Copy link
Contributor

All done here

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