Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.36k stars 2.78k forks source link

Workspace - Process is looped when attempting to split Distance request in workspace chat #31086

Closed kbecciv closed 10 months ago

kbecciv commented 10 months ago

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.3.97.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: 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 https://github.com/Expensify/App/pull/31025

Action Performed:

  1. Navigate to staging.new.expensify.com
  2. Go to workspace chat.
  3. Click + > Request money > Distance.
  4. Enter addresses and click Next.

Expected Result:

User is able to proceed beyond Split bill - Distance.

Actual Result:

User is unable to proceed beyond Split bill - Distance. The process is looped.

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

Screenshots/Videos

Add any screenshot/video evidence

https://github.com/Expensify/App/assets/93399543/e41638e8-e1a0-4326-83e6-a7698b0abfb9

View all open jobs on GitHub

OSBotify commented 10 months ago

:wave: 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.
melvin-bot[bot] commented 10 months ago

Triggered auto assignment to @marcaaron (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

marcaaron commented 10 months ago

@neil-marcellini any ideas?

marcaaron commented 10 months ago

These two seem related to distance:

https://github.com/Expensify/App/pull/30754 https://github.com/Expensify/App/pull/30881

I can try reverting both.

marcaaron commented 10 months ago

I am pretty lost. This option doesn't seem to exist locally so I can't test why it's broken.

marcaaron commented 10 months ago

Ah you can split a distance request in a workspace chat. Did not realize this 👀

marcaaron commented 10 months ago

Pretty sure this was introduced here https://github.com/Expensify/App/pull/31025

marcaaron commented 10 months ago

I could not test this on production because the option didn't exist.

puneetlath commented 10 months ago

Ok so what happened here is:

On workspaces where you can split a bill, we've always had the distance option, so that bug exists on production. What is new is the ability to split a bill work all workspaces.

So I'm going to treat this not as a deploy blocker. I started a discussion about what the ideal behavior should be here: https://expensify.slack.com/archives/C02NZ2HGJAZ/p1699533520918679

marcaaron commented 10 months ago

Sounds good. Thanks for looking at that @puneetlath 🙇

melvin-bot[bot] commented 10 months ago

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

melvin-bot[bot] commented 10 months ago

Bug0 Triage Checklist (Main S/O)

puneetlath commented 10 months ago

@kevinksullivan FYI based on this thread it sounds like this will be solved by the distance P2P project that @neil-marcellini is working on. https://expensify.slack.com/archives/C02NZ2HGJAZ/p1699533520918679

melvin-bot[bot] commented 10 months ago

@kevinksullivan Whoops! This issue is 2 days overdue. Let's get this updated quick!

melvin-bot[bot] commented 10 months ago

@kevinksullivan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

kevinksullivan commented 10 months ago

Just read up on that thread, looks like we'll close this out then!