-
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
[C+ Checklist Needs Completion] [$500] When clicking on "Mark as unread" the background image scrolls up and down unexpectedly #30218
Comments
Triggered auto assignment to @greg-schroeder ( |
Job added to Upwork: https://www.upwork.com/jobs/~011368eedf256e8dda |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.When clicking on "Mark as unread" the background image scrolls up and down unexpectedly. What is the root cause of that problem?App/src/components/ReportActionItem/MoneyRequestView.js Lines 287 to 290 in 112061b
App/src/components/SpacerView.js Line 36 in 112061b
What changes do you think we should make in order to solve the problem?
App/src/pages/home/report/ReportActionItem.js Line 610 in 112061b
We should remove margin style in above code, which add bottom margin if spacer is hidden. It's related to this PR and this PR might be a regression in this case.
App/src/pages/home/report/ReportActionItem.js Line 610 in 112061b
The spacer has 16px margin if it's shown, but the above code only adds 8px margin if the spacer is hidden. What alternative solutions did you explore? (Optional)N/A |
ProposalPlease re-state the problem that we are trying to solve in this issue.When clicking on "Mark as unread" the background image scrolls up and down unexpectedly What is the root cause of that problem?When we App/src/components/SpacerView.js Lines 34 to 37 in d282473
And then because when the thread divider line is hidden we have a App/src/pages/home/report/ReportActionItem.js Line 610 in d282473
What changes do you think we should make in order to solve the problem?This margin-bottom adds a space between the created view and the unread marker. To avoid the scrolls up and down, we can App/src/pages/home/report/ReportActionItem.js Line 610 in d282473
Line 2785 in d282473
What alternative solutions did you explore? (Optional)We can change
Or we can remove the use of animated view in |
@greg-schroeder, @allroundexperts Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Awaiting proposal review |
@akamefi202's proposal looks good to me. @dukenv0307 I think your proposal is almost the same as what @akamefi202 proposed earlier. Please let me know if I missed anything. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @youssef-lr, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@allroundexperts If the ideal is to keep the animated view, my solution is different from the selected solution since I suggested changing |
@dukenv0307 It's consistent because the proposal suggests to remove margin in App/src/pages/home/report/ReportActionItem.js Line 610 in 112061b
|
@akamefi202 it's not consistent. Let's see the space between the last menu item and the divider it's 8px. |
@dukenv0307 8px margin is added here. #27766 |
If we add a space of 16px, it's the space between the created view and the unread marker. It's wrong because it should be 8px.
We only need to prevent cc @allroundexperts to share your thoughts. |
@greg-schroeder @allroundexperts Could you plz let me start working on this issue if there isn't other problem? |
@allroundexperts what's the final decision here? |
Going through the discussion again! |
@allroundexperts The PR is ready for review. |
This is a regression from #27766 |
Reviews continue on linked PR |
Bump @youssef-lr - please take a look at the linked PR/questions for you from C! Thanks! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.9-5 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-12-15. 🎊 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:
|
Reporter: $50 The job post was closed, so I created a new payment issue and sent out new offers. Sibtain you can file a manual request. Next up is the checklist! |
@dukenv0307 offer still pending if you're able to accept! |
Gentle bump on checklist as well @allroundexperts :) |
@greg-schroeder I've accepted, thank you! |
Checklist
Regression test
Verify that clicking on "Mark as unread" does not cause the background image to scroll up and down. Do we 👍 or 👎 ? |
LGTM. Adding and closing. |
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.89-6
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/p1698091949515899
Action Performed:
Expected Result:
Clicking on "Mark as unread" should not cause the background image to scroll up and down
Actual Result:
When clicking on "Mark as unread," the background image scrolls up and down unexpectedly
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
20231024011931.mp4
Android: mWeb Chrome
20231024012134.mp4
iOS: Native
Screen.Recording.2023-10-24.at.1.17.53.AM.mov
iOS: mWeb Safari
Screen.Recording.2023-10-24.at.1.18.36.AM.mov
MacOS: Chrome / Safari
Screen.Recording.2023-10-24.at.1.13.42.AM.mov
Mark.as.unread.the.background.image.scrolls.up.and.down.unexpectedly.mp4
MacOS: Desktop
2023-10-24.01-05-39.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: