Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
chore: minor fixes and improvements
liyasthomas405e6c1e4ea4
diff --git a/assets/scss/styles.scss b/assets/scss/styles.scssindex 0f83655f1..686631a90 100644--- a/assets/scss/styles.scss+++ b/assets/scss/styles.scss@@ -282,25 +282,6 @@ pre.ace_editor {}}-.search-wrapper {- @apply flex flex-1;- @apply relative;-- &::after {- @apply absolute;- @apply flex;- @apply inset-y-0;- @apply items-center;- @apply justify-center;- @apply pointer-events-none;- @apply font-icon;- @apply text-secondaryLight;- @apply left-4;-- content: "\e8b6";- }-}-input[type="checkbox"] {@apply hidden;diff --git a/components/app/Shortcuts.vue b/components/app/Shortcuts.vueindex 6d2f2c5b6..31afa2fb2 100644--- a/components/app/Shortcuts.vue+++ b/components/app/Shortcuts.vue@@ -20,7 +20,7 @@</div></div><div class="bg-primary border-b border-dividerLight">- <div class="flex flex-col my-4 mx-6 search-wrapper">+ <div class="flex flex-col my-4 mx-6"><inputv-model="filterText"type="search"@@ -31,8 +31,7 @@flexw-fullpy-2- pr-2- pl-8+ px-4focus-visible:border-divider":placeholder="$t('action.search')"diff --git a/components/button/Primary.vue b/components/button/Primary.vueindex 42b7a203c..1e094c7c1 100644--- a/components/button/Primary.vue+++ b/components/button/Primary.vue@@ -6,6 +6,7 @@class="font-boldpy-2+ transitioninline-flexitems-centerjustify-centerdiff --git a/components/button/Secondary.vue b/components/button/Secondary.vueindex 235527d8b..ee2148046 100644--- a/components/button/Secondary.vue+++ b/components/button/Secondary.vue@@ -6,6 +6,7 @@class="font-mediumpy-2+ transitioninline-flexitems-centerjustify-centerdiff --git a/components/collections/ChooseType.vue b/components/collections/ChooseType.vueindex 37ad0cfc0..09077fa12 100644--- a/components/collections/ChooseType.vue+++ b/components/collections/ChooseType.vue@@ -19,7 +19,7 @@autofocusclass="bg-transparent- border-b border-transparent+ border-t border-dividerLightcursor-pointerflexfont-mediumdiff --git a/components/collections/graphql/index.vue b/components/collections/graphql/index.vueindex 8b6649bd1..384b37ee1 100644--- a/components/collections/graphql/index.vue+++ b/components/collections/graphql/index.vue@@ -14,14 +14,13 @@":class="{ 'bg-primary': !savingMode }">- <div v-if="showCollActions" class="search-wrapper">- <input- v-model="filterText"- type="search"- :placeholder="$t('action.search')"- class="bg-transparent flex w-full py-2 pr-2 pl-10"- />- </div>+ <input+ v-if="showCollActions"+ v-model="filterText"+ type="search"+ :placeholder="$t('action.search')"+ class="bg-transparent flex w-full py-2 px-4"+ /><div class="flex flex-1 justify-between"><ButtonSecondarysvg="plus"diff --git a/components/collections/index.vue b/components/collections/index.vueindex a6c2b732c..90290e708 100644--- a/components/collections/index.vue+++ b/components/collections/index.vue@@ -16,12 +16,12 @@":class="{ '!top-sidebarPrimaryStickyFold': !saveRequest && !doc }">- <div v-if="!saveRequest" class="search-wrapper">+ <div v-if="!saveRequest" class="search-wrappe"><inputv-model="filterText"type="search":placeholder="$t('action.search')"- class="bg-transparent flex w-full py-2 pr-2 pl-10"+ class="bg-transparent flex w-full py-2 pr-2 pl-4"/></div><CollectionsChooseTypediff --git a/components/graphql/Sidebar.vue b/components/graphql/Sidebar.vueindex b9e110de2..1de2e324f 100644--- a/components/graphql/Sidebar.vue+++ b/components/graphql/Sidebar.vue@@ -4,14 +4,12 @@<SmartTab :id="'docs'" :label="`Docs`" :selected="true"><AppSection label="docs"><div class="bg-primary flex top-sidebarPrimaryStickyFold z-10 sticky">- <div class="search-wrapper">- <input- v-model="graphqlFieldsFilterText"- type="search"- :placeholder="$t('action.search')"- class="bg-transparent flex w-full py-2 pr-2 pl-10"- />- </div>+ <input+ v-model="graphqlFieldsFilterText"+ type="search"+ :placeholder="$t('action.search')"+ class="bg-transparent flex w-full p-4 py-2"+ /><div class="flex"><ButtonSecondaryv-tippy="{ theme: 'tooltip' }"diff --git a/components/history/index.vue b/components/history/index.vueindex 6134f1aa4..8403421af 100644--- a/components/history/index.vue+++ b/components/history/index.vue@@ -10,14 +10,12 @@sticky">- <div class="search-wrapper">- <input- v-model="filterText"- type="search"- class="bg-transparent flex w-full py-2 pr-2 pl-10"- :placeholder="$t('action.search')"- />- </div>+ <input+ v-model="filterText"+ type="search"+ class="bg-transparent flex w-full p-4 py-2"+ :placeholder="$t('action.search')"+ /><div class="flex"><ButtonSecondaryv-tippy="{ theme: 'tooltip' }"diff --git a/components/http/Authorization.vue b/components/http/Authorization.vueindex 6d9b0c649..d17fe3c2f 100644--- a/components/http/Authorization.vue+++ b/components/http/Authorization.vue@@ -100,7 +100,7 @@</span><ButtonSecondaryoutline- :label="$t('action.learn_more')"+ :label="$t('app.documentation')"to="https://docs.hoppscotch.io"blanksvg="external-link"diff --git a/components/http/Body.vue b/components/http/Body.vueindex f86fde877..c683f9e20 100644--- a/components/http/Body.vue+++ b/components/http/Body.vue@@ -64,6 +64,14 @@<span class="text-center pb-4">{{ $t("empty.body") }}</span>+ <ButtonSecondary+ outline+ :label="$t('app.documentation')"+ to="https://docs.hoppscotch.io"+ blank+ svg="external-link"+ reverse+ /></div></div></template>diff --git a/components/smart/Item.vue b/components/smart/Item.vueindex 9d2a6c14f..4474f2d12 100644--- a/components/smart/Item.vue+++ b/components/smart/Item.vue@@ -5,6 +5,7 @@:blank="blank"class="rounded+ transitionfont-mediumflex-shrink-0py-2diff --git a/components/smart/Toggle.vue b/components/smart/Toggle.vueindex c9b343a6b..7c45f2b83 100644--- a/components/smart/Toggle.vue+++ b/components/smart/Toggle.vue@@ -54,7 +54,6 @@ $transition: all 0.2s ease-in-out;height: $height;border: if($useBorder, 2px solid $borderColor, none);background-color: if($useBorder, transparent, $inactiveColor);- transition: $transition;box-sizing: initial;.handle {diff --git a/components/tab/Primary.vue b/components/tab/Primary.vueindex 756b23395..2a53348d8 100644--- a/components/tab/Primary.vue+++ b/components/tab/Primary.vue@@ -6,6 +6,7 @@class="roundedpy-2+ transitionpx-4inline-flexitems-centerdiff --git a/components/tab/Secondary.vue b/components/tab/Secondary.vueindex 4f28e281f..addb08ceb 100644--- a/components/tab/Secondary.vue+++ b/components/tab/Secondary.vue@@ -7,6 +7,7 @@font-mediumflex-1py-2+ transitiontransforminline-flexitems-center