Skip to content

Deprecate REPORT_DRAFT_COMMENT and REPORTS_WITH_DRAFT Onyx keys #10679

Description

@roryabraham

Problem

We have some redundancies in Onyx:

  • REPORT_DRAFT_COMMENT stores the draft comments for individual reports
  • REPORTS_WITH_DRAFTS is essentially a list of boolean values to list out reports that have drafts

This leads to unnecessary extra storage, and (more importantly) confusing code.

Solution

Eliminate the REPORTS_WITH_DRAFTS Onyx key and standardize on REPORT_DRAFT_COMMENT.

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~014cdfad339adcdb73
  • Upwork Job ID: 1615121451893055488
  • Last Price Increase: 2023-01-16

Metadata

Metadata

Labels

EngineeringImprovementItem broken or needs improvement.InternalRequires API changes or must be handled by Expensify staffWeeklyKSv2

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions