Commit Graph

82 Commits

Author SHA1 Message Date
Phil Hughes fa2af5e0f5
Flash is now a ES6 module
Reduced the technical debt around our JS flash function by making it a
module that is imported rather than relying on the global function.
The global function still exists mainly for technical debt with how
some requests are being completed, but new JS should import the module
directly.

Also reduces some tech debt in the file by removing the need for jQuery.
Instead Flash is now 100% vanilla JS.
2017-10-10 10:14:22 +01:00
Mike Greiling ece9621b13
allow legend to properly handle NaN values 2017-10-06 15:30:09 -05:00
Mike Greiling e3fe48b85d
allow prometheus graphs to handle non-congiuous paths (with NaN, +Inf, and -Inf) 2017-10-06 15:29:32 -05:00
Tim Zallmann 6c5837ae49 Merge branch '37105-monitoring-graph-axes-labels-are-inaccurate-and-inconsistent' into 'master'
Resolve "Monitoring graph axes labels are inaccurate and inconsistent"

Closes #37105

See merge request gitlab-org/gitlab-ce!14258
2017-10-06 07:20:34 +00:00
Jose Ivan Vargas 790bc25dcd fix linter errors and karma specs 2017-10-05 13:00:33 -05:00
Tim Zallmann d55216c092 Merge branch '38031-monitoring-hover-info-is-clipped' into 'master'
Resolve "Monitoring hover info is clipped"

Closes #38031

See merge request gitlab-org/gitlab-ce!14514
2017-10-05 10:48:06 +00:00
Tim Zallmann da522efa1a Merge branch '38789-prometheus-graphs-occasionally-have-incorrect-y-scale' into 'master'
Resolve "Prometheus graphs occasionally have incorrect Y scale"

Closes #38789

See merge request gitlab-org/gitlab-ce!14693
2017-10-05 10:00:15 +00:00
Jose Ivan Vargas Lopez 9857ba1871 Resolve "Hover and legend data should be linked" 2017-10-05 08:52:06 +00:00
Mike Greiling 3c484861c5 Resolve "Monitoring graph empty states are gigantic on `screen-sm` viewport sizes" 2017-10-05 08:13:04 +00:00
Mike Greiling b0e8d623b7
fix x-axis pixel scale to account for transform x-offset 2017-10-05 01:08:05 -05:00
Mike Greiling f036d43be9
rename graph_paths.vue consistent with all other sub-components of graph.vue 2017-10-05 01:07:01 -05:00
Mike Greiling eb31e31478
fix spelling ("outter" -> "outer") 2017-10-05 00:37:09 -05:00
Mike Greiling 97153e7f62
fix formatting 2017-10-05 00:17:54 -05:00
Mike Greiling 4f82b92199
ensure prometheus graph values are properly typecast as numbers 2017-10-04 23:26:28 -05:00
Jose Ivan Vargas c146177094 Fixed deployment flag having content hidden when being too far right 2017-09-27 11:37:23 -05:00
Tim Zallmann 55f772bb98 Resolve "Better SVG Usage in the Frontend" 2017-09-22 08:39:47 +00:00
Mike Greiling 57c97a10b0 Merge branch 'master' into 37220-es-modules
* master: (148 commits)
  Remove gaps under nav on build page
  Replace the 'project/snippets.feature' spinach test with an rspec analog
  Use correct group members path for members flyout link
  Replace the 'project/commits/revert.feature' spinach test with an rspec analog
  Merge branch 'rs-incoming-email-domain-docs' into 'security-10-0'
  Replace the 'project/archived.feature' spinach test with an rspec analog
  Fix broken link in docs/api/wiki.md
  Fixed the new sidebars width when browser has scrollbars
  Improve 'spec/features/profiles/*' specs
  Replace the 'search.feature' spinach test with an rspec analog
  dedupe yarn packages
  add dependency approvals (all MIT license)
  update build image to latest with node 8.x, yarn 1.0.2, and chrome 61
  Ensure we use `Entities::User` for non-admin `users/:id` API requests
  Minor update to address Sean McGivern's comment.
  Add data migration
  Fix setting share_with_group_lock
  created services for keys
  Prepare Repository#merge for migration to Gitaly
  Never connect to webpack-dev-server over SSL
  ...
2017-09-18 10:56:04 -05:00
Mike Greiling 70e9e8844b Refactor MonitoringService class 2017-09-13 12:57:51 +00:00
Filipa Lacerda 96e6fc70b4 Import modules instead of using the ones in global namespace
Removes set favicon related methods from global scope
Improves test related with favicon

