Refactor of usage dashboard (moved logic from JS to Ruby) (#2336)
...
* removed erroneous div tag
* Updated deep_copy on PLan model to set feedback_requested to false
* fixed typo in plan export
* refactored usage code to place most of the presentation logic into Rails instead of JS
finished up changes to usage
fixed eslinter issues
fixed rubocop issues
fixed additional rubocop issues
fixed issue with filter
fixed issue with totals
removed old controller test and added new usage_controller tests
added tests for new usage_helper
added usage_policy tests and pundit test helper
fixed some rubocop complaints
fixed up remaining rubocop issues
* removed opens in a new window for usage download buttons and moved org selector to below filters
* fixed some rubocop complaints in spec test
Brian Riley
authored
on 28 Jan 2020
Sam Rust
committed
on 28 Jan 2020