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
0b6a344d
Commit
0b6a344d
authored
Mar 29, 2021
by
Taurie Davis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace deprecated buttons on board view
parent
c84d9415
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
3 deletions
+8
-3
app/assets/javascripts/boards/components/board_form.vue
app/assets/javascripts/boards/components/board_form.vue
+1
-1
changelogs/unreleased/board-view-deprecated-button.yml
changelogs/unreleased/board-view-deprecated-button.yml
+5
-0
ee/app/assets/javascripts/boards/components/epics_swimlanes.vue
.../assets/javascripts/boards/components/epics_swimlanes.vue
+1
-1
spec/frontend/boards/components/board_form_spec.js
spec/frontend/boards/components/board_form_spec.js
+1
-1
No files found.
app/assets/javascripts/boards/components/board_form.vue
View file @
0b6a344d
...
...
@@ -127,7 +127,7 @@ export default {
if
(
this
.
isDeleteForm
)
{
return
'
danger
'
;
}
return
'
info
'
;
return
'
confirm
'
;
},
title
()
{
if
(
this
.
readonly
)
{
...
...
changelogs/unreleased/board-view-deprecated-button.yml
0 → 100644
View file @
0b6a344d
---
title
:
Replace deprecated buttons on board view
merge_request
:
58153
author
:
type
:
changed
ee/app/assets/javascripts/boards/components/epics_swimlanes.vue
View file @
0b6a344d
...
...
@@ -237,7 +237,7 @@ export default {
>
<gl-button
category=
"tertiary"
variant=
"
info
"
variant=
"
confirm
"
class=
"gl-w-full"
@
click=
"fetchMoreUnassignedIssues()"
>
...
...
spec/frontend/boards/components/board_form_spec.js
View file @
0b6a344d
...
...
@@ -226,7 +226,7 @@ describe('BoardForm', () => {
it
(
'
passes correct primary action text and variant
'
,
()
=>
{
expect
(
findModalActionPrimary
().
text
).
toBe
(
'
Save changes
'
);
expect
(
findModalActionPrimary
().
attributes
[
0
].
variant
).
toBe
(
'
info
'
);
expect
(
findModalActionPrimary
().
attributes
[
0
].
variant
).
toBe
(
'
confirm
'
);
});
it
(
'
does not render delete confirmation message
'
,
()
=>
{
...
...
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