Removes convertPermissionToBoolean from global scope.
Adds tests for convertPermissionToBoolean - were non existant

Removes setParamInURL from gl.utils

Removes parseIntPagination from gl.utils namespace

Remove normalizeCRLFHeaders from gl.utils namespace

Removes normalizeHeaders from gl.utils namespace

Use gl.utils for filtered search

Fix bad import

Fix broken test by cleaning window.history namespace

Adds changelog
2017-09-09 09:54:27 +01:00
Filipa Lacerda 6a1b84c7b4 Use modules in common utils 2017-09-09 09:54:24 +01:00
Jose Ivan Vargas 4bd5c062f0 flipped series and when keys 2017-09-07 18:26:33 -05:00
Jose Ivan Vargas 7f5ae2e8b2 Changed how the backend response is handled for when instead of series 2017-09-07 17:16:31 -05:00
Jose Ivan Vargas 851ada8215 addressed code quality observations 2017-09-07 16:30:25 -05:00
Jose Ivan Vargas a2d10937d8 refactored the pickColors method 2017-09-07 14:46:16 -05:00
Jose Ivan Vargas 290217d51b Improved color selector and addressed observations 2017-09-07 14:17:38 -05:00
Jose Ivan Vargas 93ba3fdd1e small fixes to code and specs 2017-09-07 09:19:13 -05:00
Jose Ivan Vargas 45900c3030 Added support for named colors, also added interpolations for the graphs 2017-09-07 09:19:13 -05:00
Jose Ivan Vargas 057e84d6e3 Renamed some components 2017-09-07 09:19:12 -05:00
Mike Greiling 70bff97c27 Use flexbox for prometheus graph row grouping instead of bootstrap classes 2017-09-06 07:42:47 +00:00
Jose Ivan Vargas bfc9b3b1b3 Corrected collate function 2017-09-01 12:22:15 -05:00
Mike Greiling f69ad38910 refactor monitoring_store.js 2017-09-01 11:49:47 -05:00
Mike Greiling a4d3ac4067 simplify storeMetrics method 2017-09-01 11:03:30 -05:00
Jose Ivan Vargas 05a77e79b8 Added simple support for multiple colors on the different time series 2017-08-31 16:31:19 -05:00
Jose Ivan Vargas 62a0f76516 Increased the height of the graph when dealing with 3 plus legends 2017-08-30 18:48:52 -05:00
Jose Ivan Vargas 8a807aedb8 Corrected y scale for multiple time series and visual improvements 2017-08-30 18:36:23 -05:00
Jose Ivan Vargas f6df7d6a72 Added and corrected specs for the additional time series 2017-08-30 18:36:21 -05:00
Jose Ivan Vargas 520ab72bd3 Added vertical spacing when there's multiple legends 2017-08-30 18:28:13 -05:00
Jose Ivan Vargas d9a3c5f21c Refactored deployment mixins 2017-08-30 18:28:12 -05:00
Jose Ivan Vargas fdd1d59f60 Added legends for each of the time series 2017-08-30 18:28:11 -05:00
Jose Ivan Vargas faf5363ea0 Refactored the monitoring_column component to process all of the time series 2017-08-30 18:28:09 -05:00
Jose Ivan Vargas 4ea9c9b687 Converted the dates for each time series on the store 2017-08-30 18:27:24 -05:00
Jose Ivan Vargas bd82e61f91 Added monitoring_paths component to show multiple time series on a single chart 2017-08-30 18:27:24 -05:00
Mike Greiling 147d55d24f extract prometheus graph group elements into their own component 2017-08-30 00:16:23 -05:00
Mike Greiling 4138c20c30 remove pointless single-row/single-col wrapper 2017-08-29 23:58:14 -05:00
Mike Greiling daf15c3ca9 rename and organize vue components 2017-08-29 23:49:29 -05:00
Mike Greiling 4809ded83a refactor template formatting according to guidelines 2017-08-29 23:24:48 -05:00
Phil Hughes 5f60b9b698 Merge branch '37102-fix-prometheus-graph-cursor-flag' into 'master'
Ensure Prometheus graph overlay is in front of cursor flag

Closes #37102

See merge request !13867
2017-08-29 08:30:42 +00:00
Mike Greiling 596fe67a03 Resolve "Monitoring graph date formatting is wrong" 2017-08-29 08:29:11 +00:00
Mike Greiling 77c8e2b4f0 ensure graph overlay is in front of cursor flag 2017-08-28 03:30:03 -05:00
Phil Hughes 3fc89919a8
removed global use of breakpoint checker 2017-08-10 14:02:30 +01:00