Repository navigation
Description
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:
- Open the app
- Click on plus and click on split bill
- Enter any amount and click on Next
- Select any users and click on Next
- Open amount tab and copy the link, link should look like: https://staging.new.expensify.com/split/new/amount/
- Close RHN and paste the link in any chat report
- Visit that chat report and click on the link
- Observe that there is no header displayed to amount page
Expected Result:
App should display 'Amount' with back button in header if we visit split bill amount by deep link OR app should redirect to first step of split bill and display 'Split bill' with back button in header.
Actual Result:
On opening split bill amount page using deep link, app displays no header to the page
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.61.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: Any additional supporting documentation
no.header.split.bill.amount.page.mp4
Recording.4153.mp4
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692083367582229
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~0156efafedabaef820
- Upwork Job ID: 1698790076926279680
- Last Price Increase: 2023-09-25
- Automatic offers:
- 0xmiroslav | Reviewer | 27456133
- GItGudRatio | Contributor | 27456135
- dhanashree-sawant | Reporter | 27456137
Activity
GItGudRatio commentedon Sep 1, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Opening split bill or request amount link displays no header.
What is the root cause of that problem?
To determine if we are editing the amount or creating a new request, we check if
route.pathincludes the stringamount. When the navigate to the edit amount page using theAmounttab on confirmation page, theNavigation.navigatemethod is used, which adds theroute.pathvariable.When we navigate to the link directly,
route.pathis undefined. This causes the app to assume we are creating a new request instead and the issue is noticed.What changes do you think we should make in order to solve the problem?
In
NewRequestAmountPage, instead of usingroute.pathto determine theisEditingvariable, we should useNavigation.getActiveRoute()instead.App/src/pages/iou/steps/NewRequestAmountPage.js
Line 82 in 643e2e8
What alternative solutions did you explore? (Optional)
N/A
melvin-bot commentedon Sep 1, 2023
Triggered auto assignment to @anmurali (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Sep 1, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)anmurali commentedon Sep 4, 2023
Can reproduce and is a bug
[-]Web - Opening split bill amount link displays no header[/-][+][$500] Web - Opening split bill amount link displays no header[/+]melvin-bot commentedon Sep 4, 2023
Job added to Upwork: https://www.upwork.com/jobs/~0156efafedabaef820
melvin-bot commentedon Sep 4, 2023
Current assignee @anmurali is eligible for the External assigner, not assigning anyone new.
96 remaining items
melvin-bot commentedon Nov 27, 2023
@puneetlath, @anmurali, @GItGudRatio, @0xmiroslav Eep! 4 days overdue now. Issues have feelings too...
0xmiroslav commentedon Nov 27, 2023
trying to find offending PR
GItGudRatio commentedon Nov 29, 2023
@0xmiroslav any updates?
melvin-bot commentedon Nov 30, 2023
@puneetlath, @anmurali, @GItGudRatio, @0xmiroslav Whoops! This issue is 2 days overdue. Let's get this updated quick!
puneetlath commentedon Dec 1, 2023
Let's try to get this one closed out asap. @0xmiroslav still looking?
0xmiroslav commentedon Dec 1, 2023
Regression Test Proposal
I think this flow should be considered on Tim's money request flow refactor
puneetlath commentedon Dec 1, 2023
Ok great. Seems that all that is left is for @anmurali to pay then.
melvin-bot commentedon Dec 4, 2023
@puneetlath, @anmurali, @GItGudRatio, @0xmiroslav Still overdue 6 days?! Let's take care of this!
0xmiroslav commentedon Dec 4, 2023
Not overdue
anmurali commentedon Dec 6, 2023
Paid.