-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 - Padding below total increases for unread messages on mobile devices #30360
Comments
Triggered auto assignment to @alexpensify ( |
Job added to Upwork: https://www.upwork.com/jobs/~0158fbfd6d89166dba |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ArekChr ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Padding below total increases for unread messages on mobile devices What is the root cause of that problem?The root cause of this problem is found in here: Lines 126 to 131 in cc3c51c
The size of the CONTAINER_MINHEIGHT for SMALL_SCREEN is the same as the size of CONTAINER_MINHEIGHT for WIDE_SCREEN .
Furthermore, a discrepancy on the web arises when What changes do you think we should make in order to solve the problem?
SMALL_SCREEN: {
IMAGE_HEIGHT: 300,
CONTAINER_MINHEIGHT: 260, // Update this line
VIEW_HEIGHT: 220,
},
{props.shouldShowHorizontalRule && (
<SpacerView
shouldShow={props.shouldShowHorizontalRule}
style={[props.shouldShowHorizontalRule ? styles.reportHorizontalRule : {}]}
/>
)} Implementing these changes will address the excessive padding issue on both mobile devices and web interfaces by adjusting CONTAINER_MINHEIGHT appropriately and rendering the What alternative solutions did you explore? (Optional)NA ResultsNativenative.mp4Web[web.webm](https://github.com/Expensify/App/assets/111440031/2f40b5f5-8492-47e6-9270-9321b0a4d33b) |
ProposalPlease re-state the problem that we are trying to solve in this issue.IOU - Padding below total increases for unread messages on mobile devices What is the root cause of that problem?We have 2 problems here:
And we fix the minHeight, in this case, it's 280px Line 944 in cd851f5
but, if we show the unread marker, the
App/src/pages/home/report/ReportActionItem.js Line 610 in 414d591
What changes do you think we should make in order to solve the problem?Solution 1:
Solution 2:
I prefer the solution 2 because, it not only preserves the space between new line and total, but also the distance between new line and money preview ResultScreen.Recording.2023-10-26.at.17.15.28.mov |
@tienifr, I’ve gone through your proposal, and it seems good overall. Regarding the second solution, my only concern is negative spacing. Generally, avoiding such styles is a good idea as they can lead to inconsistency in the future. What are your thoughts on fixing this issue by avoiding negative spacing? |
What are your thoughts on my proposal? @ArekChr |
@ArekChr - can you review the responses when you get a chance? Thanks! |
@garrettmknight Hello, I am wrapping up some urgent matters today, and I will be OOO from tomorrow to Monday. Can we assign another C+ here so as not to block the task? |
I can take over |
📣 @situchan 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @dhanashree-sawant 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
@tienifr does your solution also fix web as well? Screen.Recording.2023-10-31.at.10.19.14.PM.mov |
Thanks! Regressions are always a priority. |
No update here |
The PR is in a draft-- making progress |
PR ready #39297 |
Update: The PR is waiting for @Beamanator to review it. |
Update: The PR is moving forward |
Weekly Update: The PR is going through some polish updates to help the design. |
📣 @DylanDylann 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
FYI I'm assigning @DylanDylann as C+ to review - but I haven't unassigned @situchan since they also did a review a bit ago. |
Weekly Update: Looks like the PR is going through a final review. |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
@DylanDylann - can we get an update if this Deploy Blocker is accurate or an error? Thanks! |
@alexpensify Yeah, It is a regression |
@alexpensify When I submitted the PR for review, the new feature "invoice" was not there. The issue happened with the invoice report. |
Thank you for this context! It looks like the automation failed here and payment is due for this one. I'll work on that process. |
Please disregard the last comment. Ok, flagging this notice: #30360 (comment) @dragnoir please apply here: https://www.upwork.com/jobs/~0104d969f5990f36bd Everyone else will be paid via this link: https://www.upwork.com/jobs/~0158fbfd6d89166dba After, I can carry on with the payment process. Thanks! |
@alexpensify applied, thank you |
Payouts due: 2024-05-13 - delayed due to automation failure
Upwork job is here. The PR was submitted before the payment changes in April. Also, this issue was created in 2023, so that's why there is a reporter bonus. |
@dragnoir - I sent you an offer in Upwork. Please accept, and I can complete the payment process. |
@alexpensify offer accepted, thank you |
All set, everyone has been paid via Upwork! Heads up, I will be offline until Tuesday, May 28, 2024, and will not actively watch over this GitHub during that period.If anything urgent is needed here, please ask for help in the #expensify-open-source Slack Room-- thanks! |
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.3.90.2
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: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1698067716752699
Action Performed:
Expected Result:
App should have equal padding below total irrespective of presence of 'New' line
Actual Result:
On mobile devices, padding between total and 'New' line is way more then padding when there is no 'New' line
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
android.native.padding.below.total.mp4
Android: mWeb Chrome
android.chrome.padding.below.total.mp4
iOS: Native
ios.native.padding.below.total.mov
iOS: mWeb Safari
ios.safari.padding.below.total.mov
MacOS: Chrome / Safari
MacOS: Desktop
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: