From e2620225a68da994da3d554ff38ccdce8fcd5467 Mon Sep 17 00:00:00 2001 From: Deborah Date: Thu, 4 Aug 2022 13:57:19 +0100 Subject: [PATCH] docs(editor): Update docs urls to reflect content split (#3784) --- packages/editor-ui/src/components/RunData.vue | 6 +++++- packages/editor-ui/src/constants.ts | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/editor-ui/src/components/RunData.vue b/packages/editor-ui/src/components/RunData.vue index 0c682876d5..eca03c04a5 100644 --- a/packages/editor-ui/src/components/RunData.vue +++ b/packages/editor-ui/src/components/RunData.vue @@ -179,7 +179,7 @@
{{ $locale.baseText('runData.editor.copyDataInfo') }} - + {{ $locale.baseText('generic.learnMore') }} @@ -356,6 +356,7 @@ import { import { DATA_PINNING_DOCS_URL, + DATA_EDITING_DOCS_URL, LOCAL_STORAGE_PIN_DATA_DISCOVERY_NDV_FLAG, LOCAL_STORAGE_PIN_DATA_DISCOVERY_CANVAS_FLAG, MAX_DISPLAY_DATA_SIZE, @@ -499,6 +500,9 @@ export default mixins( dataPinningDocsUrl(): string { return DATA_PINNING_DOCS_URL; }, + dataEditingDocsUrl(): string{ + return DATA_EDITING_DOCS_URL; + }, displayMode(): IRunDataDisplayMode { return this.$store.getters['ui/getPanelDisplayMode'](this.paneType); }, diff --git a/packages/editor-ui/src/constants.ts b/packages/editor-ui/src/constants.ts index eaac4b0f0e..ef7d63f622 100644 --- a/packages/editor-ui/src/constants.ts +++ b/packages/editor-ui/src/constants.ts @@ -57,6 +57,7 @@ export const BREAKPOINT_XL = 1920; export const N8N_IO_BASE_URL = `https://api.n8n.io/api/`; export const DATA_PINNING_DOCS_URL = 'https://docs.n8n.io/data/data-pinning/'; +export const DATA_EDITING_DOCS_URL = 'https://docs.n8n.io/data/data-editing/'; export const NPM_COMMUNITY_NODE_SEARCH_API_URL = `https://api.npms.io/v2/`; export const NPM_PACKAGE_DOCS_BASE_URL = `https://www.npmjs.com/package/`; export const NPM_KEYWORD_SEARCH_URL = `https://www.npmjs.com/search?q=keywords%3An8n-community-node-package`;