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

[HOLD for payment 2023-11-09] [$500] BA - Part of the screen shakes when entering an address offline #29030

Closed
6 tasks done
izarutskaya opened this issue Oct 6, 2023 · 38 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production 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

Comments

@izarutskaya
Copy link

izarutskaya commented Oct 6, 2023

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. Go to staging.new.expensify.com or open Desktop or iOS or Android App
  2. Login with expensifail account
  3. Create new or go to existing workspace
  4. Go to Workspace > Bank Account
  5. Select any connection option
  6. Follow the flow until 'Company information' and 'Personal Information' pages
  7. Go Offline
  8. Enter address in 'Company address' line on 'Company information' page
  9. Enter address in 'Personal address' line on 'Personal Information' page

Expected Result:

The user enters the address without any visible errors

Actual Result:

Part of the screen under address line shakes when entering an address offline

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

Reproducible in staging?: Y

Reproducible in production?: N

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: Any additional supporting documentation

Bug6227938_1696617516574.Desktop-Offline-Address-Input-Screen-Shakes.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause-Internal Team

Slack conversation: @

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~016fd62647afbb5093
  • Upwork Job ID: 1710372606170464256
  • Last Price Increase: 2023-10-06
  • Automatic offers:
    • mollfpr | Reviewer | 27097586
    • shubham1206agra | Contributor | 27097587
@izarutskaya izarutskaya added DeployBlockerCash This issue or pull request should block deployment External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Oct 6, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 6, 2023

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

@melvin-bot melvin-bot bot changed the title BA - Part of the screen shakes when entering an address offline [$500] BA - Part of the screen shakes when entering an address offline Oct 6, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 6, 2023

Job added to Upwork: https://www.upwork.com/jobs/~016fd62647afbb5093

@melvin-bot
Copy link

melvin-bot bot commented Oct 6, 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

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

melvin-bot bot commented Oct 6, 2023

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

@izarutskaya
Copy link
Author

Not reproduced in Prod

20231007_021853.mp4

@OSBotify
Copy link
Contributor

OSBotify commented Oct 6, 2023

👋 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 6, 2023

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

@shubham1206agra
Copy link
Contributor

shubham1206agra commented Oct 7, 2023

Well this is odd, I am unable to repro this. Can someone else repro this?
cc @CortneyOfstad @marcochavezf @mollfpr

Screen.Recording.2023-10-07.at.8.56.47.AM.mov

@tienifr
Copy link
Contributor

tienifr commented Oct 7, 2023

@mountiny @marcochavezf I can quickly raise a PR for this deploy blocker if assigned, this comes from this PR

Proposal

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

Part of the screen under address line shakes when entering an address offline

What is the root cause of that problem?

In here, we'll show loading indicator after the user types in the search box. There'll be no result due to the user is offline, so the loading indicator will hide immediately. This causes the flickering

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

We just need to return null here if the network is currently offline so that the loading will not display.

props.network.isOffline ? null : (<View style={[styles.pv4]}>
    <ActivityIndicator
        color={themeColors.spinner}
        size="small"
    />
</View>)

The same thing is already done for the listEmptyComponent here with the same approach. We can optionally not show the loader if the user is still typing as well, if we want to, by using the same condition as here.

What alternative solutions did you explore? (Optional)

We can create an upstream fix to the react-native-google-places-autocomplete to not show the listLoaderComponent if the user is offline. But I feel like this is something our app should handle and not the responsibility of the library.

@shubham1206agra
Copy link
Contributor

@tienifr I will handle this.

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 labels Oct 7, 2023
@shubham1206agra
Copy link
Contributor

@mountiny This upstream fix will fix the problem
FaridSafi/react-native-google-places-autocomplete#914

@mollfpr
Copy link
Contributor

mollfpr commented Oct 9, 2023

@shubham1206agra Is this issue regression from your PR? If yes, then the assigned C+ in the PR should be assign to this issue.

cc @marcochavezf @CortneyOfstad

@shubham1206agra
Copy link
Contributor

Not really a regression
Cause problem is stemming from upstream and not directly related to our problem

@CortneyOfstad
Copy link
Contributor

@mollfpr @shubham1206agra just checking to see where we are at with this — thanks!

@mollfpr
Copy link
Contributor

mollfpr commented Nov 1, 2023

