Commit Graph

17 Commits

Author SHA1 Message Date
Simon Knox b1257951da Use ee_else_ce alias for monitoring_bundle 2019-02-07 08:15:42 +11:00
Adriel Santiago c974f4a82e
Handle window and container resize events
Resizes metrics graph on window and sidebard width changes
2019-02-04 08:04:45 -05:00
Peter Leitzen 8270be8a67 Resolve "No longer require a deploy to start Prometheus monitoring" 2018-10-26 15:31:04 +00:00
Johann Hubert Sonntagbauer 6f5723a169 enable jasmine/new-line-before-expect 2018-10-17 06:57:29 +02:00
Simon Knox deb6b429bf Backport changes from gitlab-ee!7538 2018-10-05 16:26:16 +00:00
Jose Vargas 6ff8146dc2
Change forceRedraw key format 2018-09-25 18:15:30 -05:00
Jose Vargas d0f81b60e4
Fix monitoring dashboard not working properly
This fixes a bug when the monitoring dashboard wouldn't redraw for when the sidebar
was collapsed/expanded on medium to small screens. This is done by enforcing vue
to update based on the change of a key
2018-09-25 11:21:44 -05:00
Jose 786edcb4f9 populate environments dropdown, add tests 2018-07-04 10:37:19 -05:00
Mike Greiling ce847d9db1
fix tests for dahboard.vue 2018-03-19 22:14:02 -05:00
Mike Greiling 226d43b317
prefer checking explicitly for null 2018-03-06 11:23:09 -06:00
Mike Greiling 57d1ddff0e
replace fixture with simple mount point 2018-03-06 11:09:16 -06:00
Mike Greiling bae88da83c
add new tests for metrics dashboard changes 2018-03-06 11:06:10 -06:00
Mike Greiling 2859ddde48
coerce hasMetrics to a boolean value before instantiating the Vue component 2018-03-06 03:41:21 -06:00
Mike Greiling ad51ab3197
fix karma tests 2018-03-06 03:11:40 -06:00
Winnie Hellmann 0711ebbd72 Use restore() instead of reset() for removing axios MockAdapter 2018-01-23 12:42:02 +01:00
Jose Ivan Vargas e673730079 Replaced vue-resource for axios in the prometheus dashboard 2017-11-22 10:52:14 -06:00
Mike Greiling 4b892a5f07 update specs to match reorganized monitoring components 2017-08-30 11:11:19 -05:00