You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[$500] Mark down - Email with strikethrough is not underlined #37299
BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributors
Version Number: v1.4.44-0 Reproducible in staging?: y Issue reported by: Applause - Internal Team Issue found when executing PR:#36773
Action Performed:
Go to staging.new.expensify.com.
Go to any chat.
Send a message containing email in strikethrough.
Expected Result:
The email with strikethrough mark down will be underlined.
Actual Result:
The email with strikethrough mark down is not underlined.
On Android app, before sending the text, the text preview shows underlined text and the underline disappears after sending the text.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
changed the title [-]Mark down - Email with strikethrough is not underlined[/-][+][$500] Mark down - Email with strikethrough is not underlined[/+]on Feb 27, 2024
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
Please re-state the problem that we are trying to solve in this issue.
Strikethrough line is white on links and emails
What is the root cause of that problem?
We already have text-decoration styles applied to a tag, so the styles from the del tag isn't applied correctly because the text-decoration-color: rgb(90, 176, 255);.
What changes do you think we should make in order to solve the problem?
To apply both underline & line-through we need to wrap the TNodeChildrenRenderer with Text which will apply the styles for the line-through .
Steps:
Create a new HTML engine util function named isChildOfDel which will identify if the anchor is inside del tag or not.
Wrap the TNodeChildrenRenderer with Text with correct textDecorationLine style, we also need to flatten style from prop.const flattenStyles = StyleSheet.flatten(style as TextStyle);
I don't think this is a blocker and caused by any PR, this is the design we use till now. I we want to change I have a proposal. Applying both strikethrough & underline is suggested because Slack and Github also does the same.
BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributors
Activity
melvin-bot commentedon Feb 27, 2024
Job added to Upwork: https://www.upwork.com/jobs/~01532ae9e71730650e
[-]Mark down - Email with strikethrough is not underlined[/-][+][$500] Mark down - Email with strikethrough is not underlined[/+]melvin-bot commentedon Feb 27, 2024
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane (
External)github-actions commentedon Feb 27, 2024
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
kbecciv commentedon Feb 27, 2024
We think that this bug might be related to #vip-vsb
CC @quinthar
melvin-bot commentedon Feb 27, 2024
Triggered auto assignment to @youssef-lr (
Engineering), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.Krishna2323 commentedon Feb 27, 2024
Proposal from #36349 (comment)
Please re-state the problem that we are trying to solve in this issue.
Strikethrough line is white on links and emails
What is the root cause of that problem?
We already have
text-decorationstyles applied toatag, so the styles from thedeltag isn't applied correctly because thetext-decoration-color: rgb(90, 176, 255);.What changes do you think we should make in order to solve the problem?
To apply both
underline&line-throughwe need to wrap theTNodeChildrenRendererwithTextwhich will apply the styles for theline-through.Steps:
isChildOfDelwhich will identify if the anchor is insidedeltag or not.deltag or not.TNodeChildrenRendererwithTextwith correcttextDecorationLinestyle, we also need to flatten style from prop.const flattenStyles = StyleSheet.flatten(style as TextStyle);Result
strikeThroughColor.mp4
Alternative
Or we can only show the
line-throughby overriding the styles if it is insidedel.Krishna2323 commentedon Feb 27, 2024
I don't think this is a blocker and caused by any PR, this is the design we use till now. I we want to change I have a proposal. Applying both
strikethrough&underlineis suggested because Slack and Github also does the same.melvin-bot commentedon Feb 27, 2024
Triggered auto assignment to @isabelastisser (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.puneetlath commentedon Feb 27, 2024
I agree. I don't think it's a bug, but I'll let @isabelastisser and @youssef-lr confirm before closing.
Removing the deploy blocker label for now.
youssef-lr commentedon Feb 28, 2024
Yeah I'm personally fine with closing this.