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 2024-04-25] [$500] iOS - Wallet - Bank button is not responsive #40077

Closed
1 of 6 tasks
izarutskaya opened this issue Apr 11, 2024 · 43 comments
Closed
1 of 6 tasks
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@izarutskaya
Copy link

izarutskaya commented Apr 11, 2024

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: v1.4.62-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4488516
Email or phone of affected tester (no customers): applausetester+vd_ios041024.3@applause.expensifail.com
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team

Action Performed:

Pre-requisite: user must have created a Workspace and have added a bank account to the WS, so the bank account can be displayed on the Wallet page.

  1. Go to Settings > Wallet.
  2. Tap on the added bank account or on the 3 dots menu to the right of it.
  3. Verify it is not responsive.

Expected Result:

The bank button and the 3 dots menu should be responsive.

Actual Result:

The bank button and the 3 dots menu are not responsive.

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

Bug6445237_1712792776326.Fglf3793_1_.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01955b986561b0d5cb
  • Upwork Job ID: 1778388746136018944
  • Last Price Increase: 2024-04-11
@izarutskaya izarutskaya added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Apr 11, 2024
Copy link

melvin-bot bot commented Apr 11, 2024

Triggered auto assignment to @MitchExpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

Copy link

melvin-bot bot commented Apr 11, 2024

Triggered auto assignment to @nkuoch (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Apr 11, 2024
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.

@izarutskaya
Copy link
Author

@MitchExpensify I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

@izarutskaya
Copy link
Author

Production

RPReplay_Final1712806014.MP4

@Julesssss
Copy link
Contributor

Hey @izarutskaya, is the video marked production correct? It looks like a different issue that was opened

@Julesssss Julesssss added Daily KSv2 External Added to denote the issue can be worked on by a contributor and removed Hourly KSv2 labels Apr 11, 2024
@melvin-bot melvin-bot bot changed the title iOS - Wallet - Bank button is not responsive [$250] iOS - Wallet - Bank button is not responsive Apr 11, 2024
Copy link

melvin-bot bot commented Apr 11, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01955b986561b0d5cb

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 11, 2024
Copy link

melvin-bot bot commented Apr 11, 2024

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

@ghost
Copy link

ghost commented Apr 11, 2024

Production

RPReplay_Final1712806014.MP4

This video is not related to this issue @izarutskaya

@Julesssss Julesssss changed the title [$250] iOS - Wallet - Bank button is not responsive [$500] iOS - Wallet - Bank button is not responsive Apr 11, 2024
Copy link

melvin-bot bot commented Apr 11, 2024

Upwork job price has been updated to $500

@ghost
Copy link

ghost commented Apr 11, 2024

Proposal

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

iOS - Wallet - Bank button is not responsive

What is the root cause of that problem?

I think the problem is with native view for wallet page i.e. here

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

I think we need to redesign wallet page for native devices.

What alternative solutions did you explore? (Optional)

N/A

@ZhenjaHorbach
Copy link
Contributor

ZhenjaHorbach commented Apr 11, 2024

Proposal

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

Wallet - Bank button is not responsive

What is the root cause of that problem?

The main problem with this issue is that we use FlashList to show elements which for some reason doesn't work
Even if we make this list the only one on the screen
Or we will use a primitive button as a list element

So the problem is most likely on the native side of FlashList

<FlashList
estimatedItemSize={variables.optionRowHeight}
data={filteredPaymentMethods}
renderItem={renderItem}
keyExtractor={keyExtractor}
ListEmptyComponent={shouldShowEmptyListMessage ? renderListEmptyComponent : null}
ListHeaderComponent={listHeaderComponent}
onContentSizeChange={onListContentSizeChange}
scrollEnabled={shouldEnableScroll}
/>

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

After testing I came to the conclusion
A possible fix is to use a FlatList instead of a FlashList
Plus I don't see a lot of reason why we decided to use FlashList for PaymentMethods since this doesn’t make much sense, unlike the same list of emojis

What alternative solutions did you explore? (Optional)

NA

@ikevin127
Copy link
Contributor

@godofoutcasts94 Thanks for the proposal! Unfortunately your RCA and solution are not correct.

Copy link

melvin-bot bot commented Apr 15, 2024

@nkuoch, @MitchExpensify, @ikevin127 Whoops! This issue is 2 days overdue. Let's get this updated quick!

@MitchExpensify
Copy link
Contributor

If all the issues are related to the patch and Flashlist. Let's hold these issues to be assigned to anyone until we have a fix for that.

Which issues were you referring to holding on specifically @parasharrajat ?

@melvin-bot melvin-bot bot removed the Overdue label Apr 15, 2024
@parasharrajat
Copy link
Member

Here is a list.
Screenshot 2024-04-16 at 11 29 53 AM

Copy link

melvin-bot bot commented Apr 16, 2024

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@kosmydel
Copy link
Contributor

kosmydel commented Apr 16, 2024

Hey, I'm from Software Mansion.

I was unable to reproduce this issue on v.1.4.62-10 Develop version. I followed the steps from the original post and this comment.

Can someone confirm, that the issue is still reproducible?

EDIT: Okay, it was working for 2 bank accounts. I can reproduce this issue only when we have exactly one bank account added.

@ikevin127
Copy link
Contributor

Could you check if #40191 solves the issue?

@WoLewicki I confirm that with a clean build of #40191, the issue is fixed 🎉

@roryabraham
Copy link
Contributor

roryabraham commented Apr 16, 2024

I'm not able to reproduce this on main - requested retest: https://expensify.slack.com/archives/C9YU7BX5M/p1713291635862759

edit: whoops, I was testing Android instead of iOS

@kbecciv
Copy link

kbecciv commented Apr 16, 2024

@roryabraham Issue is still reproducible on IOS app with build 1.4.62.11

RPReplay_Final1713294023.MP4

@roryabraham
Copy link
Contributor

ok, I was able to reproduce this on main

@roryabraham
Copy link
Contributor

This will be fixed by #40191 in 1.4.62-13, deploying here

@roryabraham roryabraham self-assigned this Apr 16, 2024
@roryabraham roryabraham removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 16, 2024
@roryabraham
Copy link
Contributor

confirmed this is fixed on staging, no payments due so I'm closing it

@roryabraham roryabraham removed the DeployBlockerCash This issue or pull request should block deployment label Apr 16, 2024
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 Weekly KSv2 labels Apr 18, 2024
@melvin-bot melvin-bot bot changed the title [$500] iOS - Wallet - Bank button is not responsive [HOLD for payment 2024-04-25] [$500] iOS - Wallet - Bank button is not responsive Apr 18, 2024
Copy link

melvin-bot bot commented Apr 18, 2024

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Apr 18, 2024
Copy link

melvin-bot bot commented Apr 18, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.62-17 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 2024-04-25. 🎊

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

  • @ikevin127 requires payment (Needs manual offer from BZ)

Copy link

melvin-bot bot commented Apr 18, 2024

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:

  • [@ikevin127] The PR that introduced the bug has been identified. Link to the PR:
  • [@ikevin127] 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:
  • [@ikevin127] 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:
  • [@ikevin127] Determine if we should create a regression test for this bug.
  • [@ikevin127] 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.
  • [@MitchExpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

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. Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
None yet
Development

No branches or pull requests