From d574f549417fdf3a1885032ffee6276fc0548368 Mon Sep 17 00:00:00 2001 From: amansinghbais Date: Thu, 5 Dec 2024 11:43:56 +0530 Subject: [PATCH] Improved: UI of the misc jobs, enumDescription to be shown in the history modal (#734) --- src/components/JobHistoryModal.vue | 3 +- src/views/Miscellaneous.vue | 49 +++++++++++++++--------------- src/views/Orders.vue | 2 +- 3 files changed, 27 insertions(+), 27 deletions(-) diff --git a/src/components/JobHistoryModal.vue b/src/components/JobHistoryModal.vue index 016cf98c..b58aab58 100644 --- a/src/components/JobHistoryModal.vue +++ b/src/components/JobHistoryModal.vue @@ -6,7 +6,8 @@ - {{ currentJob?.enumName ? currentJob.enumName : currentJob?.jobName ? currentJob.jobName : currentJob?.description }} + {{ currentJob?.enumDescription ? currentJob.enumDescription : currentJob.jobName }} + {{ currentJob?.enumName ? currentJob.enumName : currentJob?.description }} diff --git a/src/views/Miscellaneous.vue b/src/views/Miscellaneous.vue index b35a4ff8..2c4cc11a 100644 --- a/src/views/Miscellaneous.vue +++ b/src/views/Miscellaneous.vue @@ -24,6 +24,30 @@
{{ translate("Miscellaneous jobs") }} + + + + {{ translate("Shopify bulk query") }} + + + + {{ translate("Send next bulk query system message in queue") }} + {{ isMaargJobFound('BLK_SYS_MESS_SHPFY') ? getMaargJobStatus("BLK_SYS_MESS_SHPFY") : translate("Not found") }} + + + {{ translate("Poll current bulk operation query result") }} + {{ isMaargJobFound('BLK_RSLT_SHPFY') ? getMaargJobStatus("BLK_RSLT_SHPFY") : translate("Not found") }} + + + {{ translate("Consume All Received System Messages") }} + {{ isMaargJobFound('ALL_RCVD_SYS_MSG') ? getMaargJobStatus("ALL_RCVD_SYS_MSG") : translate("Not found") }} + + + {{ translate("Send All Produced System Messages") }} + {{ isMaargJobFound('ALL_PRDCD_SYS_MSG') ? getMaargJobStatus("ALL_PRDCD_SYS_MSG") : translate("Not found") }} + + + {{ job.jobName }} {{ getJobRuntime(job) }} @@ -34,31 +58,6 @@
- -
- - - {{ translate("Shopify bulk query") }} - - - - {{ translate("Send next bulk query system message in queue") }} - {{ isMaargJobFound('BLK_SYS_MESS_SHPFY') ? getMaargJobStatus("BLK_SYS_MESS_SHPFY") : translate("Not found") }} - - - {{ translate("Poll current bulk operation query result") }} - {{ isMaargJobFound('BLK_RSLT_SHPFY') ? getMaargJobStatus("BLK_RSLT_SHPFY") : translate("Not found") }} - - - {{ translate("Consume All Received System Messages") }} - {{ isMaargJobFound('ALL_RCVD_SYS_MSG') ? getMaargJobStatus("ALL_RCVD_SYS_MSG") : translate("Not found") }} - - - {{ translate("Send All Produced System Messages") }} - {{ isMaargJobFound('ALL_PRDCD_SYS_MSG') ? getMaargJobStatus("ALL_PRDCD_SYS_MSG") : translate("Not found") }} - - -