-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 2023-06-09] [$1000] Composer input is empty when editing the word [block]
in chat
#17776
Comments
Triggered auto assignment to @maddylewis ( |
Bug0 Triage Checklist (Main S/O)
|
@maddylewis Whoops! This issue is 2 days overdue. Let's get this updated quick! |
This comment was marked as outdated.
This comment was marked as outdated.
oh, i see. it's if you literally type the word 2023-04-24_13-40-01.mp4 |
Triggered auto assignment to @cead22 ( |
hiya - just confirming that this can be fixed |
@maddylewis yes this can be fixed externally, so you can apply the label. Can you update the issue description to make it extra clear what the steps to reproduce should be, and remove any boilerplate info from there? |
[block]
in chat
[block]
in chat[block]
in chat
Job added to Upwork: https://www.upwork.com/jobs/~01a0c0a4619ff68e29 |
Current assignee @maddylewis is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Editing comment What is the root cause of that problem?When editing comment
through method htmlToMarkdown. The string So the root cause of this issue is that we choose string What changes do you think we should make in order to solve the problem?To fix this issue, we should avoid to have a separator that possibly conflicts with normal/visual user input text.
The new separator string
We can also simplify the separator a little bit by using What alternative solutions did you explore? (Optional)We can also use separator, like
While method htmlToMarkdown isn't self-sufficient as it requires the potential separator |
Current assignee @cead22 is eligible for the External assigner, not assigning anyone new. |
ProposalPlease re-state the problem that we are trying to solve in this issue.The composer is empty if editing the text What is the root cause of that problem?The root cause is from here https://github.com/Expensify/expensify-common/blob/e93e1eb448ad6bdbde911fd6239f70d5e749635e/lib/ExpensiMark.js#L531, we use So the problem is the What changes do you think we should make in order to solve the problem?A question is: why does it happen for That's because we have the logic to escape the special characters in https://github.com/Expensify/expensify-common/blob/e93e1eb448ad6bdbde911fd6239f70d5e749635e/lib/ExpensiMark.js#L333, so We should do the same for the Aside from this, we should also modify the https://github.com/Expensify/expensify-common/blob/3cdaa947fe77016206c15e523017cd50678f2359/lib/str.js#L315 so that it will strip all HTMLs excluding our reserved What alternative solutions did you explore? (Optional)As long as we replace Another potential solution is to remove all occurrences of |
Hi @rushatgabhane, I think |
yeah, agree with @eh2077 👍 |
apologies! sending offers now! |
Triggered auto assignment to @flaviadefaria ( |
hiya @flaviadefaria - all that's needed here is:
I'll be back on June 20 - thanks! |
@rushatgabhane can you please complete the list here so that I can issue your payment? Thanks! |
Still waiting for @rushatgabhane to fill the tasks I mentioned above so that I can issue payment and close this. |
Hi, could we please change this to a weekly? I won't be able to complete the checklist until Friday 😅 |
all good! i will keep at daily just for my own organization. but, no worries if you don't complete the checklist until Friday 👍 |
@maddylewis since you're back I'll unassign myself from this issue. |
@rushatgabhane - let us know know if you think a regression test update is required for this one - thanks! |
@maddylewis no regression test required. This can never happen again |
Checklist
4.Determine if we should create a regression test for this bug. NO |
thanks @rushatgabhane - just waiting for you to accept the offer I sent you and then i will close this out 👍 |
Hey @maddylewis , Anu is setting up global payments through expensify for us. It might take another week or two, and we'll have the clarity of next steps for payment. Until then, we could make this a weekly issue? I hope this is okay :) |
of course! thank you for letting me know :) moving to weekly. |
Jul 5 is when I'll get the confirmation if manual requests worked as expected |
Hi @maddylewis, I made a manual request on new dot - https://staging.new.expensify.com/r/5901048936724743 |
This is paid by Anu, and can be closed. |
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:
[block]
and send it as a messageExpected Result:
The composer input should be text
[block]
in editing modeActual Result:
The composer input is empty
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.3
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: Any additional supporting documentation
Recording.304.mp4
Screen.Recording.2023-04-21.at.5.32.28.AM.mov
Expensify/Expensify Issue URL:
Issue reported by: @eh2077
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1681920140787049
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: