From f83c6f1472b47b83b091a882c8f2898e1431b3bd Mon Sep 17 00:00:00 2001 From: Alik Rakhmonov Date: Thu, 19 Feb 2026 13:54:58 +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 d4134f5..ab0619b 100644 --- a/localization/en.json +++ b/localization/en.json @@ -161,5 +161,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 e830357..2e29186 100644 --- a/properties_pane/container_level/containerLevelConfig.json +++ b/properties_pane/container_level/containerLevelConfig.json @@ -149,7 +149,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] @@ -167,7 +168,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] @@ -185,7 +187,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] @@ -203,7 +206,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] @@ -221,7 +225,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] @@ -239,7 +244,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 2202d2f..7fe75e0 100644 --- a/properties_pane/entity_level/entityLevelConfig.json +++ b/properties_pane/entity_level/entityLevelConfig.json @@ -639,7 +639,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] @@ -657,7 +658,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 0acdf9e..d1c9948 100644 --- a/properties_pane/model_level/modelLevelConfig.json +++ b/properties_pane/model_level/modelLevelConfig.json @@ -233,7 +233,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] @@ -251,7 +252,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] @@ -269,7 +271,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] @@ -287,7 +290,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] @@ -305,7 +309,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] @@ -323,7 +328,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] @@ -341,7 +347,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] @@ -359,7 +366,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 9888287..b76fb3b 100644 --- a/properties_pane/view_level/viewLevelConfig.json +++ b/properties_pane/view_level/viewLevelConfig.json @@ -690,7 +690,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] @@ -708,7 +709,8 @@ making sure that you maintain a proper JSON format. "markdown": false, "template": "codeEditor", "templateOptions": { - "editorDialect": "sql" + "editorDialect": "sql", + "customScriptVariables": true } } ] From 9f38f42a761909e9add57865b18e249c5bd9d788 Mon Sep 17 00:00:00 2001 From: Alik Rakhmonov Date: Thu, 19 Feb 2026 14:07:27 +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 ab0619b..bea98c9 100644 --- a/localization/en.json +++ b/localization/en.json @@ -165,6 +165,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" }