From 5e7543fcf441afb30aba6188edac754ef32b9ac3 Mon Sep 17 00:00:00 2001 From: Hester Gong Date: Wed, 19 Apr 2023 13:42:53 +0800 Subject: Use same action status svg icons on actions list as on action page (#24178) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Close #24020 After: These icons are the same now: 截屏2023-04-18 13 52 11 截屏2023-04-18 13 54 48 In this PR, didn't use `ActionRunStatus.vue` because the mounting of the component will cause flash of the icons like below: https://user-images.githubusercontent.com/17645053/232682646-713202dc-9023-4b9c-a849-c3a1ae6dd155.mov Instead, modified and used `status.tmpl` to make it the same as `ActionRunStatus.vue` to avoid the ui flash (Welcomed to show how to use `ActionRunStatus.vue` without flashing if there is a way). Added comments to both of them for reminding synchronization of these two files. --------- Co-authored-by: Jason Song --- web_src/js/components/ActionRunStatus.vue | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'web_src') diff --git a/web_src/js/components/ActionRunStatus.vue b/web_src/js/components/ActionRunStatus.vue index b72dfb1aa6..8a96eb5f01 100644 --- a/web_src/js/components/ActionRunStatus.vue +++ b/web_src/js/components/ActionRunStatus.vue @@ -1,10 +1,13 @@ +