mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
fix(editor): Standardize capitalization of "Data table" across various files (no-changelog) (#19111)
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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' })
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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' },
|
||||
* },
|
||||
|
||||
@@ -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": [
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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: '' },
|
||||
|
||||
@@ -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];
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user