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
972ff79d
Commit
972ff79d
authored
Jan 07, 2020
by
Florie Guibert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update widget on click dropdown item when creating epic from epic
parent
5493702e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
1 deletion
+18
-1
app/assets/javascripts/vue_shared/components/split_button.vue
...assets/javascripts/vue_shared/components/split_button.vue
+4
-1
changelogs/unreleased/119341-automatically-update-widget-when-creating-a-new-epic-or-issue-from.yml
...-update-widget-when-creating-a-new-epic-or-issue-from.yml
+5
-0
ee/spec/features/epics/epic_issues_spec.rb
ee/spec/features/epics/epic_issues_spec.rb
+9
-0
No files found.
app/assets/javascripts/vue_shared/components/split_button.vue
View file @
972ff79d
...
...
@@ -67,7 +67,10 @@ export default {
:key=
"item.eventName"
:active=
"selectedItem === item"
active-class=
"is-active"
@
click=
"selectedItem = item"
@
click=
"
selectedItem = item;
triggerEvent();
"
>
<strong>
{{
item
.
title
}}
</strong>
<div>
{{
item
.
description
}}
</div>
...
...
changelogs/unreleased/119341-automatically-update-widget-when-creating-a-new-epic-or-issue-from.yml
0 → 100644
View file @
972ff79d
---
title
:
Update widget on click dropdown item when creating epic from epic
merge_request
:
22511
author
:
type
:
fixed
ee/spec/features/epics/epic_issues_spec.rb
View file @
972ff79d
...
...
@@ -98,6 +98,15 @@ describe 'Epic Issues', :js do
visit_epic
end
it
'user can display create new epic form by clicking the dropdown item'
do
expect
(
page
).
not_to
have_selector
(
'input[placeholder="New epic title"]'
)
find
(
'.related-items-tree-container .js-add-epics-button .dropdown-toggle'
).
click
find
(
'.related-items-tree-container .js-add-epics-button .dropdown-item'
,
text:
'Create new epic'
).
click
expect
(
page
).
to
have_selector
(
'input[placeholder="New epic title"]'
)
end
it
'user can see all issues of the group and delete the associations'
do
within
(
'.related-items-tree-container ul.related-items-list'
)
do
expect
(
page
).
to
have_selector
(
'li.js-item-type-issue'
,
count:
2
)
...
...
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