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-03-29] [$500] [Wave Collect] [Ideal Nav] Incorrect animation direction on Wallet and Troubleshooting page #37359

Closed
2 of 6 tasks
lanitochka17 opened this issue Feb 27, 2024 · 49 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 External Added to denote the issue can be worked on by a contributor

Comments

@lanitochka17
Copy link

lanitochka17 commented Feb 27, 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: 1.4.44-7
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
Expensify/Expensify Issue URL:
Issue reported by: Applause -Internal Team
Slack conversation:

Issue found when executing PR #37078

Action Performed:

Pre-requisite: user must be logged in and have an Expensify card assigned

  1. Go to Settings > Wallet

  2. Tap on Expensify card

  3. Tap on the back button

  4. Tap on the avatar to open the account settings

  5. Tap about

  6. Tap troubleshoot

  7. Then Tap <until you reach LHN

  8. Observe the sliding behavior

Expected Result:

A transition animation from left to right should appear (going back to previous page)


Opening each page account settings, about and troubleshootshould slige from the right overtop of the previous page and When pressing < button the page should slide away to the right

Actual Result:

A transition animation from right to left appears (as if it were a new page, not a previous one)


When pressing back button Troubleshoot page, About page slides in from the right, again, overtop Troubleshoot
Similarly pressing back button again, Profile slides in from the right
Finally, pressing back button, Account Settings slides away to the right which is the correct behavior

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

Add any screenshot/video evidence

Bug6394726_1709070563566.Slts0498_1_.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01588c7a6a3b8f24cb
  • Upwork Job ID: 1762991723171692544
  • Last Price Increase: 2024-03-12
Issue OwnerCurrent Issue Owner: @allroundexperts
@lanitochka17 lanitochka17 added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Feb 27, 2024
Copy link

melvin-bot bot commented Feb 27, 2024

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

@lanitochka17
Copy link
Author

@kadiealexander FYI 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

@apeyada
Copy link
Contributor

apeyada commented Feb 28, 2024

Proposal

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

Wallet - When going back to Wallet from Expensify card, animation goes from right lo left

What is the root cause of that problem?

onBackButtonPress={() => Navigation.goBack(ROUTES.SETTINGS_WALLET)}

return <NotFoundPage onBackButtonPress={() => Navigation.goBack(ROUTES.SETTINGS_WALLET)} />;

Here, we go to wallet page using goback(ROUTES.SETTINGS_WALLET)
This now became issue after ideal nav.

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

As wallet page is already in center pane, it's fine to navigate goBack without param even when deeplink to this page and click back button

onBackButtonPress={() => Navigation.goBack(ROUTES.SETTINGS_WALLET)}

onBackButtonPress={() => Navigation.goBack()}
or we can remove this line as it's already default prop value in HeaderWithBackButton


return <NotFoundPage onBackButtonPress={() => Navigation.goBack(ROUTES.SETTINGS_WALLET)} />;

onBackButtonPress={() => Navigation.goBack()}


(optional)
use FullPageNotFoundView instead of early returning NotFoundPage when isNotFound

@kadiealexander kadiealexander added the External Added to denote the issue can be worked on by a contributor label Feb 29, 2024
Copy link

melvin-bot bot commented Feb 29, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01588c7a6a3b8f24cb

@melvin-bot melvin-bot bot changed the title Wallet - When going back to Wallet from Expensify card, animation goes from right lo left [$500] Wallet - When going back to Wallet from Expensify card, animation goes from right lo left Feb 29, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 29, 2024
Copy link

melvin-bot bot commented Feb 29, 2024

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

@melvin-bot melvin-bot bot added the Overdue label Mar 4, 2024
@Santhosh-Sellavel
Copy link
Collaborator

Back from OOO Will update in a day.

@melvin-bot melvin-bot bot removed the Overdue label Mar 4, 2024
@Santhosh-Sellavel
Copy link
Collaborator

Pre-requisite: user must be logged in and have an Expensify card assigned

@kadiealexander Can contributor/C+ get an account with Expensify card or enable one?

@ghost
Copy link

ghost commented Mar 5, 2024

i don't think a contributor can get Expensify card. @Santhosh-Sellavel

Copy link

melvin-bot bot commented Mar 7, 2024

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

@melvin-bot melvin-bot bot added the Overdue label Mar 7, 2024
@kadiealexander
Copy link
Contributor

Asking about this internally here.

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Mar 8, 2024
@brunovjk
Copy link
Contributor

