From eae3a55cc6b87bc8998d18d3d32d0d03013996b1 Mon Sep 17 00:00:00 2001 From: Csaba Tuncsik Date: Tue, 9 May 2023 18:41:38 +0200 Subject: [PATCH] fix(editor): Add loading skeletons to Executions list page (#6184) * fix(editor): Add loading skeletons to Executions list page * fix(editor): lint fix * fix(editor): fix loading * fix(editor): fix loading * fix(editor): fix keys * fix(editor): fix localization * fix(editor): fix key --- .../src/components/ExecutionFilter.vue | 50 +++++++++---------- .../src/components/ExecutionsList.vue | 41 ++++++++++++--- 2 files changed, 57 insertions(+), 34 deletions(-) diff --git a/packages/editor-ui/src/components/ExecutionFilter.vue b/packages/editor-ui/src/components/ExecutionFilter.vue index 312aa0eb64..7d0258ee83 100644 --- a/packages/editor-ui/src/components/ExecutionFilter.vue +++ b/packages/editor-ui/src/components/ExecutionFilter.vue @@ -162,26 +162,24 @@ onBeforeMount(() => { data-test-id="execution-filter-badge" >{{ countSelectedFilterProps }} - {{ $locale.baseText('executionsList.filters') }} + {{ locale.baseText('executionsList.filters') }}
- +
@@ -189,12 +187,10 @@ onBeforeMount(() => {
- + {
@@ -223,7 +219,7 @@ onBeforeMount(() => {
{ type="datetime" v-model="vModel.startDate" :format="DATE_TIME_MASK" - :placeholder="$locale.baseText('executionsFilter.startDate')" + :placeholder="locale.baseText('executionsFilter.startDate')" data-test-id="executions-filter-start-date-picker" /> to @@ -240,7 +236,7 @@ onBeforeMount(() => { type="datetime" v-model="vModel.endDate" :format="DATE_TIME_MASK" - :placeholder="$locale.baseText('executionsFilter.endDate')" + :placeholder="locale.baseText('executionsFilter.endDate')" data-test-id="executions-filter-end-date-picker" />
@@ -254,19 +250,19 @@ onBeforeMount(() => { target="_blank" href="https://docs.n8n.io/workflows/executions/custom-executions-data/" > - {{ $locale.baseText('executionsFilter.customData.docsTooltip.link') }} + {{ locale.baseText('executionsFilter.customData.docsTooltip.link') }} - {{ $locale.baseText('executionsFilter.savedData') }} + {{ locale.baseText('executionsFilter.savedData') }}
@@ -287,21 +283,21 @@ onBeforeMount(() => { type="text" size="medium" :disabled="!isAdvancedExecutionFilterEnabled" - :placeholder="$locale.baseText('executionsFilter.savedDataKeyPlaceholder')" + :placeholder="locale.baseText('executionsFilter.savedDataKeyPlaceholder')" :value="filter.metadata[0]?.key" @input="onFilterMetaChange(0, 'key', $event)" data-test-id="execution-filter-saved-data-key-input" />