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
181a7a2d
Commit
181a7a2d
authored
Aug 07, 2018
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moves report components to reports folder
parent
f35a3c5b
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
19 additions
and
20 deletions
+19
-20
app/assets/javascripts/reports/components/grouped_test_reports_app.vue
...vascripts/reports/components/grouped_test_reports_app.vue
+4
-4
app/assets/javascripts/reports/components/issue_body.js
app/assets/javascripts/reports/components/issue_body.js
+1
-1
app/assets/javascripts/reports/components/issue_status_icon.vue
...sets/javascripts/reports/components/issue_status_icon.vue
+1
-2
app/assets/javascripts/reports/components/issues_list.vue
app/assets/javascripts/reports/components/issues_list.vue
+3
-2
app/assets/javascripts/reports/components/modal_open_name.vue
...assets/javascripts/reports/components/modal_open_name.vue
+0
-0
app/assets/javascripts/reports/components/report_issues.vue
app/assets/javascripts/reports/components/report_issues.vue
+1
-1
app/assets/javascripts/reports/components/report_link.vue
app/assets/javascripts/reports/components/report_link.vue
+0
-0
app/assets/javascripts/reports/components/report_section.vue
app/assets/javascripts/reports/components/report_section.vue
+1
-1
app/assets/javascripts/reports/components/summary_row.vue
app/assets/javascripts/reports/components/summary_row.vue
+1
-1
app/assets/javascripts/reports/constants.js
app/assets/javascripts/reports/constants.js
+2
-0
app/assets/javascripts/vue_shared/components/reports/constants.js
...ts/javascripts/vue_shared/components/reports/constants.js
+0
-3
spec/javascripts/reports/components/modal_open_name_spec.js
spec/javascripts/reports/components/modal_open_name_spec.js
+1
-1
spec/javascripts/reports/components/report_link_spec.js
spec/javascripts/reports/components/report_link_spec.js
+2
-2
spec/javascripts/reports/components/report_section_spec.js
spec/javascripts/reports/components/report_section_spec.js
+1
-1
spec/javascripts/reports/components/summary_row_spec.js
spec/javascripts/reports/components/summary_row_spec.js
+1
-1
No files found.
app/assets/javascripts/reports/components/grouped_test_reports_app.vue
View file @
181a7a2d
<
script
>
<
script
>
import
{
mapActions
,
mapGetters
,
mapState
}
from
'
vuex
'
;
import
{
mapActions
,
mapGetters
,
mapState
}
from
'
vuex
'
;
import
{
s__
}
from
'
~/locale
'
;
import
{
s__
}
from
'
~/locale
'
;
import
{
componentNames
}
from
'
~/vue_shared/components/reports
/issue_body
'
;
import
{
componentNames
}
from
'
.
/issue_body
'
;
import
ReportSection
from
'
~/vue_shared/components/reports
/report_section.vue
'
;
import
ReportSection
from
'
.
/report_section.vue
'
;
import
SummaryRow
from
'
~/vue_shared/components/reports
/summary_row.vue
'
;
import
SummaryRow
from
'
.
/summary_row.vue
'
;
import
IssuesList
from
'
~/vue_shared/components/reports
/issues_list.vue
'
;
import
IssuesList
from
'
.
/issues_list.vue
'
;
import
Modal
from
'
./modal.vue
'
;
import
Modal
from
'
./modal.vue
'
;
import
createStore
from
'
../store
'
;
import
createStore
from
'
../store
'
;
import
{
summaryTextBuilder
,
reportTextBuilder
,
statusIcon
}
from
'
../store/utils
'
;
import
{
summaryTextBuilder
,
reportTextBuilder
,
statusIcon
}
from
'
../store/utils
'
;
...
...
app/assets/javascripts/
vue_shared/components/repor
ts/issue_body.js
→
app/assets/javascripts/
reports/componen
ts/issue_body.js
View file @
181a7a2d
import
TestIssueBody
from
'
~/reports/components
/test_issue_body.vue
'
;
import
TestIssueBody
from
'
.
/test_issue_body.vue
'
;
export
const
components
=
{
export
const
components
=
{
TestIssueBody
,
TestIssueBody
,
...
...
app/assets/javascripts/
vue_shared/components/repor
ts/issue_status_icon.vue
→
app/assets/javascripts/
reports/componen
ts/issue_status_icon.vue
View file @
181a7a2d
<
script
>
<
script
>
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
{
import
{
STATUS_FAILED
,
STATUS_FAILED
,
STATUS_NEUTRAL
,
STATUS_NEUTRAL
,
STATUS_SUCCESS
,
STATUS_SUCCESS
,
}
from
'
~/vue_shared/components/reports
/constants
'
;
}
from
'
..
/constants
'
;
export
default
{
export
default
{
name
:
'
IssueStatusIcon
'
,
name
:
'
IssueStatusIcon
'
,
...
...
app/assets/javascripts/
vue_shared/components/repor
ts/issues_list.vue
→
app/assets/javascripts/
reports/componen
ts/issues_list.vue
View file @
181a7a2d
<
script
>
<
script
>
import
IssuesBlock
from
'
~/vue_shared/components/reports
/report_issues.vue
'
;
import
IssuesBlock
from
'
.
/report_issues.vue
'
;
import
{
import
{
STATUS_SUCCESS
,
STATUS_SUCCESS
,
STATUS_FAILED
,
STATUS_FAILED
,
STATUS_NEUTRAL
,
STATUS_NEUTRAL
,
}
from
'
~/vue_shared/components/reports
/constants
'
;
}
from
'
..
/constants
'
;
import
{
componentNames
}
from
'
ee/vue_shared/components/reports/issue_body
'
;
import
{
componentNames
}
from
'
ee/vue_shared/components/reports/issue_body
'
;
import
SastContainerInfo
from
'
ee/vue_shared/security_reports/components/sast_container_info.vue
'
;
import
SastContainerInfo
from
'
ee/vue_shared/security_reports/components/sast_container_info.vue
'
;
/**
/**
* Renders block of issues
* Renders block of issues
*/
*/
...
...
app/assets/javascripts/
vue_shared/components/repor
ts/modal_open_name.vue
→
app/assets/javascripts/
reports/componen
ts/modal_open_name.vue
View file @
181a7a2d
File moved
app/assets/javascripts/
vue_shared/components/repor
ts/report_issues.vue
→
app/assets/javascripts/
reports/componen
ts/report_issues.vue
View file @
181a7a2d
<
script
>
<
script
>
import
IssueStatusIcon
from
'
~/
vue_shared/components/repor
ts/issue_status_icon.vue
'
;
import
IssueStatusIcon
from
'
~/
reports/componen
ts/issue_status_icon.vue
'
;
import
{
components
,
componentNames
}
from
'
ee/vue_shared/components/reports/issue_body
'
;
import
{
components
,
componentNames
}
from
'
ee/vue_shared/components/reports/issue_body
'
;
export
default
{
export
default
{
...
...
app/assets/javascripts/
vue_shared/components/repor
ts/report_link.vue
→
app/assets/javascripts/
reports/componen
ts/report_link.vue
View file @
181a7a2d
File moved
app/assets/javascripts/
vue_shared/components/repor
ts/report_section.vue
→
app/assets/javascripts/
reports/componen
ts/report_section.vue
View file @
181a7a2d
<
script
>
<
script
>
import
{
__
}
from
'
~/locale
'
;
import
{
__
}
from
'
~/locale
'
;
import
StatusIcon
from
'
~/vue_merge_request_widget/components/mr_widget_status_icon.vue
'
;
import
StatusIcon
from
'
~/vue_merge_request_widget/components/mr_widget_status_icon.vue
'
;
import
Popover
from
'
~/vue_shared/components/help_popover.vue
'
;
import
IssuesList
from
'
./issues_list.vue
'
;
import
IssuesList
from
'
./issues_list.vue
'
;
import
Popover
from
'
../help_popover.vue
'
;
const
LOADING
=
'
LOADING
'
;
const
LOADING
=
'
LOADING
'
;
const
ERROR
=
'
ERROR
'
;
const
ERROR
=
'
ERROR
'
;
...
...
app/assets/javascripts/
vue_shared/components/repor
ts/summary_row.vue
→
app/assets/javascripts/
reports/componen
ts/summary_row.vue
View file @
181a7a2d
<
script
>
<
script
>
import
CiIcon
from
'
~/vue_shared/components/ci_icon.vue
'
;
import
CiIcon
from
'
~/vue_shared/components/ci_icon.vue
'
;
import
LoadingIcon
from
'
~/vue_shared/components/loading_icon.vue
'
;
import
LoadingIcon
from
'
~/vue_shared/components/loading_icon.vue
'
;
import
Popover
from
'
..
/help_popover.vue
'
;
import
Popover
from
'
~/vue_shared/components
/help_popover.vue
'
;
/**
/**
* Renders the summary row for each report
* Renders the summary row for each report
...
...
app/assets/javascripts/reports/constants.js
View file @
181a7a2d
...
@@ -11,6 +11,8 @@ export const SUCCESS = 'SUCCESS';
...
@@ -11,6 +11,8 @@ export const SUCCESS = 'SUCCESS';
export
const
STATUS_FAILED
=
'
failed
'
;
export
const
STATUS_FAILED
=
'
failed
'
;
export
const
STATUS_SUCCESS
=
'
success
'
;
export
const
STATUS_SUCCESS
=
'
success
'
;
export
const
STATUS_NEUTRAL
=
'
neutral
'
;
export
const
ICON_WARNING
=
'
warning
'
;
export
const
ICON_WARNING
=
'
warning
'
;
export
const
ICON_SUCCESS
=
'
success
'
;
export
const
ICON_SUCCESS
=
'
success
'
;
export
const
ICON_NOTFOUND
=
'
notfound
'
;
export
const
ICON_NOTFOUND
=
'
notfound
'
;
app/assets/javascripts/vue_shared/components/reports/constants.js
deleted
100644 → 0
View file @
f35a3c5b
export
const
STATUS_FAILED
=
'
failed
'
;
export
const
STATUS_SUCCESS
=
'
success
'
;
export
const
STATUS_NEUTRAL
=
'
neutral
'
;
spec/javascripts/
vue_shared/components/repor
ts/modal_open_name_spec.js
→
spec/javascripts/
reports/componen
ts/modal_open_name_spec.js
View file @
181a7a2d
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
Vuex
from
'
vuex
'
;
import
Vuex
from
'
vuex
'
;
import
component
from
'
~/
vue_shared/components/repor
ts/modal_open_name.vue
'
;
import
component
from
'
~/
reports/componen
ts/modal_open_name.vue
'
;
import
{
mountComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
mountComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
describe
(
'
Modal open name
'
,
()
=>
{
describe
(
'
Modal open name
'
,
()
=>
{
...
...
spec/javascripts/
vue_shared/components/repor
ts/report_link_spec.js
→
spec/javascripts/
reports/componen
ts/report_link_spec.js
View file @
181a7a2d
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
component
from
'
~/
vue_shared/components/repor
ts/report_link.vue
'
;
import
component
from
'
~/
reports/componen
ts/report_link.vue
'
;
import
mountComponent
from
'
../../
../
helpers/vue_mount_component_helper
'
;
import
mountComponent
from
'
../../helpers/vue_mount_component_helper
'
;
describe
(
'
report link
'
,
()
=>
{
describe
(
'
report link
'
,
()
=>
{
let
vm
;
let
vm
;
...
...
spec/javascripts/
vue_shared/components/repor
ts/report_section_spec.js
→
spec/javascripts/
reports/componen
ts/report_section_spec.js
View file @
181a7a2d
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
reportSection
from
'
~/
vue_shared/components/repor
ts/report_section.vue
'
;
import
reportSection
from
'
~/
reports/componen
ts/report_section.vue
'
;
import
mountComponent
,
{
mountComponentWithSlots
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
mountComponent
,
{
mountComponentWithSlots
}
from
'
spec/helpers/vue_mount_component_helper
'
;
describe
(
'
Report section
'
,
()
=>
{
describe
(
'
Report section
'
,
()
=>
{
...
...
spec/javascripts/
vue_shared/components/repor
ts/summary_row_spec.js
→
spec/javascripts/
reports/componen
ts/summary_row_spec.js
View file @
181a7a2d
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
component
from
'
~/
vue_shared/components/repor
ts/summary_row.vue
'
;
import
component
from
'
~/
reports/componen
ts/summary_row.vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
describe
(
'
Summary row
'
,
()
=>
{
describe
(
'
Summary row
'
,
()
=>
{
...
...
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