From 0e0b812c00246451e98f04870f7d5c3f395d45ea Mon Sep 17 00:00:00 2001 From: Julia Miocene Date: Wed, 17 Jul 2024 14:49:17 +0200 Subject: [PATCH] Migrate task-done icon to todo-done --- app/assets/javascripts/notes/constants.js | 2 +- app/assets/javascripts/work_items_hierarchy/constants.js | 2 +- app/helpers/system_note_helper.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/notes/constants.js b/app/assets/javascripts/notes/constants.js index 282bf93a5741c4..10ed44ecbdf56b 100644 --- a/app/assets/javascripts/notes/constants.js +++ b/app/assets/javascripts/notes/constants.js @@ -98,7 +98,7 @@ export const MR_FILTER_OPTIONS = [ { text: __('Edits'), value: 'edits', - systemNoteIcons: ['pencil', 'task-done'], + systemNoteIcons: ['pencil', 'todo-done'], }, { text: __('Labels'), diff --git a/app/assets/javascripts/work_items_hierarchy/constants.js b/app/assets/javascripts/work_items_hierarchy/constants.js index c14fe67af4dec0..b4dcd2fd24b380 100644 --- a/app/assets/javascripts/work_items_hierarchy/constants.js +++ b/app/assets/javascripts/work_items_hierarchy/constants.js @@ -28,7 +28,7 @@ export const workItemTypes = { }, TASK: { title: __('Task'), - icon: 'task-done', + icon: 'todo-done', color: '#217645', backgroundColor: '#C3E6CD', isWorkItem: true, diff --git a/app/helpers/system_note_helper.rb b/app/helpers/system_note_helper.rb index 1b06283571bcff..d0b1b49812e151 100644 --- a/app/helpers/system_note_helper.rb +++ b/app/helpers/system_note_helper.rb @@ -15,7 +15,7 @@ module SystemNoteHelper 'assignee' => 'user', 'reviewer' => 'user', 'title' => 'pencil', - 'task' => 'task-done', + 'task' => 'todo-done', 'label' => 'label', 'cross_reference' => 'comment-dots', 'branch' => 'fork', -- GitLab