Skip to content

Commit

Permalink
refactor(editor): Adjust empty state for large data when manual execu…
Browse files Browse the repository at this point in the history
…tions in workers (#12649)
  • Loading branch information
ivov authored Jan 17, 2025
1 parent 83ce3a9 commit 7ae1483
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
10 changes: 0 additions & 10 deletions packages/editor-ui/src/components/RunData.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ import { isEqual, isObject } from 'lodash-es';
import {
N8nBlockUi,
N8nButton,
N8nRoute,
N8nCallout,
N8nIconButton,
N8nInfoTip,
Expand Down Expand Up @@ -1253,10 +1252,6 @@ function onSearchClear() {
document.dispatchEvent(new KeyboardEvent('keyup', { key: '/' }));
}
function onExecutionHistoryNavigate() {
ndvStore.setActiveNodeName(null);
}
function getExecutionLinkLabel(task: ITaskMetadata): string | undefined {
if (task.parentExecution) {
return i18n.baseText('runData.openParentExecution', {
Expand Down Expand Up @@ -1630,11 +1625,6 @@ defineExpose({ enterEditMode });
<N8nText>
{{ i18n.baseText('runData.trimmedData.message') }}
</N8nText>
<N8nButton size="small" @click="onExecutionHistoryNavigate">
<N8nRoute :to="`/workflow/${workflowsStore.workflowId}/executions`">
{{ i18n.baseText('runData.trimmedData.button') }}
</N8nRoute>
</N8nButton>
</div>

<div v-else-if="hasNodeRun && isArtificialRecoveredEventItem" :class="$style.center">
Expand Down
5 changes: 2 additions & 3 deletions packages/editor-ui/src/plugins/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1664,9 +1664,8 @@
"runData.aiContentBlock.tokens": "{count} Tokens",
"runData.aiContentBlock.tokens.prompt": "Prompt:",
"runData.aiContentBlock.tokens.completion": "Completion:",
"runData.trimmedData.title": "Data too large to display",
"runData.trimmedData.message": "Large amount of data will be loaded once the execution is finished.",
"runData.trimmedData.button": "See execution",
"runData.trimmedData.title": "Data not viewable yet",
"runData.trimmedData.message": "It will be available here once the execution has finished.",
"runData.trimmedData.loading": "Loading data",
"saveButton.save": "@:_reusableBaseText.save",
"saveButton.saved": "Saved",
Expand Down

0 comments on commit 7ae1483

Please sign in to comment.