Skip to content

[HOLD for payment 2023-11-22] [$500] Web - Opening split bill amount link displays no header #26471

Closed

Description

@kbecciv

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. Open the app
  2. Click on plus and click on split bill
  3. Enter any amount and click on Next
  4. Select any users and click on Next
  5. Open amount tab and copy the link, link should look like: https://staging.new.expensify.com/split/new/amount/
  6. Close RHN and paste the link in any chat report
  7. Visit that chat report and click on the link
  8. 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

View all open jobs on GitHub

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
Issue OwnerCurrent Issue Owner: @anmurali
Issue OwnerCurrent Issue Owner: @anmurali
Issue OwnerCurrent Issue Owner: @anmurali
Issue OwnerCurrent Issue Owner: @anmurali

Activity

  1. GItGudRatio commented on Sep 1, 2023

    @GItGudRatio
    Contributor

    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.path includes the string amount. When the navigate to the edit amount page using the Amount tab on confirmation page, the Navigation.navigate method is used, which adds the route.path variable.

    When we navigate to the link directly, route.path is 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 using route.path to determine the isEditing variable, we should use Navigation.getActiveRoute() instead.

    const isEditing = lodashGet(route, 'path', '').includes('amount');

    What alternative solutions did you explore? (Optional)

    N/A

  2. added
    Daily
    Bug
    on Sep 1, 2023
  3. melvin-bot commented on Sep 1, 2023

    @melvin-bot

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

  4. melvin-bot commented on Sep 1, 2023

    @melvin-bot

    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
  5. anmurali commented on Sep 4, 2023

    @anmurali

    Can reproduce and is a bug

  6. added
    External
    on Sep 4, 2023
  7. changed the title [-]Web - Opening split bill amount link displays no header[/-] [+][$500] Web - Opening split bill amount link displays no header[/+] on Sep 4, 2023
  8. melvin-bot commented on Sep 4, 2023

    @melvin-bot
  9. added
    Help Wanted
    on Sep 4, 2023
  10. melvin-bot commented on Sep 4, 2023

    @melvin-bot

    Current assignee @anmurali is eligible for the External assigner, not assigning anyone new.

  11. 96 remaining items

  12. melvin-bot commented on Nov 27, 2023

    @melvin-bot

    @puneetlath, @anmurali, @GItGudRatio, @0xmiroslav Eep! 4 days overdue now. Issues have feelings too...

  13. 0xmiroslav commented on Nov 27, 2023

    @0xmiroslav
    Contributor

    trying to find offending PR

  14. GItGudRatio commented on Nov 29, 2023

    @GItGudRatio
    Contributor

    @0xmiroslav any updates?

  15. melvin-bot commented on Nov 30, 2023

    @melvin-bot

    @puneetlath, @anmurali, @GItGudRatio, @0xmiroslav Whoops! This issue is 2 days overdue. Let's get this updated quick!

  16. puneetlath commented on Dec 1, 2023

    @puneetlath
    Contributor

    Let's try to get this one closed out asap. @0xmiroslav still looking?

  17. 0xmiroslav commented on Dec 1, 2023

    @0xmiroslav
    Contributor
    • The PR that introduced the bug has been identified. Link to the PR: Refactor/23149 money request page #23979
    • 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/23979/files#r1412506814
    • 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: N/A
    • 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.

    Regression Test Proposal

    1. Go to FAB > Request money > Manual
    2. Enter any amount and click on next
    3. Select any participant
    4. Click on Amount field
    5. Copy the browser link and send it in any chat
    6. Click on the link
    7. Verify that the header is shown properly

    I think this flow should be considered on Tim's money request flow refactor

  18. puneetlath commented on Dec 1, 2023

    @puneetlath
    Contributor

    Ok great. Seems that all that is left is for @anmurali to pay then.

  19. melvin-bot commented on Dec 4, 2023

    @melvin-bot

    @puneetlath, @anmurali, @GItGudRatio, @0xmiroslav Still overdue 6 days?! Let's take care of this!

  20. 0xmiroslav commented on Dec 4, 2023

    @0xmiroslav
    Contributor

    Not overdue

  21. anmurali commented on Dec 6, 2023

    @anmurali

    Paid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugDailyEngineeringExternal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions