Commit 46d41029 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'epic-detail-view-deprecated-button' into 'master'

Replace deprecated buttons on epic detail view

See merge request gitlab-org/gitlab!58152
parents 7690f878 73b5a192
...@@ -412,7 +412,7 @@ export default { ...@@ -412,7 +412,7 @@ export default {
:text="commentButtonTitle" :text="commentButtonTitle"
class="gl-mr-3 js-comment-button js-comment-submit-button comment-type-dropdown" class="gl-mr-3 js-comment-button js-comment-submit-button comment-type-dropdown"
category="primary" category="primary"
variant="success" variant="confirm"
:disabled="disableSubmitButton" :disabled="disableSubmitButton"
data-testid="comment-button" data-testid="comment-button"
data-qa-selector="comment_button" data-qa-selector="comment_button"
......
...@@ -121,7 +121,7 @@ export default { ...@@ -121,7 +121,7 @@ export default {
</gl-button> </gl-button>
<gl-button <gl-button
category="secondary" category="secondary"
variant="warning" variant="confirm"
:disabled="loading" :disabled="loading"
:loading="loading" :loading="loading"
data-testid="confidential-toggle" data-testid="confidential-toggle"
......
---
title: Replace deprecated buttons on epic detail view
merge_request: 58152
author:
type: changed
...@@ -127,7 +127,7 @@ export default { ...@@ -127,7 +127,7 @@ export default {
:loading="epicStatusChangeInProgress" :loading="epicStatusChangeInProgress"
:class="actionButtonClass" :class="actionButtonClass"
category="secondary" category="secondary"
variant="warning" variant="default"
class="gl-mt-3 gl-sm-mt-0! gl-w-full gl-sm-w-auto!" class="gl-mt-3 gl-sm-mt-0! gl-w-full gl-sm-w-auto!"
data-qa-selector="close_reopen_epic_button" data-qa-selector="close_reopen_epic_button"
data-testid="toggle-status-button" data-testid="toggle-status-button"
...@@ -139,7 +139,7 @@ export default { ...@@ -139,7 +139,7 @@ export default {
v-if="canCreate" v-if="canCreate"
:href="newEpicWebUrl" :href="newEpicWebUrl"
category="secondary" category="secondary"
variant="success" variant="confirm"
class="gl-mt-3 gl-sm-mt-0! gl-sm-ml-3 gl-w-full gl-sm-w-auto!" class="gl-mt-3 gl-sm-mt-0! gl-sm-ml-3 gl-w-full gl-sm-w-auto!"
data-testid="new-epic-button" data-testid="new-epic-button"
> >
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment