You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2024-12-07] [$250] Pay Someone - Wallet page opens when refreshing in "Validate your account" page #50285
Version Number: 9.0.45-2 Reproducible in staging?: Y Reproducible in production?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Email or phone of affected tester (no customers):dave0123seife@gmail.com Issue reported by: Applause - internal Team
Action Performed:
Go to staging.new.expensify.com
Log in with a new Gmail account
Complete the onboarding
Open DM with any user
Click + >. Pay someone
Select currency in USD, enter amount and click Next
Click Pay with Expensify
Refresh the page
Expected Result:
Wallet page is not opened. DM chat is shown
Actual Result:
The DM chat page changes to Wallet page after refreshing in "Validate your account" page
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 evidenceBug6625141_1728100368377.Screen_Recording_2024-10-05_at_6.35.48_in_the_morning.mp4
@slafortune 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
What changes do you think we should make in order to solve the problem?
We can create a new route for the pages/settings/Wallet/VerifyAccountPage, can be settings/verify like we did in there for categories page, there for tags page and there for wallet and expensify card page.
IMO, I don't think this issue is a regression from that PR, as the issue is more of an improvement, and we can't reproduce the same behavior in production for comparison.
so it will be used as the matching screen. In our case, the backTo is the pay someone confirm page which will return a report screen as the matching screen.
I'm not surprised that you land back on the wallet page - since you requested to pay someone but don't have anything to pay them with - you need to enter it.
1a. Result of the original design (eg. a case wasn't considered)
1b. Mistake during implementation
1c. Backend bug
1z. Other:
Where bug was reported:
2a. Reported on production (eg. bug slipped through the normal regression and PR testing process on staging)
2b. Reported on staging (eg. found during regression or PR testing)
2d. Reported on a PR
2z. Other:
Who reported the bug:
3a. Expensify user
3b. Expensify employee
3c. Contributor
3d. QA
3z. Other:
[Contributor] 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:
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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:
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Regression Test Proposal Template
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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: No discussion
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
FYI I was assigned to the issue on 15th of October and I should receive payment in ND for any issues assigned after 2024-10-10. But payment summery is showing upwork job. Can we make sure that I receive payment in ND.
Activity
melvin-bot commentedon Oct 5, 2024
Triggered auto assignment to @slafortune (
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.lanitochka17 commentedon Oct 5, 2024
@slafortune 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
truph01 commentedon Oct 5, 2024
Edited by proposal-police: This proposal was edited at 2024-10-05 16:08:40 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
The DM chat page changes to Wallet page after refreshing in "Validate your account" page
What is the root cause of that problem?
settings/wallet/verifyin:App/src/components/SettlementButton/index.tsx
Line 193 in 99f280b
which will be mapped to wallet page.
What changes do you think we should make in order to solve the problem?
pages/settings/Wallet/VerifyAccountPage, can besettings/verifylike we did in there for categories page, there for tags page and there for wallet and expensify card page.instead.
What alternative solutions did you explore? (Optional)
twilight2294 commentedon Oct 5, 2024
regression from #50169 #49523 @ikevin127 @cretadn22
truph01 commentedon Oct 5, 2024
IMO, I don't think this issue is a regression from that PR, as the issue is more of an improvement, and we can't reproduce the same behavior in production for comparison.
truph01 commentedon Oct 5, 2024
Proposal updated
bernhardoj commentedon Oct 6, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Page behind RHP changes to wallet page after refresh while on the wallet verify account page.
What is the root cause of that problem?
By default, wallet verify account page is mapped to the wallet page.
App/src/libs/Navigation/linkingConfig/CENTRAL_PANE_TO_RHP_MAPPING.ts
Lines 28 to 40 in 99f280b
So, refreshing it will show the matching route, that is the wallet page.
What changes do you think we should make in order to solve the problem?
We can pass backTo when opening the wallet verify account page,
App/src/components/SettlementButton/index.tsx
Line 193 in 99f280b
so it will be used as the matching screen. In our case, the backTo is the pay someone confirm page which will return a report screen as the matching screen.
App/src/libs/Navigation/linkingConfig/getAdaptedStateFromPath.ts
Lines 112 to 125 in 99f280b
But there is currently another bug where the backTo as the matching screen doesn't work which should be handled here.
truph01 commentedon Oct 6, 2024
Proposal updated
melvin-bot commentedon Oct 8, 2024
@slafortune Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
slafortune commentedon Oct 9, 2024
@lanitochka17 Did you verify the account?
how did you refresh?
I'm not surprised that you land back on the wallet page - since you requested to pay someone but don't have anything to pay them with - you need to enter it.
41 remaining items
slafortune commentedon Dec 9, 2024
BugZero Checklist:
Bug classification
Source of bug:
Where bug was reported:
Who reported the bug:
[Contributor] 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:
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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:
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Regression Test Proposal Template
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Regression Test Proposal
Precondition:
Test:
Do we agree 👍 or 👎
slafortune commentedon Dec 9, 2024
@alitoshmatov can you please complete the checklist?
bernhardoj commentedon Dec 10, 2024
Requested in ND.
alitoshmatov commentedon Dec 10, 2024
BugZero Checklist:
Bug classification
Source of bug:
Where bug was reported:
Who reported the bug:
[Contributor] 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: https://github.com/Expensify/App/pull/51267/files#r1878070220
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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: No discussion
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
I think, no regression is needed
alitoshmatov commentedon Dec 10, 2024
@slafortune Completed the checklist, sorry for late response
alitoshmatov commentedon Dec 10, 2024
FYI I was assigned to the issue on 15th of October and I should receive payment in ND for any issues assigned after 2024-10-10. But payment summery is showing upwork job. Can we make sure that I receive payment in ND.
cc: @slafortune
slafortune commentedon Dec 10, 2024
Thanks for the heads up @alitoshmatov - I canceled the upwork contract.
@bernhardoj Role Contributor- requires payment through NewDot Manual Requests - owned $250
@alitoshmatov Role C+ - requires payment through NewDot Manual Requests - owned $250
JmillsExpensify commentedon Dec 11, 2024
$250 approved for @alitoshmatov
JmillsExpensify commentedon Dec 11, 2024
$250 approved for @bernhardoj