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-05-20] [$250] Web - Using Ctrl C and Ctrl V commands does not work for copy multiple messages #8787

Closed
kbecciv opened this issue Apr 26, 2022 · 13 comments
Assignees
Labels
Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors Weekly KSv2

Comments

@kbecciv
Copy link

kbecciv commented Apr 26, 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!


Issue was found when executing PR: #8743

Action Performed:

  1. Open app
  2. Send messages with any bold, italic style words
  3. Copy multiple messages using command Ctrl C
  4. Past message using command Ctrl V

Expected Result:

Message format should be the same the you use Ctrl C and Ctrl V commands

Actual Result:

Using Ctrl C and Ctrl V commands does not keep formating when copying multiple messages

Workaround:

Unknown

Platform:

Where is this issue occurring?

  • Web

Version Number: 1.1.57.0

Reproducible in staging?: Yes

Reproducible in production?: Yes

Email or phone of affected tester (no customers): applausetester+31622@applause.expensifail.com/ Qwerty123

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

Notes/Photos/Videos: Any additional supporting documentation

Bug5547921_copy.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause

Slack conversation:

View all open jobs on GitHub

@melvin-bot
Copy link

melvin-bot bot commented Apr 26, 2022

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

@joelbettner joelbettner added the External Added to denote the issue can be worked on by a contributor label Apr 27, 2022
@melvin-bot
Copy link

melvin-bot bot commented Apr 27, 2022

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

@joelbettner
Copy link
Contributor

This sounds like it is worth being worked on if you know a good solution.

@joelbettner joelbettner removed their assignment Apr 27, 2022
@kadiealexander
Copy link
Contributor

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Apr 27, 2022
@melvin-bot
Copy link

melvin-bot bot commented Apr 27, 2022

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

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

melvin-bot bot commented Apr 27, 2022

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

@melvin-bot melvin-bot bot changed the title Web - Using Ctrl C and Ctrl V commands does not work for copy multiple messages [$250] Web - Using Ctrl C and Ctrl V commands does not work for copy multiple messages Apr 27, 2022
@b1tjoy
Copy link
Contributor

b1tjoy commented Apr 28, 2022

Reason

Because this line raise an exception when we use Ctrl C command:

dom.setAttribute('data', Str.htmlEncode(dom.data));

The exception is "dom.setAttribute is not a function".

Solution

Merge pull #8741 will fix this issue.

@ahmdshrif
Copy link
Contributor

looks to work fine now on main after merge @b1tjoy PR

@mananjadhav
Copy link
Collaborator

Thanks for the comments @b1tjoy and @ahmdshrif. @kbecciv Can you also test once if you can still reproduce this?

@kadiealexander
Copy link
Contributor

@kbecciv could you please let us know if this is reproducible?

@kbecciv
Copy link
Author

kbecciv commented May 9, 2022

@kadiealexander Issue is still reproduced.

Recording.364.mp4

@ahmdshrif
Copy link
Contributor

#8741 (comment)
Just mention that PR not deploy to stage yet .. but can be tested on main branch.

@mvtglobally
Copy link

Issue not reproducible during KI retests. (First week)

@kadiealexander kadiealexander changed the title [$250] Web - Using Ctrl C and Ctrl V commands does not work for copy multiple messages [HOLD for payment 2022-05-20] [$250] Web - Using Ctrl C and Ctrl V commands does not work for copy multiple messages May 17, 2022
@melvin-bot melvin-bot bot added Overdue and removed Overdue labels May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors Weekly KSv2
Projects
None yet
Development

No branches or pull requests

8 participants