-
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
[$500] IOU Report preview with links are broken #36339
Comments
Job added to Upwork: https://www.upwork.com/jobs/~011c26b958d064c598 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ntdiary ( |
Triggered auto assignment to @lschurr ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The preview background covers all content or all content displayed within the preview area What is the root cause of that problem?there is an inconsistency between the description and the merchant in the preview where we use App/src/components/ReportActionItem/MoneyRequestPreview.tsx Lines 327 to 332 in a020a23
What changes do you think we should make in order to solve the problem?we need to unify them to use Text component for both: {shouldShowDescription && <Text style={[styles.textLabelSupporting, styles.textNormal]}>{shouldShowDescription}</Text>}
{shouldShowMerchant && <Text style={[styles.textLabelSupporting, styles.textNormal]}>{merchantOrDescription}</Text>} Or we can keep the <View style={styles.breakWord}> <RenderHTML html={parser.replace(merchantOrDescription)} /> </View> |
ProposalPlease re-state the problem that we are trying to solve in this issue.IOU Report preview with links are broken What is the root cause of that problem?We are missing the basic styles for RenderHTML
What changes do you think we should make in order to solve the problem?We should wrap <View style={styles.renderHTML}>
<RenderHTML html={parser.replace(merchantOrDescription)} />
</View> ResultBefore:![]() After:![]() |
📣 @ntdiary 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @jjcoffee 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Great, assigned to you @jjcoffee |
This is a tight one! But it looks like @neonbhai's proposal got in there first (based on the edit timestamps) with the idea to wrap with a We don't want to switch to using a 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @stitesExpensify, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Sorry for late. This is dupe of #34952 |
@mkhutornyi No worries, thanks for flagging! @lschurr looks like we can close this! |
Great, thanks! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.40-0
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
Expensify/Expensify Issue URL:
Issue reported by: @Santhosh-Sellavel
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1707600516151779
Action Performed:
Break down in numbered steps
Expected Result:
The preview background covers all content or all content displayed within the preview area
Actual Result:
The description link goes out to the preview background
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
![Screenshot 2024-02-11 at 2 47 04 AM](https://private-user-images.githubusercontent.com/38435837/304122827-da76b7fe-a568-4a12-90ff-f6618477ac65.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NjIxNTEsIm5iZiI6MTczOTQ2MTg1MSwicGF0aCI6Ii8zODQzNTgzNy8zMDQxMjI4MjctZGE3NmI3ZmUtYTU2OC00YTEyLTkwZmYtZjY2MTg0NzdhYzY1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDE1NTA1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRjODYzOGE0YmI5ZTI5NzcxY2E4ZDAxZjhlZjYxNjI1OWY3NzJlN2Q5MGFjNWQxOWZlNzNiMmZlZjc0ZGNhYjEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.F7txF24W-Q5XOQeyP0ZUiGdUbo7El6YgXl7jQTwPTNU)
![Screenshot 2024-02-11 at 2 57 09 AM](https://private-user-images.githubusercontent.com/38435837/304122849-99600383-988a-4993-80b5-402da1fc0b53.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NjIxNTEsIm5iZiI6MTczOTQ2MTg1MSwicGF0aCI6Ii8zODQzNTgzNy8zMDQxMjI4NDktOTk2MDAzODMtOTg4YS00OTkzLTgwYjUtNDAyZGExZmMwYjUzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDE1NTA1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ1OGFmN2ZiYWUzYzdmZmYyZmExM2Q4YzNhZTcyMjZiYTJhOTU1MzlhZTY1ODg0ZjIwYmQwMGY4YmFkNDViMmMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.ZqEpmEYOfxEq_dm5B5u1k47T27oDVzTiMf2rXowj3JQ)
![Screen Shot 2024-02-12 at 9 37 11 AM](https://private-user-images.githubusercontent.com/38435837/304123086-e060a71f-95f1-4789-b8f6-02aa7b3b39f5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NjIxNTEsIm5iZiI6MTczOTQ2MTg1MSwicGF0aCI6Ii8zODQzNTgzNy8zMDQxMjMwODYtZTA2MGE3MWYtOTVmMS00Nzg5LWI4ZjYtMDJhYTdiM2IzOWY1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDE1NTA1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJmMzcxZGU4NzRlZTMyMDBmODQxYjBkODczNzE4MTZkNGJkMjExNjFlZjQyMDZhOWVkMzg0YzI3NWVhZmY3M2YmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.jIkt_3pPbMtAQNBpdg8tpOfD8mVC8Xpj5q0qYdPo3OE)
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: