Commit Graph

21 Commits

Author SHA1 Message Date
Mike Greiling 5b9495c5db
Prettify all the things 2018-11-20 09:30:01 -06:00
Clement Ho 8b1f2823a2 Use @gitlab npm namespace 2018-11-16 19:29:11 +00:00
Clement Ho c4aa33fc8b Remove gitlab-ui loading icon from global 2018-11-07 10:06:15 +00:00
Lukas Eipert 26ab92d3f3
Improve performance of rendering large reports
Instead of rendering all report items in 4 big lists, we make use of
vue-virtual-scroll-list and render only few dozens at once. This
improves the performance in several metrics:

- Initial load time
- Memory Pressure
- CPU Load
- DOM node count

In an example with around 11k reported security vulnerabilities:

- Initial load time: 27s -> 4.1s
- Memory Pressure: ~750 MB -> ~270 MB
- CPU Load (time spent on executing JS/Rendering): 22s -> 2.5s
- DOM node count: 430k -> 7k up to 30k while scrolling
2018-11-06 11:39:11 +01:00
Mike Greiling 0efbc126d0 Merge branch 'master' into 'prettify-all-the-things-4'
# Conflicts:
#   app/assets/javascripts/sidebar/components/time_tracking/collapsed_state.vue
2018-10-26 00:45:03 +00:00
Filipa Lacerda d1fe07a2e5 Fixes broken borders in reports section MR widget 2018-10-17 11:49:27 +01:00
Mike Greiling 4695b31113
Prettify registry and reports modules 2018-10-17 00:44:22 -05:00
Lukas Eipert a50d5db580
Backport styles for report_section
These changes are a backport from
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/7411
2018-09-28 12:22:59 +02:00
Mike Greiling f829b181bc
Resolve eslint-plugin-vue errors
The eslint-plugin-vue upgrade had some breaking changes to
vue/attribute-order which needed to be resolved in order to avoid
disabling the rule entirely
2018-09-20 02:39:50 -05:00
Clement Ho f815b48f39 Use gitlab-ui loading icon 2018-09-11 22:19:21 +00:00
Paul Slaughter 254cfcb7f4 Updapte eslintrc no-param-reassign with 'ignorePropertyModificationsFor' 2018-09-06 14:42:25 -05:00
Filipa Lacerda 03351199df
Reduce differences between CE and EE code base in reports components 2018-08-10 09:04:45 +01:00
Filipa Lacerda bcdc6f3119
Moves report components to reports folder 2018-08-07 16:06:38 +01:00
Filipa Lacerda 0f0e70bc13
Reset error state in success mutation to handle error-success state 2018-08-07 14:05:53 +01:00
Filipa Lacerda d8fc401229 Show resolved failures 2018-08-07 14:05:13 +01:00
Filipa Lacerda bf1ce979e2
Increases title column on modal for reports 2018-08-06 13:12:36 +01:00
Lukas Eipert 46a2c709e5
Adds a css class for mr reports to render them correctly 2018-08-03 18:34:34 +02:00
Filipa Lacerda 94981308a0
Adds action spec to cover 204 2018-08-03 10:45:43 +01:00
Filipa Lacerda 15511ed14f Changes after review:
- Cleans up CSS to use common classes
- Removes getters to use mapState instead
- Makes the first request even when tab is not visible
- Show loading state in 204
2018-08-02 17:59:25 +01:00
Filipa Lacerda bfeb7c2c3f Adds frontend support to render test reports on theMR widget
Creates an app to render grouped test reports in the MR widget
Ports CSS from EE into CE
Creates a reusable code component
Adds getters and utils to the existing reports store
2018-08-02 17:59:22 +01:00
Filipa Lacerda - 🌴🌴OOO back on July 30th🌴🌴 2d56c8fdd7 Adds Vuex store to handle the data for tests reports in MR widget 2018-07-23 16:54:48 +00:00