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
daec00a7
Commit
daec00a7
authored
Oct 07, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create new list dropdown stays open after new list
Closes #22852
parent
d165b684
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
0 deletions
+15
-0
CHANGELOG.md
CHANGELOG.md
+1
-0
app/assets/javascripts/boards/components/new_list_dropdown.js.es6
...ts/javascripts/boards/components/new_list_dropdown.js.es6
+1
-0
spec/features/boards/boards_spec.rb
spec/features/boards/boards_spec.rb
+13
-0
No files found.
CHANGELOG.md
View file @
daec00a7
...
...
@@ -17,6 +17,7 @@ Please view this file on the master branch, on stable branches it's out of date.
-
Refactor less readable existance checking code from CoffeeScript !6289 (jlogandavison)
-
Simpler arguments passed to named_route on toggle_award_url helper method
-
Fix typo in framework css class. !7086 (Daniel Voogsgerd)
-
New issue board list dropdown stays open after adding a new list
-
Fix: Backup restore doesn't clear cache
-
API: Fix project deploy keys 400 and 500 errors when adding an existing key. !6784 (Joshua Welsh)
-
Replace jquery.cookie plugin with js.cookie !7085
...
...
app/assets/javascripts/boards/components/new_list_dropdown.js.es6
View file @
daec00a7
...
...
@@ -33,6 +33,7 @@ $(() => {
},
filterable: true,
selectable: true,
multiSelect: true,
clicked (label, $el, e) {
e.preventDefault();
...
...
spec/features/boards/boards_spec.rb
View file @
daec00a7
...
...
@@ -347,6 +347,19 @@ describe 'Issue Boards', feature: true, js: true do
expect
(
page
).
to
have_selector
(
'.board'
,
count:
5
)
end
it
'keeps dropdown open after adding new list'
do
click_button
'Create new list'
wait_for_ajax
page
.
within
(
'.dropdown-menu-issues-board-new'
)
do
click_link
done
.
title
end
wait_for_vue_resource
expect
(
find
(
'.issue-boards-search'
)).
to
have_selector
(
'.open'
)
end
it
'moves issues from backlog into new list'
do
wait_for_board_cards
(
1
,
6
)
...
...
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