Feature: Automatically create Markdown links when pasting a link on highlighted text#71819
Conversation
|
@ikevin127 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppandroid-hybrid.mp4Android: mWeb Chromeandroid-mweb.mp4iOS: HybridAppios-hybrid.moviOS: mWeb Safariios-mweb.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
|
🟢 Reviewer checklist completed. @marufsharifi Please address the 3 comments from above in order for me to be able to approve the changes and have a engineer assigned for workflows approval & final review. |
|
@ikevin127, Thanks for the review. I have addressed all the feedback. |
ikevin127
left a comment
There was a problem hiding this comment.
Thanks for the updates!
|
Looks like we do have some failed checks. Normally these run after you push up a PR but for your first PR they weren't run until I approved them to run. Kind of annoying, sorry about that. Can we fix these failing checks? |
|
@blimpich, I fixed them. It doesn't show those running again. thanks |
Codecov Report❌ Patch coverage is
... and 29 files with indirect coverage changes 🚀 New features to boost your workflow:
|
|
@marufsharifi Nice work! And great job increasing our overall test coverage! Just a few cspell errors to correct then we should be good to go 👍 |
|
@marufsharifi You can add the words failing spell check to |
|
@blimpich, @ikevin127, thanks for the review. Fixed the spell check failure as well. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/blimpich in version: 9.2.30-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.2.30-6 🚀
|
| const plainText = event.clipboardData?.getData('text/plain'); | ||
| if (plainText) { | ||
| paste(plainText); | ||
| const clipboardText = event.clipboardData?.getData('text/plain')?.trim(); |
Explanation of Change
Fixed Issues
$ #70901
PROPOSAL: (#70901 comment)
Tests
Offline tests
Same as Tests
QA Steps
Same as Tests
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Screen.Recording.1404-07-13.at.12.28.34.AM.mov
Android: mWeb Chrome
Screen.Recording.1404-07-13.at.12.29.34.AM.mov
iOS: Native
Screen.Recording.1404-07-13.at.12.24.15.AM.mov
iOS: mWeb Safari
Screen.Recording.1404-07-13.at.12.25.28.AM.mov
MacOS: Chrome / Safari
Screen.Recording.1404-07-13.at.12.21.27.AM.mov
MacOS: Desktop
Screen.Recording.1404-07-13.at.12.32.20.AM.mov