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
Problem
We have some redundancies in Onyx:
REPORT_DRAFT_COMMENTstores the draft comments for individual reportsREPORTS_WITH_DRAFTSis essentially a list of boolean values to list out reports that have draftsThis leads to unnecessary extra storage, and (more importantly) confusing code.
Solution
Eliminate the
REPORTS_WITH_DRAFTSOnyx key and standardize onREPORT_DRAFT_COMMENT.Upwork Automation - Do Not Edit