-
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
[$1000] Inconsistent codeblock parsing that allowing codeblock to be styled #18556
Comments
Triggered auto assignment to @bfitzexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Inconsistent codeblock parsing that allowing codeblock to be styled What is the root cause of that problem?Inconsistent rule replacement between italic and strikethrough in expensify-common lib The rule replacement of italic in here is only wrapped inside with
While the rule replacement of strikethrough in here is always wrapped inside with
What changes do you think we should make in order to solve the problem?Change the rule replacement of strikethrough to be the same as italic since codeblock shouldn't be styled. What alternative solutions did you explore? (Optional)If we somehow prefer the rule replacement of strikethrough, we can change rule of italic to be the same as strikethrough. But I still prefer that codeblock shouldn't be styled by either italic, bold, or strikethrough. |
Reproduced |
Job added to Upwork: https://www.upwork.com/jobs/~0131f6c3fd981b25bb |
Current assignee @bfitzexpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
Triggered auto assignment to @francoisl ( |
It appears that this may have been a case that should have been handled in PR #16437 . I am not sure if it was intentionally skipped . cc @situchan @aimane-chnaif do you have any inputs why this was not addressed in the previous PR #16437 ? I mean is this a valid bug ? I may tag cc @eh2077 as well since you worked on a similar issues in the past. |
@fedirjh you're correct. We didn't address that intentionally. There are some issues related to strikethrough codeblock, quote when deleted offline: |
If I may add, this issue is happened on online state, should it be treated like the offline state as well? |
I didn't mean that. There's already pattern of codeblock being "strikethrough"ed. So I am not sure why it can be in one case, but can't be in another case. |
Thanks for the update @aimane-chnaif, I have started a discussion https://expensify.slack.com/archives/C02NK2DQWUX/p1683929440780999?thread_ts=1680027731.102599&cid=C02NK2DQWUX to get more inputs. |
@bfitzexpensify I think this should be closed as per Slack discussion |
Cool, I agree. Closing this out. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Strikethrough codeblock
Italic codeblock
Expected Result :
Either both message parsed appropriately (italic codeblock being italicized, strikethrough codeblock have strikethrough), or both message's styling shouldn't be parsed because codeblock shouldn't be styled
Actual Result :
The italic codeblock isn't italicized, but strikethrough codeblock have strikethrough
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.11.2
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
Strikethrough.Codeblock.mp4
Expensify/Expensify Issue URL:
Issue reported by: @kerupuksambel
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1683378715811639
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: