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

[$250] Track Distance - Track distance rate updated with no error when user change it offline #43738

Closed
1 of 6 tasks
lanitochka17 opened this issue Jun 13, 2024 · 20 comments
Closed
1 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Jun 13, 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: 1.4.83-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: https://expensify.testrail.io/index.php?/tests/view/4626788&group_by=cases:section_id&group_order=asc&group_id=229065
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause - Internal Team

Action Performed:

  1. On the main testing device, navigate to Workspace settings > More features
  2. Enable "Distance rates"
  3. Navigate to the Distance rates tab
  4. Turn off the internet connection on the device
  5. Change the Distance rate to any number
  6. Verify the field is grayed out after entering the number, indicating it's pending to be updated
  7. Secondary device - navigate to Workspace settings > More features
  8. Navigate to the Distance rates tab
  9. Change the distance rate
  10. On the main testing device - Enable the internet connection

Expected Result:

There should be a message indicating something went wrong and to reload the page and try again

Actual Result:

No error message when user from main device change the rate in offline, and secondary login change it in online mode

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

Bug6512456_1718312982576.Recording__3215.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~015b628ae26068ff0f
  • Upwork Job ID: 1803189008217375274
  • Last Price Increase: 2024-06-25
  • Automatic offers:
    • paultsimura | Contributor | 102912105
@lanitochka17 lanitochka17 added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jun 13, 2024
Copy link

melvin-bot bot commented Jun 13, 2024

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

@lanitochka17
Copy link
Author

@twisterdotcom FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

@melvin-bot melvin-bot bot added the Overdue label Jun 17, 2024
Copy link

melvin-bot bot commented Jun 17, 2024

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

@twisterdotcom
Copy link
Contributor

Whoah missed this.

@melvin-bot melvin-bot bot removed the Overdue label Jun 18, 2024
@twisterdotcom twisterdotcom added the External Added to denote the issue can be worked on by a contributor label Jun 18, 2024
@melvin-bot melvin-bot bot changed the title Track Distance - Track distance rate updated with no error when user change it offline [$250] Track Distance - Track distance rate updated with no error when user change it offline Jun 18, 2024
Copy link

melvin-bot bot commented Jun 18, 2024

Job added to Upwork: https://www.upwork.com/jobs/~015b628ae26068ff0f

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jun 18, 2024
Copy link

melvin-bot bot commented Jun 18, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia (External)

Copy link

melvin-bot bot commented Jun 24, 2024

@twisterdotcom, @thesahindia Eep! 4 days overdue now. Issues have feelings too...

@melvin-bot melvin-bot bot added the Overdue label Jun 24, 2024
@twisterdotcom
Copy link
Contributor

Leaving 250, but downgrading to weekly. Adding to wave collect.

@melvin-bot melvin-bot bot removed the Overdue label Jun 24, 2024
@twisterdotcom twisterdotcom added Weekly KSv2 and removed Daily KSv2 labels Jun 24, 2024
Copy link

melvin-bot bot commented Jun 25, 2024

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

Copy link

melvin-bot bot commented Jun 27, 2024

@twisterdotcom @thesahindia this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

@mallenexpensify
Copy link
Contributor

mallenexpensify commented Jun 28, 2024

Tracking offline distance issues here
@paultsimura , who has worked on the feature, is going to review and address all these, please comment so I can assign. Removing Help Wanted for now.

@mallenexpensify mallenexpensify removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Jun 28, 2024
@paultsimura
Copy link
Contributor

👋🏼

Copy link

melvin-bot bot commented Jun 28, 2024

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

Offer link
Upwork job
Please accept the offer 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 📖

@paultsimura
Copy link
Contributor

paultsimura commented Jun 29, 2024

To me, this looks like a mostly BE issue: if the expected behavior is correct, we should fail the request on the BE side and handle the failure on the client in a corresponding way (discard the optimistic change and show the error).

@twisterdotcom
Copy link
Contributor

@thesahindia do you agree?

@thesahindia
Copy link
Member

I think we need to confirm the expected result first.

Copy link

melvin-bot bot commented Jul 11, 2024

@twisterdotcom @paultsimura @thesahindia this issue is now 4 weeks old, please consider:

  • Finding a contributor to fix the bug
  • Closing the issue if BZ has been unable to add the issue to a VIP or Wave project
  • If you have any questions, don't hesitate to start a discussion in #expensify-open-source

Thanks!

@melvin-bot melvin-bot bot added the Overdue label Jul 11, 2024
@thesahindia
Copy link
Member

Oh it looks like @paultsimura is assigned as the C+ here. I am gonna unassign myself.

@melvin-bot melvin-bot bot removed the Overdue label Jul 11, 2024
@thesahindia thesahindia removed their assignment Jul 11, 2024
@paultsimura
Copy link
Contributor

@thesahindia I was not a C+ here, I was assigned as a mere contributor🥲

@melvin-bot melvin-bot bot added the Overdue label Jul 19, 2024
@twisterdotcom
Copy link
Contributor

Looking back on this now with fresh eyes, I don't think this is a bug. If you make a change offline and a subsequent online change occurs to that setting before you come online, I'm not sure we need to show anything to the offline user when they come back online, do we? Because their edit is queued and happens after theirs is the one that sticks now.

This is the same as if two admins on separate devices just changed it at different times. The good thing is we log these changes in the admins room, so I don't think we need to do anything here actually.

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. External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
No open projects
Archived in project
Development

No branches or pull requests

5 participants