Closed rickmcgeer closed 1 year ago
There is now a new branch, factored-dashboard, which contains the factoring. A new file, studio/dashboard-common.cp.js has the DashboardCommon
object, and now PublishedDashboard
and Dashboard
extend DashboardCommon
The factored form still needs to be tested and reviewed.
factored-dashboard has now been reviewed and merged into main (commit 44163eae92f986d478886d4c80a1ba2392b066c4).
Done.
There's a huge code overlap, which should be consolidated in a single object. Essentially, Dashboard is just PublishedDashboard + a UI, and we should refactor that way