Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
97ae4a0d
Commit
97ae4a0d
authored
Oct 22, 2021
by
Daniel Tian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add vulnerability list clone and move vulnerability counts component
parent
a2d053e6
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1100 additions
and
3 deletions
+1100
-3
ee/app/assets/javascripts/security_dashboard/components/group/vulnerability_report_development.vue
...ard/components/group/vulnerability_report_development.vue
+1
-1
ee/app/assets/javascripts/security_dashboard/components/shared/vulnerability_report/vulnerability_counts.vue
...ents/shared/vulnerability_report/vulnerability_counts.vue
+0
-0
ee/app/assets/javascripts/security_dashboard/components/shared/vulnerability_report/vulnerability_list.vue
...onents/shared/vulnerability_report/vulnerability_list.vue
+451
-0
ee/spec/frontend/security_dashboard/components/group/vulnerability_report_development_spec.js
...components/group/vulnerability_report_development_spec.js
+1
-1
ee/spec/frontend/security_dashboard/components/shared/vulnerability_report/vulnerability_counts_spec.js
.../shared/vulnerability_report/vulnerability_counts_spec.js
+1
-1
ee/spec/frontend/security_dashboard/components/shared/vulnerability_report/vulnerability_list_spec.js
...ts/shared/vulnerability_report/vulnerability_list_spec.js
+646
-0
No files found.
ee/app/assets/javascripts/security_dashboard/components/group/vulnerability_report_development.vue
View file @
97ae4a0d
...
...
@@ -2,7 +2,7 @@
import
countsQuery
from
'
ee/security_dashboard/graphql/queries/vulnerability_severities_count.query.graphql
'
;
import
createFlash
from
'
~/flash
'
;
import
{
s__
}
from
'
~/locale
'
;
import
VulnerabilityCounts
from
'
../shared/vulnerability_counts.vue
'
;
import
VulnerabilityCounts
from
'
../shared/vulnerability_
report/vulnerability_
counts.vue
'
;
export
default
{
components
:
{
VulnerabilityCounts
},
...
...
ee/app/assets/javascripts/security_dashboard/components/shared/vulnerability_counts.vue
→
ee/app/assets/javascripts/security_dashboard/components/shared/vulnerability_
report/vulnerability_
counts.vue
View file @
97ae4a0d
File moved
ee/app/assets/javascripts/security_dashboard/components/shared/vulnerability_report/vulnerability_list.vue
0 → 100644
View file @
97ae4a0d
This diff is collapsed.
Click to expand it.
ee/spec/frontend/security_dashboard/components/group/vulnerability_report_development_spec.js
View file @
97ae4a0d
...
...
@@ -2,7 +2,7 @@ import { createLocalVue } from '@vue/test-utils';
import
VueApollo
from
'
vue-apollo
'
;
import
{
nextTick
}
from
'
vue
'
;
import
VulnerabilityReportDevelopment
from
'
ee/security_dashboard/components/group/vulnerability_report_development.vue
'
;
import
VulnerabilityCounts
from
'
ee/security_dashboard/components/shared/vulnerability_counts.vue
'
;
import
VulnerabilityCounts
from
'
ee/security_dashboard/components/shared/vulnerability_
report/vulnerability_
counts.vue
'
;
import
{
shallowMountExtended
}
from
'
helpers/vue_test_utils_helper
'
;
import
countsQuery
from
'
ee/security_dashboard/graphql/queries/vulnerability_severities_count.query.graphql
'
;
import
createMockApollo
from
'
helpers/mock_apollo_helper
'
;
...
...
ee/spec/frontend/security_dashboard/components/shared/vulnerability_counts_spec.js
→
ee/spec/frontend/security_dashboard/components/shared/vulnerability_
report/vulnerability_
counts_spec.js
View file @
97ae4a0d
import
{
GlCard
,
GlSkeletonLoading
}
from
'
@gitlab/ui
'
;
import
VulnerabilityCounts
from
'
ee/security_dashboard/components/shared/vulnerability_counts.vue
'
;
import
VulnerabilityCounts
from
'
ee/security_dashboard/components/shared/vulnerability_
report/vulnerability_
counts.vue
'
;
import
{
mountExtended
}
from
'
helpers/vue_test_utils_helper
'
;
import
{
CRITICAL
,
...
...
ee/spec/frontend/security_dashboard/components/shared/vulnerability_report/vulnerability_list_spec.js
0 → 100644
View file @
97ae4a0d
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment