Problem
The getReportName function is messy and will be tricky to refactor to include custom report and formula computation using Onyx derived values.
Solution
Systematically refactor it to separate responsibilities.
- The logic of calculation report’s name will be extracted to new method computeReportName
- reportAttributes derived value will be responsible for computation of report name for every report in Onyx using compureReportName
- getReportName will be simplified only to returning reportName from derived value
Issue Owner
Current Issue Owner: @laurenreidexpensify
Problem
The getReportName function is messy and will be tricky to refactor to include custom report and formula computation using Onyx derived values.
Solution
Systematically refactor it to separate responsibilities.
Issue Owner
Current Issue Owner: @laurenreidexpensify