Skip to content

[$1000] [HOLD for payment 2023-07-24] [HOLD for payment 2023-07-21] Chat - Copy to clipboard does not copy with format #22833

Closed

Description

@kbecciv

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. Open the app
  2. Open any report
  3. Send message with styling characters eg: # testing
  4. Hover on click on copy to clipboard
  5. Paste in compose box and observe that it does not copy text with format i.e. if same message send as step 3 then it will paste 'testing' in place of '# testing'

Expected Result:

App should copy text with formatting on click of copy to clipboard

Actual Result:

App does not copy text with formatting on click of copy to clipboard

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.40-4
Reproducible in staging?: y
Reproducible in production?: n
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

copy.to.clipboard.without.format.mp4
Recording.3604.mp4

Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1689272192380209

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0109720246c50a4eba
  • Upwork Job ID: 1683456836334284800
  • Last Price Increase: 2023-07-24

Activity

  1. added
    DeployBlockerCash
    on Jul 13, 2023
  2. changed the title [-]Web - Copy to clipboard does not copy with format[/-] [+]Chat - Copy to clipboard does not copy with format[/+] on Jul 13, 2023
  3. OSBotify commented on Jul 13, 2023

    @OSBotify
    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.
  4. melvin-bot commented on Jul 13, 2023

    @melvin-bot

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

  5. francoisl commented on Jul 13, 2023

    @francoisl
    Contributor

    I can reproduce on staging as well. @robertKozik I think the issue is coming from this PR, any idea how to fix it?

  6. Santhosh-Sellavel commented on Jul 13, 2023

    @Santhosh-Sellavel
    Collaborator

    @francoisl It's not related to that, as it never hit production NVM Will wait @robertKozik

  7. francoisl commented on Jul 13, 2023

    @francoisl
    Contributor

    Yeah, removing this new block solves the issue for me:

    if (['INPUT', 'TEXTAREA'].includes(event.target.nodeName)) {
        return;
    }

    ... but it also reintroduces this other issue 🙃

  8. mountiny commented on Jul 13, 2023

    @mountiny
    Contributor

    I think the previous issue is less serious than this one so reverting would make sense to me

  9. Santhosh-Sellavel commented on Jul 13, 2023

    @Santhosh-Sellavel
    Collaborator

    Yeah, Let's revert it!

  10. robertKozik commented on Jul 13, 2023

    @robertKozik
    Contributor

    Sorry I was unavailable for a while. Yeah let's revert this if needed. I wasn't aware of such a consequences of that fix

  11. ahmdshrif commented on Jul 13, 2023

    @ahmdshrif
    Contributor

    hello, I've got a solution ready that addresses both problems. If you're open to Proposals, I'm available to assist
    @francoisl @mountiny

  12. added
    Reviewing
    on Jul 13, 2023
  13. 49 remaining items

  14. joekaufmanexpensify commented on Jul 24, 2023

    @joekaufmanexpensify
    Contributor

    Ah, yep thanks for pointing that out @dhanashree-sawant . This is eligible for a reporting bonus.

  15. joekaufmanexpensify commented on Jul 24, 2023

    @joekaufmanexpensify
    Contributor

    Adding external label to create upwork job

  16. added
    External
    on Jul 24, 2023
  17. changed the title [-][HOLD for payment 2023-07-24] [HOLD for payment 2023-07-21] Chat - Copy to clipboard does not copy with format[/-] [+][$1000] [HOLD for payment 2023-07-24] [HOLD for payment 2023-07-21] Chat - Copy to clipboard does not copy with format[/+] on Jul 24, 2023
  18. melvin-bot commented on Jul 24, 2023

    @melvin-bot
  19. added
    Help Wanted
    on Jul 24, 2023
  20. melvin-bot commented on Jul 24, 2023

    @melvin-bot

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

  21. melvin-bot commented on Jul 24, 2023

    @melvin-bot

    Current assignee @Santhosh-Sellavel is eligible for the External assigner, not assigning anyone new.

  22. joekaufmanexpensify commented on Jul 24, 2023

    @joekaufmanexpensify
    Contributor

    @dhanashree-sawant offer sent for $250!

  23. joekaufmanexpensify commented on Jul 24, 2023

    @joekaufmanexpensify
    Contributor

    @dhanashree-sawant $250 sent and contract ended!

  24. joekaufmanexpensify commented on Jul 24, 2023

    @joekaufmanexpensify
    Contributor

    Upwork job closed.

  25. joekaufmanexpensify commented on Jul 24, 2023

    @joekaufmanexpensify
    Contributor

    All payment is issued, closing as this is all set. Thanks everyone!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugDailyEngineeringExternalHelp Wanted

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions