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.56k stars 2.9k forks source link

[BONUS PAYOUT ONLY] [$1000] Chat - Redundant "Unexpected error" below the IOU" message after split from 2 devices #18839

Closed kbecciv closed 1 year ago

kbecciv commented 1 year 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!


Action Performed:

  1. Log in with the same account in the main testing device and a secondary device
  2. Disable the internet connection in the main testing device
  3. In the secondary device Split a bill with 2 users, this should create a new group and 2 new 1:1 conversations
  4. In the main testing device (should be offline) create the SAME split bill with the 2 users
  5. Enable the internet connection in the main testing device. The split bill request will be sent and you will get an error in the main device only.
  6. Duplicated chats are display in the LHN
  7. Open any dup chat with red dot

Expected Result:

PR https://github.com/Expensify/App/pull/18328 says "We shouldn't need to use a generic error message for failure data for the request money / send money flow when creating a New Chat, just like split bill. Otherwise, it will just be redundant with the error sent by the API.". And step 8 of the PR says "Make sure there is no "Unexpected error" below the IOU" (second error message). In scenario above (steps) as chat is invalid then no need for second redundant message under IOU

Actual Result:

Second redundant "unexpected error" message under IOU is displayed. is redundant, he second error message under IOU is redundant as chat is invalid and will be deleted.

Workaround:

Unknown

Platforms:

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

Version Number: 1.3.13.0

Reproducible in staging?: Yes

Reproducible in production?: Yes

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

https://github.com/Expensify/App/assets/93399543/32da3c48-f47e-4552-a251-2ba1afb49000

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0136c6f52250bef4a6
  • Upwork Job ID: 1658967606698582016
  • Last Price Increase: 2023-06-09
melvin-bot[bot] commented 1 year ago

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

melvin-bot[bot] commented 1 year ago

@yuwenmemon @s77rt @jliexpensify this issue is now 4 weeks old and preventing us from maintaining WAQ, can you:

Thanks!

melvin-bot[bot] commented 1 year ago

Current assignee @s77rt is eligible for the Internal assigner, not assigning anyone new.

yuwenmemon commented 1 year ago

Sorry playing catch-up. @s77rt that proposal sounds good to me - thanks for working with @therealsujitk on it!

melvin-bot[bot] commented 1 year ago

Triggered auto assignment to @bfitzexpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

melvin-bot[bot] commented 1 year ago

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

melvin-bot[bot] commented 1 year ago

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

melvin-bot[bot] commented 1 year ago

📣 @therealsujitk You have been assigned to this job by @yuwenmemon! Please apply to this job in Upwork and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻 Keep in mind: Code of Conduct | Contributing 📖

therealsujitk commented 1 year ago

Just confirming, which approach should I go with - https://github.com/Expensify/App/issues/18839#issuecomment-1578135062?

yuwenmemon commented 1 year ago

Method 3 seems simplest.

jliexpensify commented 1 year ago

Accepted @therealsujitk in Upworks. @s77rt I can't seem to find you - can you apply here? https://www.upwork.com/jobs/~0136c6f52250bef4a6

therealsujitk commented 1 year ago

PR ready for review! :rocket:

s77rt commented 1 year ago

@jliexpensify Applied!

melvin-bot[bot] commented 1 year ago

Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:

On to the next one 🚀

melvin-bot[bot] commented 1 year ago

Reviewing label has been removed, please complete the "BugZero Checklist".

melvin-bot[bot] commented 1 year ago

The solution for this issue has been :rocket: deployed to production :rocket: in version 1.3.29-11 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2023-06-28. :confetti_ball:

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

melvin-bot[bot] commented 1 year ago

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

s77rt commented 1 year ago
jliexpensify commented 1 year ago

@yuwenmemon all good with no regression test?

yuwenmemon commented 1 year ago

Good with me

jliexpensify commented 1 year ago

Paying now!

therealsujitk commented 1 year ago

@jliexpensify @yuwenmemon can a bonus be considered for this one since there were no further changes after the three day period and the only delay was the final review.

jliexpensify commented 1 year ago

Hmm weird - I was going off this. Is that not correct?

therealsujitk commented 1 year ago

Ah @jliexpensify the reason for that is because I was assigned to this before and then unassigned because we decided to go with a different approach and was assigned again here.

@MelvinBot took the first time I was assigned instead of the last, I've already reported this and was told it'll be fixed.

jliexpensify commented 1 year ago

Ok, going to re-open this. @s77rt you should then also qualify for a $500 bonus too - can you confirm that @therealsujitk 's timeline is correct?

s77rt commented 1 year ago

@jliexpensify Yes, that timeline is correct

jliexpensify commented 1 year ago

Ok @s77rt and @therealsujitk i'll whip up a job to pay the extra $500.

jliexpensify commented 1 year ago

Job - https://www.upwork.com/jobs/~01346cf257dfdd21bd

Invited both!

s77rt commented 1 year ago

@jliexpensify Accepted! Thanks!

therealsujitk commented 1 year ago

@jliexpensify offer accepted, thanks!

jliexpensify commented 1 year ago

Paid and closed job, cheers.