From daffc3fe0e8e76352e845d39277d264c09c013fa Mon Sep 17 00:00:00 2001 From: liyasthomas Date: Wed, 15 Dec 2021 23:06:35 +0530 Subject: [PATCH] refactor: minor ui improvements --- .../hoppscotch-app/components/app/Fuse.vue | 2 +- .../components/app/PowerSearch.vue | 8 +- .../hoppscotch-app/components/app/Section.vue | 14 - .../components/app/Shortcuts.vue | 28 +- .../components/app/SlideOver.vue | 2 +- .../collections/graphql/Collection.vue | 2 +- .../components/collections/graphql/index.vue | 11 +- .../components/collections/index.vue | 13 +- .../components/environments/Edit.vue | 2 +- .../components/environments/index.vue | 30 +- .../components/graphql/RequestOptions.vue | 424 +++++++++--------- .../components/graphql/Response.vue | 4 +- .../components/graphql/Sidebar.vue | 300 ++++++------- .../components/history/index.vue | 8 +- .../components/http/Authorization.vue | 2 +- .../components/http/BodyParameters.vue | 6 +- .../components/http/Headers.vue | 4 +- .../components/http/Parameters.vue | 4 +- .../components/http/PreRequestScript.vue | 4 +- .../components/http/RawBody.vue | 3 +- .../components/http/Response.vue | 4 +- .../components/http/TestResult.vue | 4 +- .../hoppscotch-app/components/http/Tests.vue | 4 +- .../components/realtime/Mqtt.vue | 232 +++++----- .../components/realtime/Socketio.vue | 256 ++++++----- .../components/realtime/Sse.vue | 9 +- .../components/realtime/Websocket.vue | 292 ++++++------ .../hoppscotch-app/components/teams/index.vue | 4 +- .../helpers/editor/themes/baseTheme.ts | 1 + .../hoppscotch-app/pages/documentation.vue | 184 ++++---- packages/hoppscotch-app/pages/profile.vue | 4 +- 31 files changed, 908 insertions(+), 957 deletions(-) delete mode 100644 packages/hoppscotch-app/components/app/Section.vue diff --git a/packages/hoppscotch-app/components/app/Fuse.vue b/packages/hoppscotch-app/components/app/Fuse.vue index b13c10049..cb0e8088f 100644 --- a/packages/hoppscotch-app/components/app/Fuse.vue +++ b/packages/hoppscotch-app/components/app/Fuse.vue @@ -14,7 +14,7 @@ class="flex flex-col text-secondaryLight p-4 items-center justify-center" > manage_search - + {{ t("state.nothing_found") }} "{{ search }}" diff --git a/packages/hoppscotch-app/components/app/PowerSearch.vue b/packages/hoppscotch-app/components/app/PowerSearch.vue index 8e01849a1..6c52873d5 100644 --- a/packages/hoppscotch-app/components/app/PowerSearch.vue +++ b/packages/hoppscotch-app/components/app/PowerSearch.vue @@ -17,22 +17,22 @@ class="bg-transparent flex flex-shrink-0 text-base text-secondaryDark p-6" />
- + {{ t("action.to_navigate") }} - + {{ t("action.to_select") }}
ESC - + {{ t("action.to_close") }}
diff --git a/packages/hoppscotch-app/components/app/Section.vue b/packages/hoppscotch-app/components/app/Section.vue deleted file mode 100644 index 19cbb462a..000000000 --- a/packages/hoppscotch-app/components/app/Section.vue +++ /dev/null @@ -1,14 +0,0 @@ - - - diff --git a/packages/hoppscotch-app/components/app/Shortcuts.vue b/packages/hoppscotch-app/components/app/Shortcuts.vue index 3e07461c0..973ad29ee 100644 --- a/packages/hoppscotch-app/components/app/Shortcuts.vue +++ b/packages/hoppscotch-app/components/app/Shortcuts.vue @@ -1,29 +1,24 @@