Skip to content
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

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

Closed
2 of 6 tasks
lanitochka17 opened this issue Oct 13, 2023 · 22 comments
Closed
2 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors

Comments

@lanitochka17
Copy link

lanitochka17 commented Oct 13, 2023

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

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Android: Native
Android: mWeb Chrome
iOS: Native
Bug6235651_1697189754772.GBRN5901.mp4
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
@lanitochka17 lanitochka17 added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Oct 13, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 13, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Oct 13, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@OSBotify
Copy link
Contributor

👋 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
Copy link

melvin-bot bot commented Oct 13, 2023

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

@Julesssss
Copy link
Contributor

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
Copy link
Contributor

Android

screen-20231013-144044.2.mp4

@Julesssss Julesssss added Daily KSv2 Hourly KSv2 External Added to denote the issue can be worked on by a contributor and removed Hourly KSv2 DeployBlockerCash This issue or pull request should block deployment Daily KSv2 labels Oct 13, 2023
@melvin-bot melvin-bot bot changed the title Request money - Scan report detail screen is not scrollable on small screen [$500] Request money - Scan report detail screen is not scrollable on small screen Oct 13, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 13, 2023

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Oct 13, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 13, 2023

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

@aman-atg
Copy link
Contributor

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

cc: @kbecciv @m-natarajan

@mountiny mountiny added Daily KSv2 and removed Hourly KSv2 labels Oct 13, 2023
@mountiny mountiny changed the title [$500] Request money - Scan report detail screen is not scrollable on small screen [$250] Request money - Scan report detail screen is not scrollable on small screen Oct 13, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 13, 2023

Upwork job price has been updated to $250

@FitseTLT
Copy link
Contributor

FitseTLT commented Oct 13, 2023

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.

<ScrollView contentContainerStyle={[styles.flexGrow1]}>
<ScrollView
horizontal
contentContainerStyle={[styles.flex1, styles.flexColumn]}
>
<MoneyRequestConfirmationList
transactionID={props.iou.transactionID}
hasMultipleParticipants={iouType.current === CONST.IOU.MONEY_REQUEST_TYPE.SPLIT}
selectedParticipants={participants}

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

{isScanning && <MoneyRequestHeaderStatusBar />}
{Boolean(participants.length) && (
<MoneyRequestConfirmationList
hasMultipleParticipants

to

<ScrollView contentContainerStyle={[styles.flexGrow1]}> {isScanning && <MoneyRequestHeaderStatusBar />} {Boolean(participants.length) && ( <MoneyRequestConfirmationList hasMultipleParticipants
Result:

3.New.Expensify.1.mp4

What alternative solutions did you explore? (Optional)

@Ollyws
Copy link
Contributor

Ollyws commented Oct 15, 2023

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

@FitseTLT
Copy link
Contributor

FitseTLT commented Oct 16, 2023

@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?

3.New.Expensify.1.mp4

@Ollyws
Copy link
Contributor

Ollyws commented Oct 16, 2023

@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
Copy link
Contributor

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

@FitseTLT
Copy link
Contributor

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
Copy link
Contributor

@Ollyws thoughts ^

@Ollyws
Copy link
Contributor

Ollyws commented Oct 18, 2023

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

@FitseTLT
Copy link
Contributor

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

Yep it is fixed now.

@Ollyws
Copy link
Contributor

Ollyws commented Oct 18, 2023

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

@melvin-bot melvin-bot bot added the Overdue label Oct 20, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 20, 2023

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

@Julesssss
Copy link
Contributor

Closing as resolved

@melvin-bot melvin-bot bot removed the Overdue label Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors
Projects
None yet
Development

No branches or pull requests

8 participants