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
53a21598
Commit
53a21598
authored
Jul 04, 2020
by
David O'Regan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update naming conventions
parent
45384ccd
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
8 additions
and
10 deletions
+8
-10
app/assets/javascripts/alert_management/components/alert_details.vue
...javascripts/alert_management/components/alert_details.vue
+1
-1
app/assets/javascripts/alert_management/components/alert_status.vue
.../javascripts/alert_management/components/alert_status.vue
+1
-1
app/assets/javascripts/alert_management/components/sidebar/sidebar_assignees.vue
...alert_management/components/sidebar/sidebar_assignees.vue
+1
-1
app/assets/javascripts/alert_management/graphql/mutations/alert_set_assignees.mutation.graphql
...nt/graphql/mutations/alert_set_assignees.mutation.graphql
+0
-0
app/assets/javascripts/alert_management/graphql/mutations/create_issue_from_alert.mutation.graphql
...raphql/mutations/create_issue_from_alert.mutation.graphql
+0
-0
app/assets/javascripts/alert_management/graphql/mutations/update_alert_status.mutation.graphql
...nt/graphql/mutations/update_alert_status.mutation.graphql
+0
-0
spec/frontend/alert_management/components/alert_management_detail_spec.js
...ert_management/components/alert_management_detail_spec.js
+2
-4
spec/frontend/alert_management/components/alert_management_list_spec.js
...alert_management/components/alert_management_list_spec.js
+1
-1
spec/frontend/alert_management/components/alert_managment_sidebar_assignees_spec.js
...ment/components/alert_managment_sidebar_assignees_spec.js
+1
-1
spec/frontend/alert_management/components/alert_sidebar_status_spec.js
.../alert_management/components/alert_sidebar_status_spec.js
+1
-1
No files found.
app/assets/javascripts/alert_management/components/alert_details.vue
View file @
53a21598
...
...
@@ -19,7 +19,7 @@ import TimeAgoTooltip from '~/vue_shared/components/time_ago_tooltip.vue';
import
highlightCurrentUser
from
'
~/behaviors/markdown/highlight_current_user
'
;
import
initUserPopovers
from
'
~/user_popovers
'
;
import
{
ALERTS_SEVERITY_LABELS
,
trackAlertsDetailsViewsOptions
}
from
'
../constants
'
;
import
createIssueMutation
from
'
../graphql/mutations/create_issue_from_alert.graphql
'
;
import
createIssueMutation
from
'
../graphql/mutations/create_issue_from_alert.
mutation.
graphql
'
;
import
toggleSidebarStatusMutation
from
'
../graphql/mutations/toggle_sidebar_status.mutation.graphql
'
;
import
{
visitUrl
,
joinPaths
}
from
'
~/lib/utils/url_utility
'
;
import
Tracking
from
'
~/tracking
'
;
...
...
app/assets/javascripts/alert_management/components/alert_status.vue
View file @
53a21598
...
...
@@ -3,7 +3,7 @@ import { GlDropdown, GlDropdownItem, GlButton } from '@gitlab/ui';
import
{
s__
}
from
'
~/locale
'
;
import
Tracking
from
'
~/tracking
'
;
import
{
trackAlertStatusUpdateOptions
}
from
'
../constants
'
;
import
updateAlertStatus
from
'
../graphql/mutations/update_alert_status.graphql
'
;
import
updateAlertStatus
from
'
../graphql/mutations/update_alert_status.
mutation.
graphql
'
;
export
default
{
statuses
:
{
...
...
app/assets/javascripts/alert_management/components/sidebar/sidebar_assignees.vue
View file @
53a21598
...
...
@@ -12,7 +12,7 @@ import {
}
from
'
@gitlab/ui
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
{
s__
,
__
}
from
'
~/locale
'
;
import
alertSetAssignees
from
'
../../graphql/mutations/alert_set_assignees.graphql
'
;
import
alertSetAssignees
from
'
../../graphql/mutations/alert_set_assignees.
mutation.
graphql
'
;
import
SidebarAssignee
from
'
./sidebar_assignee.vue
'
;
import
{
debounce
}
from
'
lodash
'
;
...
...
app/assets/javascripts/alert_management/graphql/mutations/alert_set_assignees.graphql
→
app/assets/javascripts/alert_management/graphql/mutations/alert_set_assignees.
mutation.
graphql
View file @
53a21598
File moved
app/assets/javascripts/alert_management/graphql/mutations/create_issue_from_alert.graphql
→
app/assets/javascripts/alert_management/graphql/mutations/create_issue_from_alert.
mutation.
graphql
View file @
53a21598
File moved
app/assets/javascripts/alert_management/graphql/mutations/update_alert_status.graphql
→
app/assets/javascripts/alert_management/graphql/mutations/update_alert_status.
mutation.
graphql
View file @
53a21598
File moved
spec/frontend/alert_management/components/alert_management_detail_spec.js
View file @
53a21598
...
...
@@ -3,7 +3,7 @@ import { GlAlert, GlLoadingIcon, GlTable } from '@gitlab/ui';
import
axios
from
'
axios
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
AlertDetails
from
'
~/alert_management/components/alert_details.vue
'
;
import
createIssueMutation
from
'
~/alert_management/graphql/mutations/create_issue_from_alert.graphql
'
;
import
createIssueMutation
from
'
~/alert_management/graphql/mutations/create_issue_from_alert.
mutation.
graphql
'
;
import
{
joinPaths
}
from
'
~/lib/utils/url_utility
'
;
import
{
trackAlertsDetailsViewsOptions
,
...
...
@@ -54,11 +54,9 @@ describe('AlertDetails', () => {
});
afterEach
(()
=>
{
if
(
wrapper
)
{
if
(
wrapper
)
{
wrapper
.
destroy
();
}
}
mock
.
restore
();
});
...
...
spec/frontend/alert_management/components/alert_management_list_spec.js
View file @
53a21598
...
...
@@ -21,7 +21,7 @@ import {
trackAlertListViewsOptions
,
trackAlertStatusUpdateOptions
,
}
from
'
~/alert_management/constants
'
;
import
updateAlertStatus
from
'
~/alert_management/graphql/mutations/update_alert_status.graphql
'
;
import
updateAlertStatus
from
'
~/alert_management/graphql/mutations/update_alert_status.
mutation.
graphql
'
;
import
mockAlerts
from
'
../mocks/alerts.json
'
;
import
Tracking
from
'
~/tracking
'
;
...
...
spec/frontend/alert_management/components/alert_managment_sidebar_assignees_spec.js
View file @
53a21598
...
...
@@ -4,7 +4,7 @@ import MockAdapter from 'axios-mock-adapter';
import
{
GlDropdownItem
}
from
'
@gitlab/ui
'
;
import
SidebarAssignee
from
'
~/alert_management/components/sidebar/sidebar_assignee.vue
'
;
import
SidebarAssignees
from
'
~/alert_management/components/sidebar/sidebar_assignees.vue
'
;
import
AlertSetAssignees
from
'
~/alert_management/graphql/mutations/alert_set_assignees.graphql
'
;
import
AlertSetAssignees
from
'
~/alert_management/graphql/mutations/alert_set_assignees.
mutation.
graphql
'
;
import
mockAlerts
from
'
../mocks/alerts.json
'
;
const
mockAlert
=
mockAlerts
[
0
];
...
...
spec/frontend/alert_management/components/alert_sidebar_status_spec.js
View file @
53a21598
...
...
@@ -2,7 +2,7 @@ import { mount } from '@vue/test-utils';
import
{
GlDropdownItem
,
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
import
{
trackAlertStatusUpdateOptions
}
from
'
~/alert_management/constants
'
;
import
AlertSidebarStatus
from
'
~/alert_management/components/sidebar/sidebar_status.vue
'
;
import
updateAlertStatus
from
'
~/alert_management/graphql/mutations/update_alert_status.graphql
'
;
import
updateAlertStatus
from
'
~/alert_management/graphql/mutations/update_alert_status.
mutation.
graphql
'
;
import
Tracking
from
'
~/tracking
'
;
import
mockAlerts
from
'
../mocks/alerts.json
'
;
...
...
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