Skip to content

Commit 91a0799

Browse files
HCK-14898: Add hint with custom script variables to the Script modal (#188)
* HCK-14898: Add hint with custom script variables to the Script modal window * fix
1 parent a3e0af5 commit 91a0799

5 files changed

Lines changed: 42 additions & 19 deletions

File tree

localization/en.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,5 +161,10 @@
161161
"MODAL_WINDOW___OPTIONS_DISPLAY_ERD_V_ENTITY_BOX_CONTENT": "Display of table box content",
162162
"MODAL_WINDOW___OPTIONS_DISPLAY_ERD_V_FIELDS": "Columns",
163163
"MODAL_WINDOW___OPTIONS_DISPLAY_REQUIRED_ATTRIBUTES": "Required columns",
164-
"MODAL_WINDOW___OPTIONS_DISPLAY_NULLABLE_ATTRIBUTES": "Nullable columns"
164+
"MODAL_WINDOW___OPTIONS_DISPLAY_NULLABLE_ATTRIBUTES": "Nullable columns",
165+
166+
"CUSTOM_SCRIPT_CONTAINER_VAR_NAME": "Schema name",
167+
"CUSTOM_SCRIPT_CONTAINER_VAR": "schemaName",
168+
"CUSTOM_SCRIPT_ENTITY_VAR_NAME": "Table name",
169+
"CUSTOM_SCRIPT_ENTITY_VAR": "tableName"
165170
}

properties_pane/container_level/containerLevelConfig.json

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ making sure that you maintain a proper JSON format.
149149
"markdown": false,
150150
"template": "codeEditor",
151151
"templateOptions": {
152-
"editorDialect": "sql"
152+
"editorDialect": "sql",
153+
"customScriptVariables": true
153154
}
154155
}
155156
]
@@ -167,7 +168,8 @@ making sure that you maintain a proper JSON format.
167168
"markdown": false,
168169
"template": "codeEditor",
169170
"templateOptions": {
170-
"editorDialect": "sql"
171+
"editorDialect": "sql",
172+
"customScriptVariables": true
171173
}
172174
}
173175
]
@@ -185,7 +187,8 @@ making sure that you maintain a proper JSON format.
185187
"markdown": false,
186188
"template": "codeEditor",
187189
"templateOptions": {
188-
"editorDialect": "sql"
190+
"editorDialect": "sql",
191+
"customScriptVariables": true
189192
}
190193
}
191194
]
@@ -203,7 +206,8 @@ making sure that you maintain a proper JSON format.
203206
"markdown": false,
204207
"template": "codeEditor",
205208
"templateOptions": {
206-
"editorDialect": "sql"
209+
"editorDialect": "sql",
210+
"customScriptVariables": true
207211
}
208212
}
209213
]
@@ -221,7 +225,8 @@ making sure that you maintain a proper JSON format.
221225
"markdown": false,
222226
"template": "codeEditor",
223227
"templateOptions": {
224-
"editorDialect": "sql"
228+
"editorDialect": "sql",
229+
"customScriptVariables": true
225230
}
226231
}
227232
]
@@ -239,7 +244,8 @@ making sure that you maintain a proper JSON format.
239244
"markdown": false,
240245
"template": "codeEditor",
241246
"templateOptions": {
242-
"editorDialect": "sql"
247+
"editorDialect": "sql",
248+
"customScriptVariables": true
243249
}
244250
}
245251
]

properties_pane/entity_level/entityLevelConfig.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,8 @@ making sure that you maintain a proper JSON format.
639639
"markdown": false,
640640
"template": "codeEditor",
641641
"templateOptions": {
642-
"editorDialect": "sql"
642+
"editorDialect": "sql",
643+
"customScriptVariables": true
643644
}
644645
}
645646
]
@@ -657,7 +658,8 @@ making sure that you maintain a proper JSON format.
657658
"markdown": false,
658659
"template": "codeEditor",
659660
"templateOptions": {
660-
"editorDialect": "sql"
661+
"editorDialect": "sql",
662+
"customScriptVariables": true
661663
}
662664
}
663665
]

properties_pane/model_level/modelLevelConfig.json

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,8 @@ making sure that you maintain a proper JSON format.
233233
"markdown": false,
234234
"template": "codeEditor",
235235
"templateOptions": {
236-
"editorDialect": "sql"
236+
"editorDialect": "sql",
237+
"customScriptVariables": true
237238
}
238239
}
239240
]
@@ -251,7 +252,8 @@ making sure that you maintain a proper JSON format.
251252
"markdown": false,
252253
"template": "codeEditor",
253254
"templateOptions": {
254-
"editorDialect": "sql"
255+
"editorDialect": "sql",
256+
"customScriptVariables": true
255257
}
256258
}
257259
]
@@ -269,7 +271,8 @@ making sure that you maintain a proper JSON format.
269271
"markdown": false,
270272
"template": "codeEditor",
271273
"templateOptions": {
272-
"editorDialect": "sql"
274+
"editorDialect": "sql",
275+
"customScriptVariables": true
273276
}
274277
}
275278
]
@@ -287,7 +290,8 @@ making sure that you maintain a proper JSON format.
287290
"markdown": false,
288291
"template": "codeEditor",
289292
"templateOptions": {
290-
"editorDialect": "sql"
293+
"editorDialect": "sql",
294+
"customScriptVariables": true
291295
}
292296
}
293297
]
@@ -305,7 +309,8 @@ making sure that you maintain a proper JSON format.
305309
"markdown": false,
306310
"template": "codeEditor",
307311
"templateOptions": {
308-
"editorDialect": "sql"
312+
"editorDialect": "sql",
313+
"customScriptVariables": true
309314
}
310315
}
311316
]
@@ -323,7 +328,8 @@ making sure that you maintain a proper JSON format.
323328
"markdown": false,
324329
"template": "codeEditor",
325330
"templateOptions": {
326-
"editorDialect": "sql"
331+
"editorDialect": "sql",
332+
"customScriptVariables": true
327333
}
328334
}
329335
]
@@ -341,7 +347,8 @@ making sure that you maintain a proper JSON format.
341347
"markdown": false,
342348
"template": "codeEditor",
343349
"templateOptions": {
344-
"editorDialect": "sql"
350+
"editorDialect": "sql",
351+
"customScriptVariables": true
345352
}
346353
}
347354
]
@@ -359,7 +366,8 @@ making sure that you maintain a proper JSON format.
359366
"markdown": false,
360367
"template": "codeEditor",
361368
"templateOptions": {
362-
"editorDialect": "sql"
369+
"editorDialect": "sql",
370+
"customScriptVariables": true
363371
}
364372
}
365373
]

properties_pane/view_level/viewLevelConfig.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,8 @@ making sure that you maintain a proper JSON format.
690690
"markdown": false,
691691
"template": "codeEditor",
692692
"templateOptions": {
693-
"editorDialect": "sql"
693+
"editorDialect": "sql",
694+
"customScriptVariables": true
694695
}
695696
}
696697
]
@@ -708,7 +709,8 @@ making sure that you maintain a proper JSON format.
708709
"markdown": false,
709710
"template": "codeEditor",
710711
"templateOptions": {
711-
"editorDialect": "sql"
712+
"editorDialect": "sql",
713+
"customScriptVariables": true
712714
}
713715
}
714716
]

0 commit comments

Comments
 (0)