Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.42k stars 2.8k forks source link

[$1000] Web- Chat - Markdown styles (Bold, Italic) are not retained if copy-paste message from draft #12768

Closed kbecciv closed 1 year ago

kbecciv commented 1 year ago

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 https://staging.new.expensify.com/ and login
  2. Open any chat
  3. Copy message from Slack compose box with Bold and Italic markdown
  4. Past it to NewDot compose box

Expected Result:

Markdown styles (Bold, Italic) should be the same after copy-paste message from Slack

Actual Result:

Markdown styles (Bold, Italic) are not the same if copy-paste message from draft. However they are kept the same when copy a sent message.

Workaround:

Unknown

Platform:

Where is this issue occurring?

Version Number: 1.2.28.1

Reproducible in staging?: Yes

Reproducible in production?: Yes

Email or phone of affected tester (no customers):

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

Notes/Photos/Videos: Any additional supporting documentation

https://user-images.githubusercontent.com/93399543/202209938-e61b178b-3222-47e4-8e54-e808b94b8229.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

Upwork Automation - Do Not Edit

melvin-bot[bot] commented 1 year ago

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

melvin-bot[bot] commented 1 year ago

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

melvin-bot[bot] commented 1 year ago

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

melvin-bot[bot] commented 1 year ago

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

melvin-bot[bot] commented 1 year ago

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

eh2077 commented 1 year ago

It's because we can't copy rich text(html) from draft of Slack. You can verify it by performing action

  1. Open Slack in a browser and copy draft with markdown styles from Slack
  2. Open Slack in another browser and paste it to a message editor of Slack

While I'm still curious about how Slack achieves it in the same browser.

melvin-bot[bot] commented 1 year ago

@tjferriss, @jasperhuangg, @thesahindia Huh... This is 4 days overdue. Who can take care of this?

thesahindia commented 1 year ago

Thanks @eh2077, I agree this isn't a bug. I am seeing the same behaviour on https://stackedit.io/app#

s77rt commented 1 year ago

Should this be closed?

thesahindia commented 1 year ago

@jasperhuangg @tjferriss, let's close this.