-
Notifications
You must be signed in to change notification settings - Fork 3k
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-30] [$1000] Chat - Deleted messages with heading style not strike-through in offline #18658
Comments
Triggered auto assignment to @twisterdotcom ( |
Bug0 Triage Checklist (Main S/O)
|
This comment was marked as outdated.
This comment was marked as outdated.
Created another post for the desktop issue: https://expensify.slack.com/archives/C049HHMV9SM/p1683822276071329 |
Job added to Upwork: https://www.upwork.com/jobs/~010211de21c6d5876a |
Current assignee @twisterdotcom is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mollfpr ( |
Triggered auto assignment to @cristipaval ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.When messages are deleted in offline mode, strikethrough looks like an underline for headings (# Example heading). Note - I would also like to add that I noticed this behaviour in the web version in Chrome and Brave but not Safari. Moreover, the web version had issues on the laptop but not on the phone. I also noticed this issue in the desktop app on Mac. What is the root cause of that problem?The CSS property In case of Chrome, Brave, desktop version the strikethrough appears as the underline because the strikethrough line position is being calculated based on the If you notice carefully, the thickness of the line is also wrong for headings since it is being calculated incorrectly. The thickness is actually more than the thickness of the letters. <body>
<div style="text-decoration-line: line-through;">
<h1 style="font-size: 30px; text-decoration-line: none;">
<div style="display: inline; font-size: 10px; text-decoration-line: none;">
My heading
</div>
</h1>
</div>
</body> You can test this code in safari, the strikethrough will look correct but the same code will show an underline in chrome. I tried to find out how strikethrough position is calculated but found very little information but here are my observations -
What changes do you think we should make in order to solve the problem?In order to fix this, I think we should set We can't change the display of inner What alternative solutions did you explore? (Optional)NA Result - |
Let me know your thoughts about these. |
Not overdue. |
@Nikhil-Vats Could you elaborate on your solution? What and where are the changes needed to our codebase? |
Sorry @Nikhil-Vats - I don't think the email subject is a problem at all. I was just going through the motions up there. I'll mark it as outdated. |
Thanks for the clarification @twisterdotcom. |
How is the proposal going @Nikhil-Vats? |
@twisterdotcom Upon further investigation, I can't find a solution I am satisfied with. Here's what's happening in a bit more detail -
Possible solutions -
I am open to coming up with an approach for the Potential solution if you think it is okay to replace CSS styles in OfflineWithFeedback with the |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@mollfpr this has now gone over my head. Could I ask for your insight please? |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.31-3 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-06-30. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Triggered auto assignment to @slafortune ( |
Hey @slafortune - I'm OOO for the rest of the week. Could you please handle the payment and test case if required? |
This should be cached while QA is happened, so regression step should be enough.
Prerequisites:
Additionally, thoroughly test every markdown style. Note -
|
Offers sent @mollfpr @Nikhil-Vats 👍 |
@cristipaval @mollfpr @slafortune This PR was merged after 9 days but it fixes two issues - this one and #17488 and it took a lot of time and effort because it was difficult to come up with an approach that fixed everything without any regression. So, I just wanted to request you to take this into account while deciding the payment amount. |
I think @twisterdotcom and @slafortune are the ones who can decide about the payment, as they are the BugZero team members assigned to this issue. |
I think we can bonus this for an extra $500 each. @slafortune have you already paid out? I think you can add a bonus anyway if the contract remains open. And did you finish the test case? If so, can we close? |
On a side note, there was a regression from the first PR #18658 (comment). |
Cool! Paid with bonus - Thanks all for the details and info! Test case was completed. |
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:
Expected Result:
Deleted messages with quotes & heading style not strike-through in offline
Actual Result:
Unknown
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.12.0
Reproducible in staging?: Yes
Reproducible in production?: yes
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
https://platform.applause.com/services/links/v1/external/46a8d74188263bb1897e1e4a7749ded33d49e43661aebf91b349fb4bd53e5edf
Bug6048345_Screen_Recording_20230509_193244_Chrome.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: