From 39d6b1bfeb4b1b563030c1a5e0591647492de739 Mon Sep 17 00:00:00 2001 From: liyasthomas Date: Sat, 18 Dec 2021 19:51:57 +0530 Subject: [PATCH] chore: minor ui improvements --- netlify.toml | 8 +- .../components/collections/ImportExport.vue | 2 +- .../components/http/Authorization.vue | 237 +++++++----------- .../components/http/ImportCurl.vue | 7 +- .../components/http/PreRequestScript.vue | 2 +- .../hoppscotch-app/components/http/Tests.vue | 2 +- .../helpers/editor/themes/baseTheme.ts | 4 +- packages/hoppscotch-app/locales/af.json | 3 +- packages/hoppscotch-app/locales/ar.json | 3 +- packages/hoppscotch-app/locales/ca.json | 3 +- packages/hoppscotch-app/locales/cn.json | 3 +- packages/hoppscotch-app/locales/cs.json | 3 +- packages/hoppscotch-app/locales/da.json | 3 +- packages/hoppscotch-app/locales/de.json | 3 +- packages/hoppscotch-app/locales/el.json | 3 +- packages/hoppscotch-app/locales/es.json | 3 +- packages/hoppscotch-app/locales/fi.json | 3 +- packages/hoppscotch-app/locales/fr.json | 3 +- packages/hoppscotch-app/locales/he.json | 3 +- packages/hoppscotch-app/locales/hu.json | 3 +- packages/hoppscotch-app/locales/it.json | 3 +- packages/hoppscotch-app/locales/ja.json | 3 +- packages/hoppscotch-app/locales/ko.json | 3 +- packages/hoppscotch-app/locales/nl.json | 3 +- packages/hoppscotch-app/locales/no.json | 3 +- packages/hoppscotch-app/locales/pl.json | 3 +- packages/hoppscotch-app/locales/pt-br.json | 3 +- packages/hoppscotch-app/locales/pt.json | 3 +- packages/hoppscotch-app/locales/ro.json | 3 +- packages/hoppscotch-app/locales/ru.json | 3 +- packages/hoppscotch-app/locales/sr.json | 3 +- packages/hoppscotch-app/locales/sv.json | 3 +- packages/hoppscotch-app/locales/tr.json | 3 +- packages/hoppscotch-app/locales/tw.json | 3 +- packages/hoppscotch-app/locales/uk.json | 3 +- packages/hoppscotch-app/locales/vi.json | 3 +- 36 files changed, 169 insertions(+), 180 deletions(-) diff --git a/netlify.toml b/netlify.toml index a00bb82a1..f8d4e742c 100644 --- a/netlify.toml +++ b/netlify.toml @@ -33,7 +33,7 @@ [[redirects]] from = "/careers" - to = "https://hoppscotch.notion.site/3b9d5d5239a043bfb91701faabf5b8f0" + to = "https://company.hoppscotch.io/careers" status = 301 force = true @@ -54,3 +54,9 @@ to = "https://github.com/hoppscotch/hoppscotch" status = 301 force = true + +[[redirects]] + from = "/announcements" + to = "https://company.hoppscotch.io/announcements" + status = 301 + force = true diff --git a/packages/hoppscotch-app/components/collections/ImportExport.vue b/packages/hoppscotch-app/components/collections/ImportExport.vue index cefeb23c3..23e531728 100644 --- a/packages/hoppscotch-app/components/collections/ImportExport.vue +++ b/packages/hoppscotch-app/components/collections/ImportExport.vue @@ -41,7 +41,7 @@ :label="$t('import.from_gist')" @click.native=" () => { - readCollectionGist + readCollectionGist() $refs.options.tippy().hide() } " diff --git a/packages/hoppscotch-app/components/http/Authorization.vue b/packages/hoppscotch-app/components/http/Authorization.vue index 6f6471362..61043e534 100644 --- a/packages/hoppscotch-app/components/http/Authorization.vue +++ b/packages/hoppscotch-app/components/http/Authorization.vue @@ -136,152 +136,103 @@ class="mb-4" /> -
+
-
- -
-
- -
-
-
-
- {{ $t("helpers.authorization") }} -
- -
-
-
-
-
- -
-
-
-
- {{ $t("helpers.authorization") }} -
- -
-
-
-
-
- -
- -
-
-
- {{ $t("helpers.authorization") }} -
- -
-
-
-
-
- -
-
- -
-
- - - - +
+ - +
+ - +
+
+
+
+ +
+
+
+
+ +
+ +
+
+
+ +
+
+ +
+
+ + + + + + +