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
0a0302b5
Commit
0a0302b5
authored
Jun 18, 2020
by
Natalia Tepluhina
Committed by
Mark Florian
Jun 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve "Rename Design Management .graphql files to follow snake_case"
parent
bfb93a89
Changes
24
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
24 additions
and
24 deletions
+24
-24
app/assets/javascripts/design_management/components/design_destroyer.vue
...scripts/design_management/components/design_destroyer.vue
+1
-1
app/assets/javascripts/design_management/components/design_notes/design_discussion.vue
..._management/components/design_notes/design_discussion.vue
+2
-2
app/assets/javascripts/design_management/components/toolbar/index.vue
...avascripts/design_management/components/toolbar/index.vue
+1
-1
app/assets/javascripts/design_management/components/upload/design_dropzone.vue
...s/design_management/components/upload/design_dropzone.vue
+1
-1
app/assets/javascripts/design_management/graphql/fragments/design.fragment.graphql
...sign_management/graphql/fragments/design.fragment.graphql
+3
-3
app/assets/javascripts/design_management/graphql/fragments/design_list.fragment.graphql
...management/graphql/fragments/design_list.fragment.graphql
+0
-0
app/assets/javascripts/design_management/graphql/fragments/design_note.fragment.graphql
...management/graphql/fragments/design_note.fragment.graphql
+1
-1
app/assets/javascripts/design_management/graphql/fragments/diff_refs.fragment.graphql
...n_management/graphql/fragments/diff_refs.fragment.graphql
+0
-0
app/assets/javascripts/design_management/graphql/mutations/create_image_diff_note.mutation.graphql
...graphql/mutations/create_image_diff_note.mutation.graphql
+1
-1
app/assets/javascripts/design_management/graphql/mutations/create_note.mutation.graphql
...management/graphql/mutations/create_note.mutation.graphql
+1
-1
app/assets/javascripts/design_management/graphql/mutations/destroy_design.mutation.graphql
...agement/graphql/mutations/destroy_design.mutation.graphql
+0
-0
app/assets/javascripts/design_management/graphql/mutations/toggle_resolve_discussion.mutation.graphql
...phql/mutations/toggle_resolve_discussion.mutation.graphql
+1
-1
app/assets/javascripts/design_management/graphql/mutations/update_image_diff_note.mutation.graphql
...graphql/mutations/update_image_diff_note.mutation.graphql
+1
-1
app/assets/javascripts/design_management/graphql/mutations/update_note.mutation.graphql
...management/graphql/mutations/update_note.mutation.graphql
+1
-1
app/assets/javascripts/design_management/graphql/mutations/upload_design.mutation.graphql
...nagement/graphql/mutations/upload_design.mutation.graphql
+0
-0
app/assets/javascripts/design_management/graphql/queries/app_data.query.graphql
.../design_management/graphql/queries/app_data.query.graphql
+0
-0
app/assets/javascripts/design_management/graphql/queries/get_design.query.graphql
...esign_management/graphql/queries/get_design.query.graphql
+0
-0
app/assets/javascripts/design_management/graphql/queries/get_design_list.query.graphql
..._management/graphql/queries/get_design_list.query.graphql
+1
-1
app/assets/javascripts/design_management/mixins/all_versions.js
...sets/javascripts/design_management/mixins/all_versions.js
+1
-1
app/assets/javascripts/design_management/pages/design/index.vue
...sets/javascripts/design_management/pages/design/index.vue
+4
-4
app/assets/javascripts/design_management/pages/index.vue
app/assets/javascripts/design_management/pages/index.vue
+1
-1
spec/frontend/design_management/components/design_notes/design_discussion_spec.js
...agement/components/design_notes/design_discussion_spec.js
+1
-1
spec/frontend/design_management/pages/design/index_spec.js
spec/frontend/design_management/pages/design/index_spec.js
+1
-1
spec/frontend/design_management/pages/index_spec.js
spec/frontend/design_management/pages/index_spec.js
+1
-1
No files found.
app/assets/javascripts/design_management/components/design_destroyer.vue
View file @
0a0302b5
<
script
>
import
{
ApolloMutation
}
from
'
vue-apollo
'
;
import
getDesignListQuery
from
'
../graphql/queries/get_design_list.query.graphql
'
;
import
destroyDesignMutation
from
'
../graphql/mutations/destroy
D
esign.mutation.graphql
'
;
import
destroyDesignMutation
from
'
../graphql/mutations/destroy
_d
esign.mutation.graphql
'
;
import
{
updateStoreAfterDesignsDelete
}
from
'
../utils/cache_update
'
;
export
default
{
...
...
app/assets/javascripts/design_management/components/design_notes/design_discussion.vue
View file @
0a0302b5
...
...
@@ -5,9 +5,9 @@ import { s__ } from '~/locale';
import
ReplyPlaceholder
from
'
~/notes/components/discussion_reply_placeholder.vue
'
;
import
TimeAgoTooltip
from
'
~/vue_shared/components/time_ago_tooltip.vue
'
;
import
allVersionsMixin
from
'
../../mixins/all_versions
'
;
import
createNoteMutation
from
'
../../graphql/mutations/create
N
ote.mutation.graphql
'
;
import
createNoteMutation
from
'
../../graphql/mutations/create
_n
ote.mutation.graphql
'
;
import
toggleResolveDiscussionMutation
from
'
../../graphql/mutations/toggle_resolve_discussion.mutation.graphql
'
;
import
getDesignQuery
from
'
../../graphql/queries/get
D
esign.query.graphql
'
;
import
getDesignQuery
from
'
../../graphql/queries/get
_d
esign.query.graphql
'
;
import
activeDiscussionQuery
from
'
../../graphql/queries/active_discussion.query.graphql
'
;
import
DesignNote
from
'
./design_note.vue
'
;
import
DesignReplyForm
from
'
./design_reply_form.vue
'
;
...
...
app/assets/javascripts/design_management/components/toolbar/index.vue
View file @
0a0302b5
...
...
@@ -6,7 +6,7 @@ import timeagoMixin from '~/vue_shared/mixins/timeago';
import
Pagination
from
'
./pagination.vue
'
;
import
DeleteButton
from
'
../delete_button.vue
'
;
import
permissionsQuery
from
'
../../graphql/queries/design_permissions.query.graphql
'
;
import
appDataQuery
from
'
../../graphql/queries/app
D
ata.query.graphql
'
;
import
appDataQuery
from
'
../../graphql/queries/app
_d
ata.query.graphql
'
;
import
{
DESIGNS_ROUTE_NAME
}
from
'
../../router/constants
'
;
export
default
{
...
...
app/assets/javascripts/design_management/components/upload/design_dropzone.vue
View file @
0a0302b5
<
script
>
import
{
GlIcon
,
GlLink
,
GlSprintf
}
from
'
@gitlab/ui
'
;
import
createFlash
from
'
~/flash
'
;
import
uploadDesignMutation
from
'
../../graphql/mutations/upload
D
esign.mutation.graphql
'
;
import
uploadDesignMutation
from
'
../../graphql/mutations/upload
_d
esign.mutation.graphql
'
;
import
{
UPLOAD_DESIGN_INVALID_FILETYPE_ERROR
}
from
'
../../utils/error_messages
'
;
import
{
isValidDesignFile
}
from
'
../../utils/design_management_utils
'
;
import
{
VALID_DATA_TRANSFER_TYPE
,
VALID_DESIGN_FILE_MIMETYPE
}
from
'
../../constants
'
;
...
...
app/assets/javascripts/design_management/graphql/fragments/design.fragment.graphql
View file @
0a0302b5
#import "./design
N
ote.fragment.graphql"
#import "./design
L
ist.fragment.graphql"
#import "./diff
R
efs.fragment.graphql"
#import "./design
_n
ote.fragment.graphql"
#import "./design
_l
ist.fragment.graphql"
#import "./diff
_r
efs.fragment.graphql"
#import "./discussion_resolved_status.fragment.graphql"
fragment
DesignItem
on
Design
{
...
...
app/assets/javascripts/design_management/graphql/fragments/design
L
ist.fragment.graphql
→
app/assets/javascripts/design_management/graphql/fragments/design
_l
ist.fragment.graphql
View file @
0a0302b5
File moved
app/assets/javascripts/design_management/graphql/fragments/design
N
ote.fragment.graphql
→
app/assets/javascripts/design_management/graphql/fragments/design
_n
ote.fragment.graphql
View file @
0a0302b5
#import "./diff
R
efs.fragment.graphql"
#import "./diff
_r
efs.fragment.graphql"
#import "~/graphql_shared/fragments/author.fragment.graphql"
#import "./note_permissions.fragment.graphql"
...
...
app/assets/javascripts/design_management/graphql/fragments/diff
R
efs.fragment.graphql
→
app/assets/javascripts/design_management/graphql/fragments/diff
_r
efs.fragment.graphql
View file @
0a0302b5
File moved
app/assets/javascripts/design_management/graphql/mutations/create
ImageDiffN
ote.mutation.graphql
→
app/assets/javascripts/design_management/graphql/mutations/create
_image_diff_n
ote.mutation.graphql
View file @
0a0302b5
#import "../fragments/design
N
ote.fragment.graphql"
#import "../fragments/design
_n
ote.fragment.graphql"
mutation
createImageDiffNote
(
$input
:
CreateImageDiffNoteInput
!)
{
createImageDiffNote
(
input
:
$input
)
{
...
...
app/assets/javascripts/design_management/graphql/mutations/create
N
ote.mutation.graphql
→
app/assets/javascripts/design_management/graphql/mutations/create
_n
ote.mutation.graphql
View file @
0a0302b5
#import "../fragments/design
N
ote.fragment.graphql"
#import "../fragments/design
_n
ote.fragment.graphql"
mutation
createNote
(
$input
:
CreateNoteInput
!)
{
createNote
(
input
:
$input
)
{
...
...
app/assets/javascripts/design_management/graphql/mutations/destroy
D
esign.mutation.graphql
→
app/assets/javascripts/design_management/graphql/mutations/destroy
_d
esign.mutation.graphql
View file @
0a0302b5
File moved
app/assets/javascripts/design_management/graphql/mutations/toggle_resolve_discussion.mutation.graphql
View file @
0a0302b5
#import "../fragments/design
N
ote.fragment.graphql"
#import "../fragments/design
_n
ote.fragment.graphql"
#import "../fragments/discussion_resolved_status.fragment.graphql"
mutation
toggleResolveDiscussion
(
$id
:
ID
!,
$resolve
:
Boolean
!)
{
...
...
app/assets/javascripts/design_management/graphql/mutations/update
ImageDiffN
ote.mutation.graphql
→
app/assets/javascripts/design_management/graphql/mutations/update
_image_diff_n
ote.mutation.graphql
View file @
0a0302b5
#import "../fragments/design
N
ote.fragment.graphql"
#import "../fragments/design
_n
ote.fragment.graphql"
mutation
updateImageDiffNote
(
$input
:
UpdateImageDiffNoteInput
!)
{
updateImageDiffNote
(
input
:
$input
)
{
...
...
app/assets/javascripts/design_management/graphql/mutations/update_note.mutation.graphql
View file @
0a0302b5
#import "../fragments/design
N
ote.fragment.graphql"
#import "../fragments/design
_n
ote.fragment.graphql"
mutation
updateNote
(
$input
:
UpdateNoteInput
!)
{
updateNote
(
input
:
$input
)
{
...
...
app/assets/javascripts/design_management/graphql/mutations/upload
D
esign.mutation.graphql
→
app/assets/javascripts/design_management/graphql/mutations/upload
_d
esign.mutation.graphql
View file @
0a0302b5
File moved
app/assets/javascripts/design_management/graphql/queries/app
D
ata.query.graphql
→
app/assets/javascripts/design_management/graphql/queries/app
_d
ata.query.graphql
View file @
0a0302b5
File moved
app/assets/javascripts/design_management/graphql/queries/get
D
esign.query.graphql
→
app/assets/javascripts/design_management/graphql/queries/get
_d
esign.query.graphql
View file @
0a0302b5
File moved
app/assets/javascripts/design_management/graphql/queries/get_design_list.query.graphql
View file @
0a0302b5
#import "../fragments/design
L
ist.fragment.graphql"
#import "../fragments/design
_l
ist.fragment.graphql"
#import "../fragments/version.fragment.graphql"
query
getDesignList
(
$fullPath
:
ID
!,
$iid
:
String
!,
$atVersion
:
ID
)
{
...
...
app/assets/javascripts/design_management/mixins/all_versions.js
View file @
0a0302b5
import
getDesignListQuery
from
'
../graphql/queries/get_design_list.query.graphql
'
;
import
appDataQuery
from
'
../graphql/queries/app
D
ata.query.graphql
'
;
import
appDataQuery
from
'
../graphql/queries/app
_d
ata.query.graphql
'
;
import
{
findVersionId
}
from
'
../utils/design_management_utils
'
;
export
default
{
...
...
app/assets/javascripts/design_management/pages/design/index.vue
View file @
0a0302b5
...
...
@@ -11,10 +11,10 @@ import DesignScaler from '../../components/design_scaler.vue';
import
DesignPresentation
from
'
../../components/design_presentation.vue
'
;
import
DesignReplyForm
from
'
../../components/design_notes/design_reply_form.vue
'
;
import
DesignSidebar
from
'
../../components/design_sidebar.vue
'
;
import
getDesignQuery
from
'
../../graphql/queries/get
D
esign.query.graphql
'
;
import
appDataQuery
from
'
../../graphql/queries/app
D
ata.query.graphql
'
;
import
createImageDiffNoteMutation
from
'
../../graphql/mutations/create
ImageDiffN
ote.mutation.graphql
'
;
import
updateImageDiffNoteMutation
from
'
../../graphql/mutations/update
ImageDiffN
ote.mutation.graphql
'
;
import
getDesignQuery
from
'
../../graphql/queries/get
_d
esign.query.graphql
'
;
import
appDataQuery
from
'
../../graphql/queries/app
_d
ata.query.graphql
'
;
import
createImageDiffNoteMutation
from
'
../../graphql/mutations/create
_image_diff_n
ote.mutation.graphql
'
;
import
updateImageDiffNoteMutation
from
'
../../graphql/mutations/update
_image_diff_n
ote.mutation.graphql
'
;
import
updateActiveDiscussionMutation
from
'
../../graphql/mutations/update_active_discussion.mutation.graphql
'
;
import
{
extractDiscussions
,
...
...
app/assets/javascripts/design_management/pages/index.vue
View file @
0a0302b5
...
...
@@ -8,7 +8,7 @@ import Design from '../components/list/item.vue';
import
DesignDestroyer
from
'
../components/design_destroyer.vue
'
;
import
DesignVersionDropdown
from
'
../components/upload/design_version_dropdown.vue
'
;
import
DesignDropzone
from
'
../components/upload/design_dropzone.vue
'
;
import
uploadDesignMutation
from
'
../graphql/mutations/upload
D
esign.mutation.graphql
'
;
import
uploadDesignMutation
from
'
../graphql/mutations/upload
_d
esign.mutation.graphql
'
;
import
permissionsQuery
from
'
../graphql/queries/design_permissions.query.graphql
'
;
import
getDesignListQuery
from
'
../graphql/queries/get_design_list.query.graphql
'
;
import
allDesignsMixin
from
'
../mixins/all_designs
'
;
...
...
spec/frontend/design_management/components/design_notes/design_discussion_spec.js
View file @
0a0302b5
...
...
@@ -4,7 +4,7 @@ import notes from '../../mock_data/notes';
import
DesignDiscussion
from
'
~/design_management/components/design_notes/design_discussion.vue
'
;
import
DesignNote
from
'
~/design_management/components/design_notes/design_note.vue
'
;
import
DesignReplyForm
from
'
~/design_management/components/design_notes/design_reply_form.vue
'
;
import
createNoteMutation
from
'
~/design_management/graphql/mutations/create
N
ote.mutation.graphql
'
;
import
createNoteMutation
from
'
~/design_management/graphql/mutations/create
_n
ote.mutation.graphql
'
;
import
toggleResolveDiscussionMutation
from
'
~/design_management/graphql/mutations/toggle_resolve_discussion.mutation.graphql
'
;
import
ReplyPlaceholder
from
'
~/notes/components/discussion_reply_placeholder.vue
'
;
import
ToggleRepliesWidget
from
'
~/design_management/components/design_notes/toggle_replies_widget.vue
'
;
...
...
spec/frontend/design_management/pages/design/index_spec.js
View file @
0a0302b5
...
...
@@ -6,7 +6,7 @@ import createFlash from '~/flash';
import
DesignIndex
from
'
~/design_management/pages/design/index.vue
'
;
import
DesignSidebar
from
'
~/design_management/components/design_sidebar.vue
'
;
import
DesignPresentation
from
'
~/design_management/components/design_presentation.vue
'
;
import
createImageDiffNoteMutation
from
'
~/design_management/graphql/mutations/create
ImageDiffN
ote.mutation.graphql
'
;
import
createImageDiffNoteMutation
from
'
~/design_management/graphql/mutations/create
_image_diff_n
ote.mutation.graphql
'
;
import
design
from
'
../../mock_data/design
'
;
import
mockResponseWithDesigns
from
'
../../mock_data/designs
'
;
import
mockResponseNoDesigns
from
'
../../mock_data/no_designs
'
;
...
...
spec/frontend/design_management/pages/index_spec.js
View file @
0a0302b5
...
...
@@ -3,7 +3,7 @@ import { ApolloMutation } from 'vue-apollo';
import
VueRouter
from
'
vue-router
'
;
import
{
GlEmptyState
}
from
'
@gitlab/ui
'
;
import
Index
from
'
~/design_management/pages/index.vue
'
;
import
uploadDesignQuery
from
'
~/design_management/graphql/mutations/upload
D
esign.mutation.graphql
'
;
import
uploadDesignQuery
from
'
~/design_management/graphql/mutations/upload
_d
esign.mutation.graphql
'
;
import
DesignDestroyer
from
'
~/design_management/components/design_destroyer.vue
'
;
import
DesignDropzone
from
'
~/design_management/components/upload/design_dropzone.vue
'
;
import
DeleteButton
from
'
~/design_management/components/delete_button.vue
'
;
...
...
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