refactor(editor): Adjust empty state for large data when manual executions in workers (#12649)

This commit is contained in:
Iván Ovejero 2025-01-17 09:52:33 +01:00 committed by GitHub
parent 83ce3a9096
commit 7ae1483792
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 13 deletions

View file

@ -65,7 +65,6 @@ import { isEqual, isObject } from 'lodash-es';
import {
N8nBlockUi,
N8nButton,
N8nRoute,
N8nCallout,
N8nIconButton,
N8nInfoTip,
@ -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', {
@ -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">

View file

@ -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",