From 7cd29e4786a21eb658b177b371ad8e5585e9a78a Mon Sep 17 00:00:00 2001 From: Taras Dubyk Date: Thu, 8 Jul 2021 10:19:33 +0300 Subject: [PATCH 1/2] add dbVendor model level property --- properties_pane/defaultData.json | 6 ++++++ properties_pane/model_level/modelLevelConfig.json | 11 +++++++++++ 2 files changed, 17 insertions(+) create mode 100644 properties_pane/defaultData.json diff --git a/properties_pane/defaultData.json b/properties_pane/defaultData.json new file mode 100644 index 0000000..234ab7b --- /dev/null +++ b/properties_pane/defaultData.json @@ -0,0 +1,6 @@ +{ + "model": { + "modelName": "New model", + "dbVendor": "Joi" + } +} \ No newline at end of file diff --git a/properties_pane/model_level/modelLevelConfig.json b/properties_pane/model_level/modelLevelConfig.json index 654e386..42bcbb4 100644 --- a/properties_pane/model_level/modelLevelConfig.json +++ b/properties_pane/model_level/modelLevelConfig.json @@ -56,6 +56,17 @@ making sure that you maintain a proper JSON format. { "lowerTab": "Details", "structure": [ + { + "propertyName": "DB vendor", + "propertyKeyword": "dbVendor", + "shouldValidate": false, + "propertyTooltip": "DB vendor", + "propertyType": "select", + "options": [ + "Joi" + ], + "disabledOption": true + }, { "propertyName": "Custom Property", "propertyKeyword": "customDetailsProperty", From ec043102f13569a78e32afd2e4dbde835da76013 Mon Sep 17 00:00:00 2001 From: Taras Dubyk Date: Thu, 8 Jul 2021 10:21:06 +0300 Subject: [PATCH 2/2] remove sample properties --- .../model_level/modelLevelConfig.json | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/properties_pane/model_level/modelLevelConfig.json b/properties_pane/model_level/modelLevelConfig.json index 42bcbb4..2daf9f3 100644 --- a/properties_pane/model_level/modelLevelConfig.json +++ b/properties_pane/model_level/modelLevelConfig.json @@ -68,25 +68,14 @@ making sure that you maintain a proper JSON format. "disabledOption": true }, { - "propertyName": "Custom Property", - "propertyKeyword": "customDetailsProperty", + "propertyName": "Comments", + "propertyKeyword": "comments", "shouldValidate": false, "propertyTooltip": "comments", + "addTimestampButton": false, "propertyType": "details", "template": "textarea" } ] - }, - { - "lowerTab": "Relationships", - "structure": [ - { - "propertyName": "Custom Relationships Property", - "propertyKeyword": "customRelationshipsProperty", - "shouldValidate": false, - "propertyTooltip": "db vendor", - "propertyType": "text" - } - ] } ] \ No newline at end of file