Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.56k stars 2.9k forks source link

[$250] Request money - Scan report detail screen is not scrollable on small screen #29555

Closed lanitochka17 closed 1 year ago

lanitochka17 commented 1 year ago

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.83.10

Reproducible in staging?: Yes

Reproducible in production?: No

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 / @aman-atg

Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1697145768795909

Action Performed:

Precondition: Use small screen iPhone device (iPhone 6s)

  1. Login to New Expensify app
  2. Tap FAB
  3. Select Request money > Scan tab
  4. Split Bill with two accounts
  5. Tap Split button on confirmation page
  6. Tap on created IOU report
  7. Try to scroll through the page

Expected Result:

Detail IOU report fiields should be scrollable so user can navigate to Description, Date and Merchant sections

Actual Result:

Scan report detail screen is not scrollable on small screen This bug occurs when Receipt scan is in progress and also when completed

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

Screenshots/Videos

Android: Native
Android: mWeb Chrome
iOS: Native https://github.com/Expensify/App/assets/78819774/5c7a9f3f-bacf-4e8e-93ee-916b84b65df3
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01d54d1098c90181f8
  • Upwork Job ID: 1712827802614779904
  • Last Price Increase: 2023-10-20
melvin-bot[bot] commented 1 year ago

Triggered auto assignment to @dylanexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

melvin-bot[bot] commented 1 year ago

Bug0 Triage Checklist (Main S/O)

OSBotify commented 1 year ago

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.
melvin-bot[bot] commented 1 year ago

Triggered auto assignment to @Julesssss (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

Julesssss commented 1 year ago

I can reproduce this on Android too. However, I don't think it's bad enough to block the deploy so I'm going to remove the label.

Julesssss commented 1 year ago

Android

https://github.com/Expensify/App/assets/10736861/aede2cea-ec2e-4536-8be6-4e18a81cbbfa

melvin-bot[bot] commented 1 year ago

Job added to Upwork: https://www.upwork.com/jobs/~01d54d1098c90181f8

melvin-bot[bot] commented 1 year ago

Triggered auto assignment to Contributor-plus team member for initial proposal review - @Ollyws (External)

aman-atg commented 1 year ago

I reported this here. Please update the reporter if my report was posted before the QA

cc: @kbecciv @m-natarajan

melvin-bot[bot] commented 1 year ago

Upwork job price has been updated to $250

FitseTLT commented 1 year ago

Proposal

Please re-state the problem that we are trying to solve in this issue.

Split bill detail page is not scrollable.

What is the root cause of that problem?

The problem is that MoneyRequestConfirmationList inside SplitBillDetailsPage component is not inside a ScrollView which should have been as in MoneyRequestConfirmPage as indicated below. https://github.com/Expensify/App/blob/6251e6584e4482d6616251a8193f554485d7ccba/src/pages/iou/steps/MoneyRequestConfirmPage.js#L340-L348

What changes do you think we should make in order to solve the problem?

We need to insert MoneyRequestConfirmationList in SplitBillDetailsPage component inside a ScrollView as in MoneyRequestConfirmPage. Change https://github.com/Expensify/App/blob/6251e6584e4482d6616251a8193f554485d7ccba/src/pages/iou/SplitBillDetailsPage.js#L120-L123 to

`

{isScanning && } {Boolean(participants.length) && (
Ollyws commented 1 year ago

@FitseTLT Thanks for the proposal. As this was happening on staging but not on production, any idea which PR introduced the regression?

FitseTLT commented 1 year ago

@Ollyws I don't think it is a regression because on the same SplitBillDetailPage scroll is not working with new.expensify.com. I mean, does it not mean the production?

https://github.com/Expensify/App/assets/38649957/cf45c7f7-2133-4bf9-9b2c-dd7a3ab870e0

Ollyws commented 1 year ago

@FitseTLT I think it would have got to production by now as it was on staging when this issue was created, which has been deployed to production since.

FitseTLT commented 1 year ago

I checked out to a random commit (67f4f4c1537f409c54f304a6c291fde2b6ef2a33) from the production branch created on Oct 12 before the creation of this issue but the scroll still doesn't work.

FitseTLT commented 1 year ago

Checked this bug on version 1.3.83.10 but it is reproducible. I think it is incorrect that it says No to Reproducible in production at that version.

dylanexpensify commented 1 year ago

@Ollyws thoughts ^

Ollyws commented 1 year ago

I can no longer reproduce this on the lastest main, @FitseTLT can you still reproduce this?

FitseTLT commented 1 year ago

I can no longer reproduce this on the lastest main, @FitseTLT can you still reproduce this?

Yep it is fixed now.

Ollyws commented 1 year ago

Thanks for checking @FitseTLT. @dylanexpensify This issue seems to be fixed on main now, we're good to close. Thanks!

melvin-bot[bot] commented 1 year ago

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

Julesssss commented 1 year ago

Closing as resolved