-
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-11-22] [$500] Inconsistency in the request money preview text size #30275
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01a260f6acb4caa392 |
Triggered auto assignment to @lschurr ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Inconsistency in the request money preview text size What is the root cause of that problem?In the What changes do you think we should make in order to solve the problem?We should change the text in the What alternative solutions did you explore? (Optional)N/A POC poc-issue-30275.mov |
ProposalPlease re-state the problem that we are trying to solve in this issue.Inconsistency in the request money preview text size What is the root cause of that problem?The amount text of
But in
Line 1263 in b72dfd4
That makes the inconsistency font size of the amount text in small screen width What changes do you think we should make in order to solve the problem?In
What alternative solutions did you explore? (Optional)We can update the amount text font size in
We will only need to update the fontSize adjustable for |
ProposalPlease re-state the problem that we are trying to solve in this issue.Inconsistency in the request money preview text size What is the root cause of that problem?We have different style between two.
App/src/components/ReportActionItem/MoneyRequestPreview.js Lines 277 to 279 in f8fc21d
What changes do you think we should make in order to solve the problem?We need update
What alternative solutions did you explore? (Optional) |
@lschurr I am not sure about the expected result. I think there is a difference between the two previews :
So I think having a different style for each preview makes sense. cc @Expensify/design Should we unify the styles for both previews? |
I agree, these should be consistent. @JmillsExpensify @trjExpensify is this a regression from somewhere? |
@shawnborton What should be expected? Here is the difference between the two styles:
Screen.Recording.2023-10-26.at.4.59.42.PM.mov |
I think the preview card should have a consistent max-width (so they all look the same width on desktop), but it's okay if it goes 100% width on smaller screens |
@shawnborton All cards have the same width, but the issue lies in the text size on the cards. CleanShot.2023-10-26.at.18.05.31.mp4 |
Interesting, I don't know how we ended up with a responsive text size like that but I think we should revert that to stay static. I guess the idea might have been to make the text dynamically smaller in case there were a lot of avatars? @youssef-lr any ideas here? |
@shawnborton looks like this change came from this PR to fix the large amounts being cut off in the split preview.. |
@shawnborton Coming from #24321 (comment) (Related Slack), The expected is :
Should we create a different style for the split preview, adjusting the text size based on responsiveness, while keeping the text size static for the other money previews? |
I think they should all be consistent, personally. |
Covering for Shawn while he's OOO: Agree that they should all be consistent. If the numbers can't fit, we should shrink to make them fit (but also this is quite rare), but otherwise keep the same static size. |
@wlegolas @dukenv0307 @yh-0218 Could you please update your proposals to follow the expected behavior in #30275 (comment) ? |
@fedirjh So we will make both text has the static font-size right? |
My alternative solution have already covered this case #30275 (comment) |
Alrighty, I've assigned @dukenv0307 |
@fedirjh The PR is ready for review. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.99-0 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-11-22. 🎊 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.
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:
|
@fedirjh could you work through the checklist for this one? |
BugZero Checklist:
Regression Test Proposal
|
Payment summary:
|
@ayazalavi could you apply to the job in Upwork? https://www.upwork.com/jobs/~01a260f6acb4caa392 |
@lschurr You've mentioned the wrong person. I've applied on Upwork. Thank you. |
Sorry about that! GH auto-populated. Thanks! |
Updated the payment summary with the correct GH handle. |
Offer accept, Thank you |
Sorry about the delay! These are all paid now. |
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.3.90-1
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: @ayazhussain79
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1698087869176119
Action Performed:
Expected Result:
The request money preview text size should be the same in both the chat and the review sections
Actual Result:
There is an inconsistency in the request money preview text size
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
20231024000522.mp4
Android: mWeb Chrome
20231024000545.mp4
iOS: Native
Screen.Recording.2023-10-23.at.11.58.16.PM.mov
RPReplay-Final1698099846.MP4
iOS: mWeb Safari
Screen.Recording.2023-10-24.at.12.06.11.AM.mov
MacOS: Chrome / Safari
2023-10-24.03-27-22.mp4
MacOS: Desktop
Screen.Recording.2023-10-24.at.3.29.03.AM.mov
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: