-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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][$1000] Copy to clipboard for code block message adds extra space below #15195
Comments
Triggered auto assignment to @isabelastisser ( |
Bug0 Triage Checklist (Main S/O)
|
I don't have an android, so I can't reproduce this. I was unable to reproduce this on my iPhone tho. I will post to bug-zero for help! |
SO I was able to reproduce it on android. |
Job added to Upwork: https://www.upwork.com/jobs/~017d6f7a1cf15fa6ae |
Current assignee @isabelastisser is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
Triggered auto assignment to @grgia ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Extra space below the text is added inside code block only on android/ios app, it works fine on web What is the root cause of that problem?This is due to the When we copy the code block, the following markdown will be copied: When we send that message, this is the HTML that's sent On Web, that What changes do you think we should make in order to solve the problem?In order to fix this, we need to enable the The documentation of that flag can be found here. The flag should be added to this component
Please note we should only enable this on native platform, this is also mentioned in the documentation
What alternative solutions did you explore? (Optional)NA ResultWorking well after the fix: Screen.Recording.2023-02-18.at.17.43.11.mov |
Related to #14822 |
So perhaps we put this issue on hold since that PR predates this report and it was already known. If we can't reproduce the issue after that PR hits staging, we can close this one. |
I believe this should be fixed now that #14822 was just merged. It looks like this PR #15241 published the expensify-common update before #14822 was done which meant the updates to the markdown parsing code went out without the changes @marktoman added to address the extra There wasn't anything wrong done in #15241 it's that it required changes from Expensify-Common as well and since @marktoman's changes in Expensify-Common had been merged before Expensify/expensify-common#502 was merged when the hash was updated it just also included the changes from Expensify/expensify-common#496. As for why the extra @kavimuru once #14822 has been deployed can you re-test and confirm for us that this isn't happening anymore? |
@isabelastisser Not able to reproduce. |
Closing this! |
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:
Test
)Expected Result:
Message should display same as copied
Actual Result:
Extra space below the text is added inside code block and it is only visible on android app, it works fine on android chrome
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.72-0
Reproducible in staging?: y
Reproducible in production?: y
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:
android.app.code.block.issue.mp4
az_recorder_20230215_212936.mp4
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1676459478735969
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: