Skip to content

[HOLD for payment 2024-11-11] [HOLD for payment 2024-11-05] [$250] De-dupe AddComment, EditComment, and DeleteComment requests #50074

Description

@roryabraham

Problem

When we make unnecessary network requests, it slows down the app and contributes to higher traffic on our servers. In particular:

  • if you are offline and you serialize multiple EditComment requests, only the last one will take effect
  • if you serialize both an AddComment and any number of EditComment requests, the result would be the same as one AddComment with the content of the final EditComment
  • if you serialize an AddComment followed by a DeleteComment, the end result is the same as not sending any network requests at all
  • if you serialize an EditComment request followed by a DeleteComment, the end result is the same as only sending the DeleteComment

Solution

De-dupe the network requests!

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021848400026446902359
  • Upwork Job ID: 1848400026446902359
  • Last Price Increase: 2024-10-21
  • Automatic offers:
    • dukenv0307 | Reviewer | 104528746
    • c3024 | Contributor | 104528756
Issue OwnerCurrent Issue Owner: @bfitzexpensify

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorImprovementItem broken or needs improvement.

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions