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-09-16] [$125] [P2P Distance] Split - Error shows up when splitting distance to workspace chat via QAB #47021

Closed
6 tasks done
m-natarajan opened this issue Aug 8, 2024 · 33 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review Weekly KSv2

Comments

@m-natarajan
Copy link

m-natarajan commented Aug 8, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 9.0.18-0
Reproducible in staging?: Yes
Reproducible in production?: New feature
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers): [email protected]

Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause Internal Team
Slack conversation:

Action Performed:

  1. Go to staging.new.expensify.com
  2. Create a workspace.
  3. Go to workspace chat.
  4. Click + > Split expense > Distance.
  5. Split distance expense in the workspace chat.
  6. Click FAB.
  7. Click Split distance under Quick action.
  8. Enter waypoints > Next.

Expected Result:

User will be able to split distance to workspace chat via QAB.

Actual Result:

Error shows up when splitting distance to workspace chat via QAB.
On iOS, app crashes.

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

Bug6565080_1723073400020.20240808_072722.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01ebb99c7c764b036a
  • Upwork Job ID: 1824435072292925117
  • Last Price Increase: 2024-08-16
  • Automatic offers:
    • akinwale | Reviewer | 103602852
Issue OwnerCurrent Issue Owner: @akinwale
@m-natarajan m-natarajan added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. DeployBlocker Indicates it should block deploying the API labels Aug 8, 2024
Copy link

melvin-bot bot commented Aug 8, 2024

Triggered auto assignment to @sonialiap (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.

Copy link

melvin-bot bot commented Aug 8, 2024

Triggered auto assignment to @youssef-lr (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Aug 8, 2024
Copy link
Contributor

github-actions bot commented Aug 8, 2024

👋 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.

@youssef-lr
Copy link
Contributor

Checking

@youssef-lr youssef-lr removed the DeployBlocker Indicates it should block deploying the API label Aug 8, 2024
@youssef-lr
Copy link
Contributor

Not a web blocker. Looks like the request from the workspace chat uses CreateDistanceRequest for the command, and the one from QAB uses the 'SplitBill' command which fails. I think it should use CreateDistanceRequest as well. cc @neil-marcellini

@youssef-lr
Copy link
Contributor

Removing blocker from NewDot as well because this Distance Split are not live in production yet

@youssef-lr youssef-lr added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Aug 8, 2024
@youssef-lr youssef-lr mentioned this issue Aug 8, 2024
58 tasks
@melvin-bot melvin-bot bot added the Overdue label Aug 12, 2024
@sonialiap
Copy link
Contributor

@youssef-lr am I correct in that this was introduced by Neil's PR? Should this be assigned to him?

@melvin-bot melvin-bot bot removed the Overdue label Aug 13, 2024
@neil-marcellini neil-marcellini changed the title Split distance - Error shows up when splitting distance to workspace chat via QAB [P2P Distance] Split - Error shows up when splitting distance to workspace chat via QAB Aug 13, 2024
@youssef-lr
Copy link
Contributor

am I correct in that this was introduced by Neil's PR?

Yes. I think it's fine to have this external unless @neil-marcellini wants to work on it?

@sonialiap sonialiap added External Added to denote the issue can be worked on by a contributor and removed Bug Something is broken. Auto assigns a BugZero manager. labels Aug 16, 2024
Copy link

melvin-bot bot commented Aug 16, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01ebb99c7c764b036a

@melvin-bot melvin-bot bot changed the title [P2P Distance] Split - Error shows up when splitting distance to workspace chat via QAB [$250] [P2P Distance] Split - Error shows up when splitting distance to workspace chat via QAB Aug 16, 2024
@Shahidullah-Muffakir
Copy link
Contributor

Screen Recording: Showing Distance splitting from Quick actions
https://github.com/user-attachments/assets/b96dcf51-bc83-4d8a-9707-91eea1f01b0e

@

Copy link

melvin-bot bot commented Aug 19, 2024

@akinwale, @youssef-lr, @sonialiap, @dylanexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick!

@akinwale
Copy link
Contributor

@Shahidullah-Muffakir How would your proposed solution work in offline mode? Can you test this as well?

@melvin-bot melvin-bot bot removed the Overdue label Aug 20, 2024
@Shahidullah-Muffakir
Copy link
Contributor

@akinwale Do we have support for Distance split in offline mode?
I think Distance split is not currently supported in offline mode, including in production. The main challenge is calculating distances and amounts without internet access.
Currently In production In offline mode, users can only use Manual split, not Distance split.

This video shows:
Manual split available offline in Prod
Distance split unavailable offline in Prod
Video:
https://github.com/user-attachments/assets/2311b120-1891-4405-97c0-6839fb3da9ea

@akinwale
Copy link
Contributor

We can move forward with @Shahidullah-Muffakir's proposal here.

🎀👀🎀 C+ reviewed.

Copy link

melvin-bot bot commented Aug 20, 2024

Current assignee @youssef-lr is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new.

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Aug 20, 2024
Copy link

melvin-bot bot commented Aug 20, 2024

📣 @akinwale 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job

Copy link

melvin-bot bot commented Aug 20, 2024

📣 @Shahidullah-Muffakir You have been assigned to this job!
Please apply to the Upwork job and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Once you apply to this job, your Upwork ID will be stored and you will be automatically hired for future jobs!
Keep in mind: Code of Conduct | Contributing 📖

@Shahidullah-Muffakir
Copy link
Contributor

Thank you for hiring me, I will make the PR within one hour.

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Aug 20, 2024
@dylanexpensify
Copy link
Contributor

Nice turnaround @Shahidullah-Muffakir!

@Shahidullah-Muffakir
Copy link
Contributor

Thank you @dylanexpensify .

@Shahidullah-Muffakir
Copy link
Contributor

@akinwale , PR #47737 has been ready for 2 days. Could you review when possible? Thank you!

@akinwale
Copy link
Contributor

Thanks for the bump. I will review today.

@sonialiap
Copy link
Contributor

@dylanexpensify thanks for helping out while I was OOO! Taking this back. Feel free to keep on or unassign yourself

@sonialiap sonialiap changed the title [$125] [P2P Distance] Split - Error shows up when splitting distance to workspace chat via QAB [Hold for payment 2024-09-12] [$125] [P2P Distance] Split - Error shows up when splitting distance to workspace chat via QAB Sep 10, 2024
@dylanexpensify dylanexpensify removed their assignment Sep 10, 2024
@sonialiap
Copy link
Contributor

Still waiting for the production deploy #47737

@akinwale
Copy link
Contributor

@sonialiap Automation hasn't been picking up some issues in the past few days. The PR was deployed to production on 2024-09-09 (part of this checklist), so payment is due on 2024-09-16.

@sonialiap
Copy link
Contributor

Thanks @akinwale!

@sonialiap sonialiap changed the title [Hold for payment 2024-09-12] [$125] [P2P Distance] Split - Error shows up when splitting distance to workspace chat via QAB [Hold for payment 2024-09-16] [$125] [P2P Distance] Split - Error shows up when splitting distance to workspace chat via QAB Sep 13, 2024
@sonialiap
Copy link
Contributor

sonialiap commented Sep 17, 2024

Payment summary:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

No branches or pull requests

6 participants