Commit graph

9 commits

Author SHA1 Message Date
syasonik
c1c0fb6693 Make EE interactions and transformations cleaner 2019-04-24 18:23:04 +08:00
syasonik
671f698845 Bring in line with EE needs 2019-04-24 18:23:03 +08:00
rpereira2
c2818d6b23 Add schema validation spec
Validate the schema of the dashboard that is loaded by
Gitlab::MetricsDashboard::Service.
2019-04-24 18:23:03 +08:00
rpereira2
4a9002cee3 Inherit from BaseService
Change MetricsDashboard::Service to inherit from BaseService so that
it can reuse methods like initialize, success, error.
2019-04-24 18:23:03 +08:00
syasonik
b209fb6fb2 Minor optimization and code clarity 2019-04-24 18:23:03 +08:00
rpereira2
64a1fab788 Add frozen_string_literal magic comment 2019-04-24 18:23:03 +08:00
rpereira2
0007a42a7b Correct the order of groups and panels
- Order groups by descending order of priority.
- Order panels by descending order of weight.
- Perform sorting after adding project/custom metrics.
2019-04-24 18:23:03 +08:00
syasonik
1596e55560 Cleanup misnamed or unnecessary files 2019-04-24 18:23:03 +08:00
syasonik
35c412327c Refactor dashboard proccesing into stages 2019-04-24 18:23:03 +08:00