From 49741875bdbdc31dab34a2022bdebaa9a1b6b9ee Mon Sep 17 00:00:00 2001 From: liyasthomas Date: Sun, 19 Sep 2021 20:27:20 +0530 Subject: [PATCH] chore: minor ui improvements --- .../assets/icons/align-left.svg | 2 +- .../hoppscotch-app/components/app/Footer.vue | 34 +++++--- .../components/graphql/RequestOptions.vue | 46 +++++----- .../components/graphql/Response.vue | 86 ++++++++++--------- .../components/http/ResponseMeta.vue | 8 +- .../components/realtime/Socketio.vue | 2 +- .../hoppscotch-app/components/smart/Link.js | 3 + .../components/smart/Spinner.vue | 21 +---- .../hoppscotch-app/components/smart/Tabs.vue | 6 +- .../hoppscotch-app/components/teams/index.vue | 4 +- packages/hoppscotch-app/helpers/apollo.ts | 2 +- packages/hoppscotch-app/layouts/default.vue | 1 + packages/hoppscotch-app/pages/realtime.vue | 2 +- 13 files changed, 112 insertions(+), 105 deletions(-) diff --git a/packages/hoppscotch-app/assets/icons/align-left.svg b/packages/hoppscotch-app/assets/icons/align-left.svg index 9ac852a51..04a945c36 100644 --- a/packages/hoppscotch-app/assets/icons/align-left.svg +++ b/packages/hoppscotch-app/assets/icons/align-left.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/packages/hoppscotch-app/components/app/Footer.vue b/packages/hoppscotch-app/components/app/Footer.vue index fe8edb17b..c5ea81d19 100644 --- a/packages/hoppscotch-app/components/app/Footer.vue +++ b/packages/hoppscotch-app/components/app/Footer.vue @@ -35,59 +35,65 @@

+ +
- -
@@ -88,7 +90,7 @@
@@ -127,7 +129,7 @@ v-tippy="{ theme: 'tooltip' }" :title="$t('action.clear_all')" svg="trash-2" - :disabled="bulkMode" + :disabled="Boolean(bulkMode)" @click.native="headers = []" />
@@ -150,7 +152,7 @@
@@ -407,7 +409,7 @@ const runQuery = async () => { const startTime = Date.now() nuxt.value.$loading.start() - response.value = `${t("state.loading")}` + response.value = "loading" try { const runURL = clone(url.value) diff --git a/packages/hoppscotch-app/components/graphql/Response.vue b/packages/hoppscotch-app/components/graphql/Response.vue index 10da832ff..21df889f6 100644 --- a/packages/hoppscotch-app/components/graphql/Response.vue +++ b/packages/hoppscotch-app/components/graphql/Response.vue @@ -1,47 +1,55 @@ diff --git a/packages/hoppscotch-app/components/smart/Tabs.vue b/packages/hoppscotch-app/components/smart/Tabs.vue index 33088ddfe..c84974739 100644 --- a/packages/hoppscotch-app/components/smart/Tabs.vue +++ b/packages/hoppscotch-app/components/smart/Tabs.vue @@ -1,7 +1,7 @@