From e56fa732fa39774e01d466979a2f9f96d37ef9e9 Mon Sep 17 00:00:00 2001 From: Dmitry Yankowski Date: Sat, 29 Feb 2020 11:42:12 -0500 Subject: [PATCH 1/4] Added some GraphQL page updates --- lang/en-US.js | 2 ++ pages/graphql.vue | 36 +++++++++++++++++++++++++++++------- store/state.js | 9 +++++++-- 3 files changed, 38 insertions(+), 9 deletions(-) diff --git a/lang/en-US.js b/lang/en-US.js index 344075d7a..76e91900b 100644 --- a/lang/en-US.js +++ b/lang/en-US.js @@ -181,6 +181,8 @@ export default { loading: "Loading...", fetching: "Fetching...", waiting_send_req: "(waiting to send request)", + waiting_receive_response: "(waiting to receive response)", + waiting_receive_schema: "(waiting to receive schema)", cancel: "Cancel", save: "Save", dismiss: "Dismiss", diff --git a/pages/graphql.vue b/pages/graphql.vue index 4d07a1022..1355f3c2e 100644 --- a/pages/graphql.vue +++ b/pages/graphql.vue @@ -102,8 +102,8 @@
- -
+ +
+ @@ -175,7 +186,7 @@ :onRunGQLQuery="runQuery" :options="{ maxLines: responseBodyMaxLines, - minLines: '16', + minLines: 10, fontSize: '16px', autoScrollEditorIntoView: true, showPrintMargin: false, @@ -189,8 +200,8 @@ v-model="variableString" :lang="'json'" :options="{ - maxLines: responseBodyMaxLines, - minLines: '16', + maxLines: 10, + minLines: 5, fontSize: '16px', autoScrollEditorIntoView: true, showPrintMargin: false, @@ -214,12 +225,13 @@
+