App: [HOLD for payment 2023-03-20] [$2000] App does not scroll to bottom when request / send money flow is done

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Open the app
  2. Open any report
  3. Scroll above (any amount of scroll is okay)
  4. Click on + directly to the left of the compose back then click on request money / send money
  5. enter any amount and click on continue

Expected Result:

App should scroll to bottom to display the latest message for request money / send money like it does for normal messages

Actual Result:

App does not scroll to bottom on request money / send money

Workaround:

unknown

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.2.77-0 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 Notes/Photos/Videos:

https://user-images.githubusercontent.com/43996225/221721298-c63e2dfa-3f93-4209-a5f5-cc59facf8a09.mp4

https://user-images.githubusercontent.com/43996225/221721336-8b3615e0-6614-49e2-8bad-602a52c64a2f.mp4

Expensify/Expensify Issue URL: Issue reported by: @dhanashree-sawant Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1677491592244309

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01c3dd247c6f2c42a2
  • Upwork Job ID: 1631271440692035584
  • Last Price Increase: 2023-03-09

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 39 (26 by maintainers)

Most upvoted comments

Thanks @PrashantMangukiya , you’re hired! @dhanashree-sawant and @aimane-chnaif too, can you please accept the job and reply here once you have? https://www.upwork.com/jobs/~01c3dd247c6f2c42a2

Sorry guys, making this external so C+ can review the proposals, if none are good, @narefyev91 is happy to work on this

Paid @PrashantMangukiya and @aimane-chnaif $3000, inc. the 50% timeliness bonus. @dhanashree-sawant paid $250 for reporting.

Regression test steps GH created https://github.com/Expensify/Expensify/issues/271365

Regression Test Proposal

To be repeated for all platforms:

  1. Open the app
  2. Open any report
  3. Scroll chat above (any amount of scroll is okay)
  4. Click on + to the left of the compose box then click on Request money / Send money
  5. Enter any amount and click on continue to perform request or send money flow.
  6. Once you Send money or Request money Verify that Chat Scrolls to Bottom.

@deetergp @aimane-chnaif Do we agree 👍 or 👎

You’re welcome @PrashantMangukiya , sorry it took me a lil bit

I don’t think this is a regression which means “used to scroll before but after offending PR, started not working”. So 1-3 can be checked off. I think regression step what @PrashantMangukiya proposed is fine.

@mallenexpensify I think we should include the regression steps for this in our regular testing. @aimane-chnaif let’s get this checklist done so we can close out and can pay @PrashantMangukiya.

I don’t think any PR caused regression. I’d say this feature was missed while implementing IOU message.

Lot to unpack here.
@PrashantMangukiya thanks for the reminder of the bonus.

@aimane-chnaif , can you address these items above?

[@aimane-chnaif / @deetergp] The PR that introduced the bug has been identified. Link to the PR: [@aimane-chnaif / @deetergp] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: [@aimane-chnaif / @deetergp] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:

I’m assuming this is a regression and that, once the above is done, @PrashantMangukiya should be the one the propose the regression test steps that need to be updated (even though it incorrectly states @aimane-chnaif should above. Reasoning, per here we state

For the test case steps we’re asking to be created by the contributor whose PR solved the bug,

Offer accepted on Upwork. Should we also eligible for timeline bonus. As pr merged within 3 days. Thank you.

@mallenexpensify Let’s give the job to @PrashantMangukiya 👍

@PrashantMangukiya’s proposal looks good too me too. It’s simple solution. I was also thinking of @Ollyws’s proposal, but as long as no other usages of IOU events callback on ReportActionsView than scrolling to bottom (unlike non-IOU messages), no need to subscribe and I think we are fine to go with simple solution for now.