-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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 - Description and Merchant in IOU preview are displayed in different style #35393
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01370109af3b78ad99 |
Triggered auto assignment to @anmurali ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
We think that this bug might be related to #vip-bills |
ProposalPlease re-state the problem that we are trying to solve in this issue.IOU - Description and Merchant in IOU preview are displayed in different style What is the root cause of that problem?The main problem with issue is that we use different component with different styles App/src/components/ReportActionItem/MoneyRequestPreview.js Lines 337 to 338 in 27271d5
What changes do you think we should make in order to solve the problem?To fix this issue we can use the same styles and components for these texts But there is a bit unclear what we are expected But since before we had problem with markdown What alternative solutions did you explore? (Optional)NA |
ProposalPlease re-state the problem that we are trying to solve in this issue.Merchant is not bolded and appear grayed out, while the description is bolded in IOU preview. What is the root cause of that problem?App/src/components/ReportActionItem/MoneyRequestPreview.js Lines 337 to 338 in 27271d5
we are rendering merchant and description in 2 different way What changes do you think we should make in order to solve the problem?App/src/components/ReportActionItem/MoneyRequestPreview.js Lines 337 to 338 in 27271d5
Because in 2 cases, we both render the same value
Option 2:
We need to ask the design team to decide which option we should go with What alternative solutions did you explore? (Optional)NA |
ProposalPlease re-state the problem that we are trying to solve in this issue.The text color style between merchant and description is different. What is the root cause of that problem?The description is rendered with RenderHTML while the merchant is rendered with text with a style that has a App/src/components/ReportActionItem/MoneyRequestPreview.js Lines 337 to 338 in 82ae62f
The default style for RenderHTML can be seen below which is different from the merchant text style (the color). Lines 217 to 220 in 82ae62f
What changes do you think we should make in order to solve the problem?To make them both show the same color, we can wrap the description with
|
@anmurali, @rushatgabhane Whoops! This issue is 2 days overdue. Let's get this updated quick! |
reviewing |
I like @bernhardoj's proposal 🎀 👀 🎀 The expected result is - the preview should have color |
Triggered auto assignment to @marcochavezf, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@marcochavezf based on #35393 (comment), should we assign the job to @bernhardoj ? |
Yes, assigning @bernhardoj 🚀 thanks for the review @rushatgabhane, and apologies for the delay |
📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
PR is ready cc: @rushatgabhane |
This issue has not been updated in over 15 days. @marcochavezf, @anmurali, @rushatgabhane, @bernhardoj eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
@anmurali could you please attach payment summary, thanks 🙇 |
payment request here https://staging.new.expensify.com/r/1789662421125982 |
@anmurali please add a payment summary when you get a chance. |
|
@JmillsExpensify added above and paid @bernhardoj. I am closing the issue as it sounds like you already have a ND request for @rushatgabhane and you can check it off here after you process payment for this on ND. |
$500 approved for @rushatgabhane based on summary. |
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: v1.4.33-3
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: Applause- Internal Team
Slack conversation:
Action Performed:
Expected Result:
Merchant and Description will be displayed in IOU preview in the same style.
Actual Result:
Merchant is not bolded and appear grayed out, while the description is bolded in IOU preview.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6360790_1706616061774.20240130_123505.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: