Skip to content

Commit 1a50a90

Browse files
author
Vikas Agarwal
committed
fix: github#1172-Improve UX for Close Task button - added tooltip to the edit page mark complete button
1 parent a812514 commit 1a50a90

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/ChallengeEditor/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1418,7 +1418,9 @@ class ChallengeEditor extends Component {
14181418
</div>
14191419
{isTask && (
14201420
<div className={styles.button}>
1421-
<PrimaryButton text={'Mark Complete'} type={'success'} onClick={this.openCloseTaskConfirmation} />
1421+
<Tooltip content={MESSAGE.MARK_COMPLETE}>
1422+
<PrimaryButton text={'Mark Complete'} type={'success'} onClick={this.openCloseTaskConfirmation} />
1423+
</Tooltip>
14221424
</div>
14231425
)}
14241426
</div>}

0 commit comments

Comments
 (0)