diff --git a/packages/cli/src/modules/data-table/data-store-proxy.service.ts b/packages/cli/src/modules/data-table/data-store-proxy.service.ts index 0b1f40b161..aa3ad56324 100644 --- a/packages/cli/src/modules/data-table/data-store-proxy.service.ts +++ b/packages/cli/src/modules/data-table/data-store-proxy.service.ts @@ -36,7 +36,7 @@ export class DataStoreProxyService implements DataStoreProxyProvider { private validateRequest(node: INode) { if (node.type !== 'n8n-nodes-base.dataTable' && node.type !== 'n8n-nodes-base.dataTableTool') { - throw new Error('This proxy is only available for data table nodes'); + throw new Error('This proxy is only available for Data table nodes'); } } diff --git a/packages/cli/src/modules/data-table/data-table.module.ts b/packages/cli/src/modules/data-table/data-table.module.ts index db2dc0b05c..5148b45a29 100644 --- a/packages/cli/src/modules/data-table/data-table.module.ts +++ b/packages/cli/src/modules/data-table/data-table.module.ts @@ -5,7 +5,7 @@ import { Container } from '@n8n/di'; const YELLOW = '\x1b[33m'; const CLEAR = '\x1b[0m'; -const DATA_TABLE_WARNING_MESSAGE = `[Data Table] The data table module is experimental and subject to change. +const DATA_TABLE_WARNING_MESSAGE = `[Data table] The Data table module is experimental and subject to change. Any tables added before the official release may become inaccessible at any point. Use at your own risk.`; @BackendModule({ name: 'data-table' }) diff --git a/packages/frontend/@n8n/i18n/src/locales/en.json b/packages/frontend/@n8n/i18n/src/locales/en.json index b35271964b..d881140cae 100644 --- a/packages/frontend/@n8n/i18n/src/locales/en.json +++ b/packages/frontend/@n8n/i18n/src/locales/en.json @@ -2845,7 +2845,7 @@ "dataStore.dataStores": "Data tables", "dataStore.empty.label": "You don't have any data tables yet", "dataStore.empty.description": "Once you create data tables for your projects, they will appear here", - "dataStore.empty.button.label": "Create Data Table in \"{projectName}\"", + "dataStore.empty.button.label": "Create Data table in \"{projectName}\"", "dataStore.card.size": "{size}MB", "dataStore.card.column.count": "{count} column | {count} columns", "dataStore.card.row.count": "{count} record | {count} records", @@ -2855,13 +2855,13 @@ "dataStore.sort.nameDesc": "Sort by name (Z-A)", "dataStore.search.placeholder": "Search", "dataStore.error.fetching": "Error loading data tables", - "dataStore.add.title": "Create new data table", + "dataStore.add.title": "Create new Data table", "dataStore.add.description": "Set up a new data table to organize and manage your data.", - "dataStore.add.button.label": "Create Data Table", - "dataStore.add.input.name.label": "Data Table Name", + "dataStore.add.button.label": "Create Data table", + "dataStore.add.input.name.label": "Data table name", "dataStore.add.input.name.placeholder": "Enter data table name", "dataStore.add.error": "Error creating data table", - "dataStore.delete.confirm.title": "Delete data table", + "dataStore.delete.confirm.title": "Delete Data table", "dataStore.delete.confirm.message": "Are you sure you want to delete the data table \"{name}\"? This action cannot be undone.", "dataStore.delete.error": "Error deleting data table", "dataStore.rename.error": "Error renaming data table", diff --git a/packages/frontend/editor-ui/src/stores/ui.store.ts b/packages/frontend/editor-ui/src/stores/ui.store.ts index 210876d308..1fcf93397b 100644 --- a/packages/frontend/editor-ui/src/stores/ui.store.ts +++ b/packages/frontend/editor-ui/src/stores/ui.store.ts @@ -253,7 +253,7 @@ export const useUIStore = defineStore(STORES.UI, () => { * @example * uiStore.registerCustomTabs('overview', 'data-table', [ * { - * label: 'Data Table', + * label: 'Data table', * value: 'data-table', * to: { name: 'data-table' }, * }, diff --git a/packages/nodes-base/nodes/DataTable/DataTable.node.json b/packages/nodes-base/nodes/DataTable/DataTable.node.json index fb10dd1b92..9fd7d69b30 100644 --- a/packages/nodes-base/nodes/DataTable/DataTable.node.json +++ b/packages/nodes-base/nodes/DataTable/DataTable.node.json @@ -2,7 +2,7 @@ "node": "n8n-nodes-base.dataTable", "nodeVersion": "1.0", "codexVersion": "1.0", - "details": "Data Table", + "details": "Data table", "categories": ["Core Nodes", "Development"], "resources": { "primaryDocumentation": [ diff --git a/packages/nodes-base/nodes/DataTable/DataTable.node.ts b/packages/nodes-base/nodes/DataTable/DataTable.node.ts index 9a6d006e46..40ccfbe384 100644 --- a/packages/nodes-base/nodes/DataTable/DataTable.node.ts +++ b/packages/nodes-base/nodes/DataTable/DataTable.node.ts @@ -12,7 +12,7 @@ import { export class DataTable implements INodeType { description: INodeTypeDescription = { - displayName: 'Data Table', + displayName: 'Data table', name: 'dataTable', icon: 'fa:table', iconColor: 'orange-red', @@ -21,7 +21,7 @@ export class DataTable implements INodeType { subtitle: '={{$parameter["action"]}}', description: 'Permanently save data across workflow executions in a table', defaults: { - name: 'Data Table', + name: 'Data table', }, usableAsTool: true, // We have custom logic in the frontend to ignore `hidden` for this diff --git a/packages/nodes-base/nodes/DataTable/actions/row/Row.resource.ts b/packages/nodes-base/nodes/DataTable/actions/row/Row.resource.ts index 04cd4dfd53..1cbe79882f 100644 --- a/packages/nodes-base/nodes/DataTable/actions/row/Row.resource.ts +++ b/packages/nodes-base/nodes/DataTable/actions/row/Row.resource.ts @@ -55,7 +55,8 @@ export const description: INodeProperties[] = [ default: 'insert', }, { - displayName: 'Data Table', + // eslint-disable-next-line n8n-nodes-base/node-param-display-name-miscased + displayName: 'Data table', name: DATA_TABLE_ID_FIELD, type: 'resourceLocator', default: { mode: 'list', value: '' }, diff --git a/packages/nodes-base/nodes/DataTable/common/addRow.ts b/packages/nodes-base/nodes/DataTable/common/addRow.ts index b4a1bc05b1..6260e4610b 100644 --- a/packages/nodes-base/nodes/DataTable/common/addRow.ts +++ b/packages/nodes-base/nodes/DataTable/common/addRow.ts @@ -46,8 +46,8 @@ export function getAddRow(ctx: IExecuteFunctions, index: number) { if (dataMode === 'autoMapInputData') { data = { ...items[index].json }; - // We automatically remove our system columns for better UX when feeding Data Table outputs - // into another Data Table node + // We automatically remove our system columns for better UX when feeding data table outputs + // into another data table node for (const systemColumn of DATA_TABLE_SYSTEM_COLUMNS) { delete data[systemColumn]; } diff --git a/packages/nodes-base/nodes/DataTable/common/utils.ts b/packages/nodes-base/nodes/DataTable/common/utils.ts index 609933c589..8b67d63450 100644 --- a/packages/nodes-base/nodes/DataTable/common/utils.ts +++ b/packages/nodes-base/nodes/DataTable/common/utils.ts @@ -32,7 +32,7 @@ export async function getDataTableProxyExecute( if (ctx.helpers.getDataStoreProxy === undefined) throw new NodeOperationError( ctx.getNode(), - 'Attempted to use Data Table node but the module is disabled', + 'Attempted to use Data table node but the module is disabled', ); const dataStoreId = ctx.getNodeParameter(DATA_TABLE_ID_FIELD, index, undefined, { @@ -48,7 +48,7 @@ export async function getDataTableProxyLoadOptions( if (ctx.helpers.getDataStoreProxy === undefined) throw new NodeOperationError( ctx.getNode(), - 'Attempted to use Data Table node but the module is disabled', + 'Attempted to use Data table node but the module is disabled', ); const dataStoreId = ctx.getNodeParameter(DATA_TABLE_ID_FIELD, undefined, { @@ -64,7 +64,7 @@ export async function getDataTableAggregateProxy( if (ctx.helpers.getDataStoreAggregateProxy === undefined) throw new NodeOperationError( ctx.getNode(), - 'Attempted to use Data Table node but the module is disabled', + 'Attempted to use Data table node but the module is disabled', ); return await ctx.helpers.getDataStoreAggregateProxy();