@CortneyOfstad The PR is merged and it's on QA now.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Nov 2, 2023
@melvin-bot melvin-bot bot changed the title [$500] BA - Part of the screen shakes when entering an address offline [HOLD for payment 2023-11-09] [$500] BA - Part of the screen shakes when entering an address offline Nov 2, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Nov 2, 2023
Copy link

melvin-bot bot commented Nov 2, 2023

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Nov 2, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.94-2 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-11-09. 🎊

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.

  • External issue reporter — no payment needed as it was Applause
  • Contributor that fixed the issue — @shubham1206agra to be paid $500 in Upwork as Contributor
  • Contributor+ that helped on the issue and/or PR — @mollfpr to be paid $500 in Upwork as C+

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Nov 2, 2023

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:

  • [@mollfpr / @shubham1206agra] The PR that introduced the bug has been identified. Link to the PR:
  • [@mollfpr / @shubham1206agra] 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:
  • [@mollfpr / @shubham1206agra] 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:
  • [@mollfpr / @shubham1206agra] Determine if we should create a regression test for this bug.
  • [@mollfpr / @shubham1206agra] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@CortneyOfstad] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Nov 8, 2023
@CortneyOfstad
Copy link
Contributor

Payment is set for tomorrow — @mollfpr and @shubham1206agra any update on the checklist above?

@melvin-bot melvin-bot bot removed the Overdue label Nov 8, 2023
@mollfpr
Copy link
Contributor

mollfpr commented Nov 8, 2023

[] The PR that introduced the bug has been identified. Link to the PR:
[] 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:

No offending PR. The fix is on the upstream.

[] 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:

The regression step should be enough.

[] Determine if we should create a regression test for this bug.
[] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.

  1. Open Expensify App
  2. Login with any account
  3. Create a new or go to an existing workspace
  4. Go to Workspace > Bank Account
  5. Select any connection option
  6. Follow the flow until the 'Company Information' and 'Personal Information' pages
  7. Go Offline
  8. Enter the address in the 'Company address' line on the 'Company information' page
  9. Verify the form is not jumping
  10. 👍 or 👎

@mollfpr
Copy link
Contributor

mollfpr commented Nov 8, 2023

@CortneyOfstad Could you help with the payment summary? Thank you!

@CortneyOfstad
Copy link
Contributor

Had to create a new job posting in Upwork — https://www.upwork.com/jobs/~015d08915af33b19fc

@mollfpr @shubham1206agra I invited both of you to the knew job. Please let me know as soon as you both accept 👍

@mollfpr
Copy link
Contributor

mollfpr commented Nov 9, 2023

Hi @CortneyOfstad I'll do manual request in NewDot, so I just need the payment summary. Thank you!

@shubham1206agra
Copy link
Contributor

Had to create a new job posting in Upwork — https://www.upwork.com/jobs/~015d08915af33b19fc

@mollfpr @shubham1206agra I invited both of you to the knew job. Please let me know as soon as you both accept 👍

Done

@melvin-bot melvin-bot bot added the Overdue label Nov 13, 2023
Copy link

melvin-bot bot commented Nov 13, 2023

@marcochavezf, @CortneyOfstad, @mollfpr, @shubham1206agra Whoops! This issue is 2 days overdue. Let's get this updated quick!

Copy link

melvin-bot bot commented Nov 13, 2023

@marcochavezf, @CortneyOfstad, @mollfpr, @shubham1206agra Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

1 similar comment
Copy link

melvin-bot bot commented Nov 13, 2023

@marcochavezf, @CortneyOfstad, @mollfpr, @shubham1206agra Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@CortneyOfstad
Copy link
Contributor

Alright @shubham1206agra you have been paid! @mollfpr creating the payment summary now — sorry for the delay!

@melvin-bot melvin-bot bot removed the Overdue label Nov 13, 2023
@CortneyOfstad
Copy link
Contributor

Payment Summary

Contributor that fixed the issue — @shubham1206agra paid $500 in Upwork as Contributor
Contributor+ that helped on the issue and/or PR — @mollfpr to be paid $500 in NewDot as C+

@CortneyOfstad
Copy link
Contributor

Regression test completed here — https://github.com/Expensify/Expensify/issues/336021

@JmillsExpensify
Copy link

$500 payment approved for @mollfpr based on summary above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production 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
Projects
None yet
Development

No branches or pull requests

10 participants