diff --git a/localization/en.json b/localization/en.json index c062e75..2d76bfb 100644 --- a/localization/en.json +++ b/localization/en.json @@ -55,6 +55,8 @@ "PROPERTIES_PANE___MAX_VARIABLE": "Max variable", "PROPERTIES_PANE___BACKWARDS": "Backwards", "PROPERTIES_PANE___NORMALIZATION": "Normalization", + "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_TITLE": "Structured directive format not supported", + "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_BODY": "The current version of the GraphQL plugin allows you to attach directives as raw input. Please ensure that you follow the GraphQL specifications to generate a correct script.", "CENTRAL_PANE___TAB_MONGODB_VIEW_SCRIPT": "Create View Script", "CENTRAL_PANE___TAB_DIAGRAM": "Operations ERD", "CONTEXT_MENU___ADD_BUCKET": "Add graph", diff --git a/properties_pane/field_level/fieldLevelConfig.json b/properties_pane/field_level/fieldLevelConfig.json index c8b08f2..92dec53 100644 --- a/properties_pane/field_level/fieldLevelConfig.json +++ b/properties_pane/field_level/fieldLevelConfig.json @@ -156,7 +156,14 @@ making sure that you maintain a proper JSON format. "options": [ "Raw" ], - "defaultValue": "Raw" + "defaultValue": "Raw", + "helpInfo": { + "type": "modal", + "title": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_TITLE", + "content": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_BODY", + "featureNameForHelp": "GraphQL directives", + "buttons": ["contactSupport", "ok"] + } }, { "propertyName": "Raw directive", @@ -221,7 +228,14 @@ making sure that you maintain a proper JSON format. "options": [ "Raw" ], - "defaultValue": "Raw" + "defaultValue": "Raw", + "helpInfo": { + "type": "modal", + "title": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_TITLE", + "content": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_BODY", + "featureNameForHelp": "GraphQL directives", + "buttons": ["contactSupport", "ok"] + } }, { "propertyName": "Raw directive", @@ -288,7 +302,14 @@ making sure that you maintain a proper JSON format. "options": [ "Raw" ], - "defaultValue": "Raw" + "defaultValue": "Raw", + "helpInfo": { + "type": "modal", + "title": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_TITLE", + "content": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_BODY", + "featureNameForHelp": "GraphQL directives", + "buttons": ["contactSupport", "ok"] + } }, { "propertyName": "Raw directive", @@ -353,7 +374,14 @@ making sure that you maintain a proper JSON format. "options": [ "Raw" ], - "defaultValue": "Raw" + "defaultValue": "Raw", + "helpInfo": { + "type": "modal", + "title": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_TITLE", + "content": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_BODY", + "featureNameForHelp": "GraphQL directives", + "buttons": ["contactSupport", "ok"] + } }, { "propertyName": "Raw directive", @@ -418,7 +446,14 @@ making sure that you maintain a proper JSON format. "options": [ "Raw" ], - "defaultValue": "Raw" + "defaultValue": "Raw", + "helpInfo": { + "type": "modal", + "title": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_TITLE", + "content": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_BODY", + "featureNameForHelp": "GraphQL directives", + "buttons": ["contactSupport", "ok"] + } }, { "propertyName": "Raw directive", @@ -521,7 +556,14 @@ making sure that you maintain a proper JSON format. "options": [ "Raw" ], - "defaultValue": "Raw" + "defaultValue": "Raw", + "helpInfo": { + "type": "modal", + "title": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_TITLE", + "content": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_BODY", + "featureNameForHelp": "GraphQL directives", + "buttons": ["contactSupport", "ok"] + } }, { "propertyName": "Raw directive", @@ -556,7 +598,14 @@ making sure that you maintain a proper JSON format. "options": [ "Raw" ], - "defaultValue": "Raw" + "defaultValue": "Raw", + "helpInfo": { + "type": "modal", + "title": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_TITLE", + "content": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_BODY", + "featureNameForHelp": "GraphQL directives", + "buttons": ["contactSupport", "ok"] + } }, { "propertyName": "Raw directive", @@ -597,7 +646,14 @@ making sure that you maintain a proper JSON format. "options": [ "Raw" ], - "defaultValue": "Raw" + "defaultValue": "Raw", + "helpInfo": { + "type": "modal", + "title": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_TITLE", + "content": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_BODY", + "featureNameForHelp": "GraphQL directives", + "buttons": ["contactSupport", "ok"] + } }, { "propertyName": "Raw directive", @@ -632,7 +688,14 @@ making sure that you maintain a proper JSON format. "options": [ "Raw" ], - "defaultValue": "Raw" + "defaultValue": "Raw", + "helpInfo": { + "type": "modal", + "title": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_TITLE", + "content": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_BODY", + "featureNameForHelp": "GraphQL directives", + "buttons": ["contactSupport", "ok"] + } }, { "propertyName": "Raw directive", @@ -672,7 +735,14 @@ making sure that you maintain a proper JSON format. "options": [ "Raw" ], - "defaultValue": "Raw" + "defaultValue": "Raw", + "helpInfo": { + "type": "modal", + "title": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_TITLE", + "content": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_BODY", + "featureNameForHelp": "GraphQL directives", + "buttons": ["contactSupport", "ok"] + } }, { "propertyName": "Raw directive", @@ -707,7 +777,14 @@ making sure that you maintain a proper JSON format. "options": [ "Raw" ], - "defaultValue": "Raw" + "defaultValue": "Raw", + "helpInfo": { + "type": "modal", + "title": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_TITLE", + "content": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_BODY", + "featureNameForHelp": "GraphQL directives", + "buttons": ["contactSupport", "ok"] + } }, { "propertyName": "Raw directive", @@ -749,7 +826,14 @@ making sure that you maintain a proper JSON format. "options": [ "Raw" ], - "defaultValue": "Raw" + "defaultValue": "Raw", + "helpInfo": { + "type": "modal", + "title": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_TITLE", + "content": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_BODY", + "featureNameForHelp": "GraphQL directives", + "buttons": ["contactSupport", "ok"] + } }, { "propertyName": "Raw directive", @@ -784,7 +868,14 @@ making sure that you maintain a proper JSON format. "options": [ "Raw" ], - "defaultValue": "Raw" + "defaultValue": "Raw", + "helpInfo": { + "type": "modal", + "title": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_TITLE", + "content": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_BODY", + "featureNameForHelp": "GraphQL directives", + "buttons": ["contactSupport", "ok"] + } }, { "propertyName": "Raw directive", @@ -826,7 +917,14 @@ making sure that you maintain a proper JSON format. "options": [ "Raw" ], - "defaultValue": "Raw" + "defaultValue": "Raw", + "helpInfo": { + "type": "modal", + "title": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_TITLE", + "content": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_BODY", + "featureNameForHelp": "GraphQL directives", + "buttons": ["contactSupport", "ok"] + } }, { "propertyName": "Raw directive", @@ -861,7 +959,14 @@ making sure that you maintain a proper JSON format. "options": [ "Raw" ], - "defaultValue": "Raw" + "defaultValue": "Raw", + "helpInfo": { + "type": "modal", + "title": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_TITLE", + "content": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_BODY", + "featureNameForHelp": "GraphQL directives", + "buttons": ["contactSupport", "ok"] + } }, { "propertyName": "Raw directive", @@ -901,7 +1006,14 @@ making sure that you maintain a proper JSON format. "options": [ "Raw" ], - "defaultValue": "Raw" + "defaultValue": "Raw", + "helpInfo": { + "type": "modal", + "title": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_TITLE", + "content": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_BODY", + "featureNameForHelp": "GraphQL directives", + "buttons": ["contactSupport", "ok"] + } }, { "propertyName": "Raw directive", @@ -936,7 +1048,14 @@ making sure that you maintain a proper JSON format. "options": [ "Raw" ], - "defaultValue": "Raw" + "defaultValue": "Raw", + "helpInfo": { + "type": "modal", + "title": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_TITLE", + "content": "PROPERTIES_PANE___DIRECTIVES_INFO_MODAL_BODY", + "featureNameForHelp": "GraphQL directives", + "buttons": ["contactSupport", "ok"] + } }, { "propertyName": "Raw directive",