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
bfd143b4
Commit
bfd143b4
authored
Oct 30, 2019
by
Sam Beckham
Committed by
Natalia Tepluhina
Oct 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds discussion to the optimistic design response
This prevents a warning from occouring when we upload a design
parent
0456a43b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
0 deletions
+13
-0
changelogs/unreleased/33306-missing-field-discussions.yml
changelogs/unreleased/33306-missing-field-discussions.yml
+5
-0
ee/app/assets/javascripts/design_management/pages/index.vue
ee/app/assets/javascripts/design_management/pages/index.vue
+4
-0
ee/spec/frontend/design_management/pages/index_spec.js
ee/spec/frontend/design_management/pages/index_spec.js
+4
-0
No files found.
changelogs/unreleased/33306-missing-field-discussions.yml
0 → 100644
View file @
bfd143b4
---
title
:
Prevents console warning on design upload
merge_request
:
19297
author
:
type
:
fixed
ee/app/assets/javascripts/design_management/pages/index.vue
View file @
bfd143b4
...
...
@@ -114,6 +114,10 @@ export default {
startSha
:
''
,
headSha
:
''
,
},
discussions
:
{
__typename
:
'
DesignDiscussion
'
,
edges
:
[],
},
versions
:
{
__typename
:
'
DesignVersionConnection
'
,
edges
:
{
...
...
ee/spec/frontend/design_management/pages/index_spec.js
View file @
bfd143b4
...
...
@@ -179,6 +179,10 @@ describe('Design management index page', () => {
startSha
:
''
,
headSha
:
''
,
},
discussions
:
{
__typename
:
'
DesignDiscussion
'
,
edges
:
[],
},
versions
:
{
__typename
:
'
DesignVersionConnection
'
,
edges
:
{
...
...
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