BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
3854d287
Commit
3854d287
authored
Apr 18, 2018
by
Felipe Artur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issues without links when added from boards new issue modal
parent
d8dd75ca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
list.js
app/assets/javascripts/boards/models/list.js
+2
-0
new_issue_spec.rb
spec/features/boards/new_issue_spec.rb
+7
-0
No files found.
app/assets/javascripts/boards/models/list.js
View file @
3854d287
...
...
@@ -113,6 +113,8 @@ class List {
issue
.
id
=
data
.
id
;
issue
.
iid
=
data
.
iid
;
issue
.
project
=
data
.
project
;
issue
.
path
=
data
.
real_path
;
issue
.
referencePath
=
data
.
reference_path
;
if
(
this
.
issuesSize
>
1
)
{
const
moveBeforeId
=
this
.
issues
[
1
].
id
;
...
...
spec/features/boards/new_issue_spec.rb
View file @
3854d287
...
...
@@ -63,6 +63,13 @@ describe 'Issue Boards new issue', :js do
page
.
within
(
first
(
'.board .issue-count-badge-count'
))
do
expect
(
page
).
to
have_content
(
'1'
)
end
page
.
within
(
first
(
'.card'
))
do
issue
=
project
.
issues
.
find_by_title
(
'bug'
)
expect
(
page
).
to
have_content
(
issue
.
to_reference
)
expect
(
page
).
to
have_link
(
issue
.
title
,
href:
issue_path
(
issue
))
end
end
it
'shows sidebar when creating new issue'
do
...
...
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