-
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
[Awaiting checklist completion][$250] LHN - HTML "<h1>" tag can be seen on the #admins room LHN preview #40348
Comments
Triggered auto assignment to @twisterdotcom ( |
@twisterdotcom I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors. |
We think this issue might be related to the #collect project. |
Pretty sure this is a dupe |
ProposalPlease re-state the problem that we are trying to solve in this issue.LHN option list content is not rendered properly and we see the html tags in report message What is the root cause of that problem?The App/src/components/LHNOptionsList/OptionRowLHN.tsx Lines 217 to 225 in 1f694e2
This results in us seeing the content with What changes do you think we should make in order to solve the problem?We need to convert this message to normal text first before being display, we can use
{optionItem.alternateText ? (
<Text
style={alternateTextStyle}
numberOfLines={1}
accessibilityLabel={translate('accessibilityHints.lastChatMessagePreview')}
>
{parser.htmlToText(optionItem.alternateText)}
</Text>
) : null} We should also remove the App/src/components/LHNOptionsList/OptionRowLHN.tsx Lines 61 to 63 in 1f694e2
ResultResult VideoScreen.Recording.2024-04-17.at.7.10.48.PM.mov |
Can you please post the dupe if you find it, I will also search for it @twisterdotcom |
Yes, sorry, being pulled into something else but will look again in a bit. I opened this tab, said that, searched and immediately got distracted, my bad. |
haha, no worries |
No luck finding the dupe :), Are you sure that you saw this issue before @twisterdotcom ? |
So, here are the issues I think I was thinking about: https://github.com/Expensify/Web-Expensify/pull/37784 Basically, I think that we show HTML in the LHN is expected, given @puneetlath closed the last issue I see for this above. Going to get a C+ involved for their take too, because I agree this would be nice to clean up though if you can do it. |
Job added to Upwork: https://www.upwork.com/jobs/~01b3428578236ce20d |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ntdiary ( |
I read the issue, that was related |
Taking over! |
I think given we want to support HTML in LHN, we can go forward with @GandalfGwaihir's proposal as its simple enough and makes sense. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @tylerkaraszewski, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
friendly bump to @tylerkaraszewski for assignment |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.69-2 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 2024-05-09. 🎊 For reference, here are some details about the assignees on this 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:
|
@tylerkaraszewski, @twisterdotcom, @allroundexperts, @GandalfGwaihir Eep! 4 days overdue now. Issues have feelings too... |
melvin, I told you to go away. |
@twisterdotcom , can you pay this please :) |
Thanks so much for the patience here folks. Always crazy coming back from a week out. Payment Summary:
|
@allroundexperts we just need the regression steps here. |
Checklist
|
$250 approved for @allroundexperts |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.61.8
Reproducible in staging?: Y
Reproducible in production?: Y
Found when executing PR : https://github.com/Expensify/Expensify/issues/380529
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Expected Result:
HTML tags shouldn't be visible.
Actual Result:
HTML "
" tag can be seen on the #admins room LHN preview. It's not visible in the room.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @allroundexpertsThe text was updated successfully, but these errors were encountered: