mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
refactor(editor): Adjust empty state for large data when manual executions in workers (#12649)
This commit is contained in:
parent
83ce3a9096
commit
7ae1483792
|
@ -65,7 +65,6 @@ import { isEqual, isObject } from 'lodash-es';
|
||||||
import {
|
import {
|
||||||
N8nBlockUi,
|
N8nBlockUi,
|
||||||
N8nButton,
|
N8nButton,
|
||||||
N8nRoute,
|
|
||||||
N8nCallout,
|
N8nCallout,
|
||||||
N8nIconButton,
|
N8nIconButton,
|
||||||
N8nInfoTip,
|
N8nInfoTip,
|
||||||
|
@ -1253,10 +1252,6 @@ function onSearchClear() {
|
||||||
document.dispatchEvent(new KeyboardEvent('keyup', { key: '/' }));
|
document.dispatchEvent(new KeyboardEvent('keyup', { key: '/' }));
|
||||||
}
|
}
|
||||||
|
|
||||||
function onExecutionHistoryNavigate() {
|
|
||||||
ndvStore.setActiveNodeName(null);
|
|
||||||
}
|
|
||||||
|
|
||||||
function getExecutionLinkLabel(task: ITaskMetadata): string | undefined {
|
function getExecutionLinkLabel(task: ITaskMetadata): string | undefined {
|
||||||
if (task.parentExecution) {
|
if (task.parentExecution) {
|
||||||
return i18n.baseText('runData.openParentExecution', {
|
return i18n.baseText('runData.openParentExecution', {
|
||||||
|
@ -1630,11 +1625,6 @@ defineExpose({ enterEditMode });
|
||||||
<N8nText>
|
<N8nText>
|
||||||
{{ i18n.baseText('runData.trimmedData.message') }}
|
{{ i18n.baseText('runData.trimmedData.message') }}
|
||||||
</N8nText>
|
</N8nText>
|
||||||
<N8nButton size="small" @click="onExecutionHistoryNavigate">
|
|
||||||
<N8nRoute :to="`/workflow/${workflowsStore.workflowId}/executions`">
|
|
||||||
{{ i18n.baseText('runData.trimmedData.button') }}
|
|
||||||
</N8nRoute>
|
|
||||||
</N8nButton>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-else-if="hasNodeRun && isArtificialRecoveredEventItem" :class="$style.center">
|
<div v-else-if="hasNodeRun && isArtificialRecoveredEventItem" :class="$style.center">
|
||||||
|
|
|
@ -1664,9 +1664,8 @@
|
||||||
"runData.aiContentBlock.tokens": "{count} Tokens",
|
"runData.aiContentBlock.tokens": "{count} Tokens",
|
||||||
"runData.aiContentBlock.tokens.prompt": "Prompt:",
|
"runData.aiContentBlock.tokens.prompt": "Prompt:",
|
||||||
"runData.aiContentBlock.tokens.completion": "Completion:",
|
"runData.aiContentBlock.tokens.completion": "Completion:",
|
||||||
"runData.trimmedData.title": "Data too large to display",
|
"runData.trimmedData.title": "Data not viewable yet",
|
||||||
"runData.trimmedData.message": "Large amount of data will be loaded once the execution is finished.",
|
"runData.trimmedData.message": "It will be available here once the execution has finished.",
|
||||||
"runData.trimmedData.button": "See execution",
|
|
||||||
"runData.trimmedData.loading": "Loading data",
|
"runData.trimmedData.loading": "Loading data",
|
||||||
"saveButton.save": "@:_reusableBaseText.save",
|
"saveButton.save": "@:_reusableBaseText.save",
|
||||||
"saveButton.saved": "Saved",
|
"saveButton.saved": "Saved",
|
||||||
|
|
Loading…
Reference in a new issue