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
0
Merge Requests
0
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
Tatuya Kamada
gitlab-ce
Commits
3f769e78
Commit
3f769e78
authored
Aug 10, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increased scrolling speed when dragging issue
Fixed failing tests
parent
94673392
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
app/assets/javascripts/boards/mixins/sortable_default_options.js.es6
...javascripts/boards/mixins/sortable_default_options.js.es6
+1
-1
spec/features/boards/boards_spec.rb
spec/features/boards/boards_spec.rb
+1
-6
No files found.
app/assets/javascripts/boards/mixins/sortable_default_options.js.es6
View file @
3f769e78
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
ghostClass: 'is-ghost',
ghostClass: 'is-ghost',
filter: '.has-tooltip',
filter: '.has-tooltip',
scrollSensitivity: 100,
scrollSensitivity: 100,
scrollSpeed:
1
0,
scrollSpeed:
2
0,
onStart: function () {
onStart: function () {
document.body.classList.add('is-dragging');
document.body.classList.add('is-dragging');
},
},
...
...
spec/features/boards/boards_spec.rb
View file @
3f769e78
...
@@ -22,7 +22,7 @@ describe 'Issue Boards', feature: true, js: true do
...
@@ -22,7 +22,7 @@ describe 'Issue Boards', feature: true, js: true do
expect
(
page
).
to
have_content
(
'Welcome to your Issue Board!'
)
expect
(
page
).
to
have_content
(
'Welcome to your Issue Board!'
)
end
end
it
'hides the blank state when clicking nermind button'
do
it
'hides the blank state when clicking ne
ve
rmind button'
do
page
.
within
(
'.board-blank-state'
)
do
page
.
within
(
'.board-blank-state'
)
do
click_button
(
'Nevermind, I\'ll use my own'
)
click_button
(
'Nevermind, I\'ll use my own'
)
end
end
...
@@ -158,10 +158,6 @@ describe 'Issue Boards', feature: true, js: true do
...
@@ -158,10 +158,6 @@ describe 'Issue Boards', feature: true, js: true do
page
.
within
(
all
(
'.board'
)[
1
])
do
page
.
within
(
all
(
'.board'
)[
1
])
do
expect
(
page
.
find
(
'.board-header'
)).
to
have_content
(
'3'
)
expect
(
page
.
find
(
'.board-header'
)).
to
have_content
(
'3'
)
expect
(
page
).
to
have_selector
(
'.card'
,
count:
3
)
expect
(
page
).
to
have_selector
(
'.card'
,
count:
3
)
all
(
'.card'
).
each
do
|
card
|
expect
(
card
.
all
(
'.label'
).
last
).
to
have_content
(
planning
.
title
)
end
end
end
end
end
end
end
...
@@ -220,7 +216,6 @@ describe 'Issue Boards', feature: true, js: true do
...
@@ -220,7 +216,6 @@ describe 'Issue Boards', feature: true, js: true do
expect
(
all
(
'.board'
)[
1
]).
to
have_selector
(
'.card'
,
count:
3
)
expect
(
all
(
'.board'
)[
1
]).
to
have_selector
(
'.card'
,
count:
3
)
expect
(
all
(
'.board'
)[
1
]).
to
have_content
(
issue8
.
title
)
expect
(
all
(
'.board'
)[
1
]).
to
have_content
(
issue8
.
title
)
expect
(
all
(
'.board'
)[
1
].
all
(
'.card'
).
first
).
to
have_content
(
planning
.
title
)
end
end
context
'issue card'
do
context
'issue card'
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