From 89977f8ef447beb8221a740b0f8a1d3719228f4f Mon Sep 17 00:00:00 2001 From: Alik Rakhmonov Date: Thu, 19 Feb 2026 13:54:55 +0100 Subject: [PATCH 1/2] HCK-14898: Add hint with custom script variables to the Script modal window --- localization/en.json | 7 +++++- .../container_level/containerLevelConfig.json | 18 +++++++++----- .../entity_level/entityLevelConfig.json | 6 +++-- .../model_level/modelLevelConfig.json | 24 ++++++++++++------- .../view_level/viewLevelConfig.json | 6 +++-- 5 files changed, 42 insertions(+), 19 deletions(-) diff --git a/localization/en.json b/localization/en.json index 9e856c3..e530842 100644 --- a/localization/en.json +++ b/localization/en.json @@ -159,5 +159,10 @@ "MODAL_WINDOW___OPTIONS_DISPLAY_ERD_V_ENTITY_BOX_CONTENT": "Display of table box content", "MODAL_WINDOW___OPTIONS_DISPLAY_ERD_V_FIELDS": "Columns", "MODAL_WINDOW___OPTIONS_DISPLAY_REQUIRED_ATTRIBUTES": "Required columns", - "MODAL_WINDOW___OPTIONS_DISPLAY_NULLABLE_ATTRIBUTES": "Nullable columns" + "MODAL_WINDOW___OPTIONS_DISPLAY_NULLABLE_ATTRIBUTES": "Nullable columns", + + "CUSTOM_SCRIPT_CONTAINER_VAR_NAME": "Schema name", + "CUSTOM_SCRIPT_CONTAINER_VAR": "schemaName", + "CUSTOM_SCRIPT_TABLE_VAR_NAME": "Table name", + "CUSTOM_SCRIPT_TABLE_VAR": "tableName" } diff --git a/properties_pane/container_level/containerLevelConfig.json b/properties_pane/container_level/containerLevelConfig.json index 62225aa..c1139a3 100644 --- a/properties_pane/container_level/containerLevelConfig.json +++ b/properties_pane/container_level/containerLevelConfig.json @@ -162,7 +162,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] @@ -180,7 +181,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] @@ -198,7 +200,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] @@ -216,7 +219,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] @@ -234,7 +238,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] @@ -252,7 +257,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] diff --git a/properties_pane/entity_level/entityLevelConfig.json b/properties_pane/entity_level/entityLevelConfig.json index 8a6c2ea..c7f75ed 100644 --- a/properties_pane/entity_level/entityLevelConfig.json +++ b/properties_pane/entity_level/entityLevelConfig.json @@ -886,7 +886,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] @@ -904,7 +905,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] diff --git a/properties_pane/model_level/modelLevelConfig.json b/properties_pane/model_level/modelLevelConfig.json index 3e2d5d1..f2e9f82 100644 --- a/properties_pane/model_level/modelLevelConfig.json +++ b/properties_pane/model_level/modelLevelConfig.json @@ -202,7 +202,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] @@ -220,7 +221,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] @@ -238,7 +240,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] @@ -256,7 +259,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] @@ -274,7 +278,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] @@ -292,7 +297,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] @@ -310,7 +316,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] @@ -328,7 +335,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] diff --git a/properties_pane/view_level/viewLevelConfig.json b/properties_pane/view_level/viewLevelConfig.json index f6e2d8a..a52c6a2 100644 --- a/properties_pane/view_level/viewLevelConfig.json +++ b/properties_pane/view_level/viewLevelConfig.json @@ -680,7 +680,8 @@ "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] @@ -698,7 +699,8 @@ "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] From f9ce86310e50a8ed0b6dde3eacef32dadb47fa2c Mon Sep 17 00:00:00 2001 From: Alik Rakhmonov Date: Thu, 19 Feb 2026 14:06:45 +0100 Subject: [PATCH 2/2] fix --- localization/en.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/localization/en.json b/localization/en.json index e530842..60c93f7 100644 --- a/localization/en.json +++ b/localization/en.json @@ -163,6 +163,6 @@ "CUSTOM_SCRIPT_CONTAINER_VAR_NAME": "Schema name", "CUSTOM_SCRIPT_CONTAINER_VAR": "schemaName", - "CUSTOM_SCRIPT_TABLE_VAR_NAME": "Table name", - "CUSTOM_SCRIPT_TABLE_VAR": "tableName" + "CUSTOM_SCRIPT_ENTITY_VAR_NAME": "Table name", + "CUSTOM_SCRIPT_ENTITY_VAR": "tableName" }