I managed to reproduce the same issue in the 'Troubleshoot' tab:

repro_37359
repro_37359.mp4

Copy link

melvin-bot bot commented Mar 11, 2024

@kadiealexander, @Santhosh-Sellavel Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@kadiealexander
Copy link
Contributor

@Expensify/design would love your thoughts on whether this is worth fixing! We're trying to focus on bugs that align with a #wave and are affecting the usability of the site, which this isn't really.

@melvin-bot melvin-bot bot removed the Overdue label Mar 11, 2024
@dubielzyk-expensify
Copy link
Contributor

This is worth fixing imo cause it's very disorienting for the animation to go forward when in reality you're going back. I also recon this should be a reasonably quick fix as it looks like a regression.

The expected behavior is that the screen animates off screen to the right when tapping back.

@shawnborton
Copy link
Contributor

Agree.

cc @luacmartins @mountiny @trjExpensify as I think this is related to the weird goBack bugs we've seen - not sure if we have another issue that is tracking those improvements or if we should treat this as a separate bug.

@trjExpensify
Copy link
Contributor

Yeah, I think it's worth fixing. @adamgrzybowski is spearheading sprucing up goBack, but I believe Adam has been OoO for a bit until today. This is the issue for the refactor: #35938 CC: @hayata-suenaga

Copy link

melvin-bot bot commented Mar 12, 2024

@kadiealexander @Santhosh-Sellavel this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

@Santhosh-Sellavel
Copy link
Collaborator

Waiting for updates on PR

Will test it tomorrow:) and update on the PR accordingly

@allgandalf
Copy link
Contributor

PR is up for review @Santhosh-Sellavel :)

@allroundexperts
Copy link
Contributor

Taking over. @kadiealexander Can you please assign this issue and the PR to me?

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Mar 22, 2024
@melvin-bot melvin-bot bot changed the title [$500] [Wave Collect] [Ideal Nav] Incorrect animation direction on Wallet and Troubleshooting page [HOLD for payment 2024-03-29] [$500] [Wave Collect] [Ideal Nav] Incorrect animation direction on Wallet and Troubleshooting page Mar 22, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Mar 22, 2024
Copy link

melvin-bot bot commented Mar 22, 2024

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

Copy link

melvin-bot bot commented Mar 22, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.55-3 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-03-29. 🎊

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

  • @allroundexperts requires payment through NewDot Manual Requests
  • @GandalfGwaihir requires payment (Needs manual offer from BZ)

Copy link

melvin-bot bot commented Mar 22, 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:

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

@mountiny
Copy link
Contributor

$500 to @allroundexperts and $500 to @GandalfGwaihir

@kadiealexander
Copy link
Contributor

kadiealexander commented Apr 3, 2024

Payouts due:

Upwork job is here.

@kadiealexander
Copy link
Contributor

@GandalfGwaihir I can't find you on Upwork, can you please apply here?

@allroundexperts please don't forget the checklist!

@kadiealexander kadiealexander added Daily KSv2 and removed Weekly KSv2 labels Apr 3, 2024
@allgandalf
Copy link
Contributor

@GandalfGwaihir I can't find you on Upwork, can you please apply here?

Applied just now, can you check please :)

@kadiealexander
Copy link
Contributor

Offer sent :)

@allgandalf
Copy link
Contributor

allgandalf commented Apr 4, 2024 via email

Copy link

melvin-bot bot commented Apr 8, 2024

@allroundexperts, @mountiny, @kadiealexander, @GandalfGwaihir Huh... This is 4 days overdue. Who can take care of this?

@melvin-bot melvin-bot bot added the Overdue label Apr 8, 2024
@kadiealexander
Copy link
Contributor

@allroundexperts please complete the checklist so we can get this closed out.

@melvin-bot melvin-bot bot removed the Overdue label Apr 9, 2024
@allroundexperts
Copy link
Contributor

On it today.

@allroundexperts
Copy link
Contributor

Checklist

  1. There isn't a single PR which introduced this. I think over the time, we were just following the same pattern, and as a result we had a bunch of pages with similar problem.
  2. N/A
  3. N/A
  4. A regression test would be useful. The steps mentioned un the OP look good enough to me!

@kadiealexander
Copy link
Contributor

Payment summary here.

@JmillsExpensify
Copy link

$500 approved for @allroundexperts

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 External Added to denote the issue can be worked on by a contributor
Projects
Archived in project
Development

No branches or pull requests