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 ui improvements
Liyas Thomasf2de0dc6735a
diff --git a/packages/hoppscotch-common/assets/icons/github.svg b/packages/hoppscotch-common/assets/icons/github.svgdeleted file mode 100644index 67c833827..000000000--- a/packages/hoppscotch-common/assets/icons/github.svg+++ /dev/null@@ -1,13 +0,0 @@-<svg- xmlns="http://www.w3.org/2000/svg"- width="24"- height="24"- viewBox="0 0 24 24"- fill="none"- stroke="currentColor"- stroke-width="2"- stroke-linecap="round"- stroke-linejoin="round"->- <path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 00-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0020 4.77 5.07 5.07 0 0019.91 1S18.73.65 16 2.48a13.38 13.38 0 00-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 005 4.77a5.44 5.44 0 00-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 009 18.13V22" />-</svg>diff --git a/packages/hoppscotch-common/src/components.d.ts b/packages/hoppscotch-common/src/components.d.tsindex 40471f3c5..970a9ec0b 100644--- a/packages/hoppscotch-common/src/components.d.ts+++ b/packages/hoppscotch-common/src/components.d.ts@@ -89,6 +89,7 @@ declare module '@vue/runtime-core' {HoppSmartSpinner: typeof import('@hoppscotch/ui')['HoppSmartSpinner']HoppSmartTab: typeof import('@hoppscotch/ui')['HoppSmartTab']HoppSmartTabs: typeof import('@hoppscotch/ui')['HoppSmartTabs']+ HoppSmartToggle: typeof import('@hoppscotch/ui')['HoppSmartToggle']HttpAuthorization: typeof import('./components/http/Authorization.vue')['default']HttpBody: typeof import('./components/http/Body.vue')['default']HttpBodyParameters: typeof import('./components/http/BodyParameters.vue')['default']diff --git a/packages/hoppscotch-common/src/components/app/Header.vue b/packages/hoppscotch-common/src/components/app/Header.vueindex c1c9bbb28..53ab0a975 100644--- a/packages/hoppscotch-common/src/components/app/Header.vue+++ b/packages/hoppscotch-common/src/components/app/Header.vue@@ -18,7 +18,7 @@<!-- <AppGitHubStarButton class="mt-1.5 transition" /> --></div><div class="inline-flex items-center justify-center flex-1 space-x-2">- <AppNavigation />+ <AppNavigation v-if="mdAndLarger" /><divclass="bg-primaryDark max-w-128 text-secondaryLight justify-between cursor-pointer rounded border border-dividerDark hover:border-dividerDark hover:bg-primaryLight hover:text-secondary focus-visible:border-dividerDark focus-visible:bg-primaryLight focus-visible:text-secondary focus:outline-none transition flex flex-1 items-center px-2 py-1.25"tabindex="0"@@ -82,7 +82,6 @@<HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('team.invite_tooltip')"- :label="mdAndLarger ? t('team.invite') : ``":icon="IconUserPlus"class="py-1.75 !text-green-500 !focus-visible:text-green-600 !hover:text-green-600"@click="handleInvite()"diff --git a/packages/hoppscotch-common/src/components/app/Options.vue b/packages/hoppscotch-common/src/components/app/Options.vueindex 707c5cd9d..5816dd658 100644--- a/packages/hoppscotch-common/src/components/app/Options.vue+++ b/packages/hoppscotch-common/src/components/app/Options.vue@@ -145,7 +145,7 @@ import IconActivity from "~icons/lucide/activity"import IconLock from "~icons/lucide/lock"import IconDiscord from "~icons/brands/discord"import IconTwitter from "~icons/brands/twitter"-import IconGithub from "~icons/hopp/github"+import IconGithub from "~icons/lucide/github"import IconMessageCircle from "~icons/lucide/message-circle"import IconUserPlus from "~icons/lucide/user-plus"import IconShare2 from "~icons/lucide/share-2"diff --git a/packages/hoppscotch-common/src/components/app/Support.vue b/packages/hoppscotch-common/src/components/app/Support.vueindex cdf0668b3..856232b8c 100644--- a/packages/hoppscotch-common/src/components/app/Support.vue+++ b/packages/hoppscotch-common/src/components/app/Support.vue@@ -82,7 +82,7 @@<script setup lang="ts">import IconTwitter from "~icons/brands/twitter"import IconDiscord from "~icons/brands/discord"-import IconGitHub from "~icons/hopp/github"+import IconGitHub from "~icons/lucide/github"import IconMessageCircle from "~icons/lucide/message-circle"import IconGift from "~icons/lucide/gift"import IconZap from "~icons/lucide/zap"diff --git a/packages/hoppscotch-common/src/components/http/Request.vue b/packages/hoppscotch-common/src/components/http/Request.vueindex f0ba577b4..921f81625 100644--- a/packages/hoppscotch-common/src/components/http/Request.vue+++ b/packages/hoppscotch-common/src/components/http/Request.vue@@ -161,7 +161,6 @@ref="saveTippyActions"class="flex flex-col focus:outline-none"tabindex="0"- @keyup.c="copyRequestAction.$el.click()"@keyup.s="saveRequestAction.$el.click()"@keyup.escape="hide()">@@ -180,7 +179,6 @@:label="shareButtonText":icon="copyLinkIcon":loading="fetchingShareLink"- :shortcut="['C']"@click="() => {copyRequest()diff --git a/packages/hoppscotch-common/src/components/workspace/Selector.vue b/packages/hoppscotch-common/src/components/workspace/Selector.vueindex 733d4d49d..2724e2347 100644--- a/packages/hoppscotch-common/src/components/workspace/Selector.vue+++ b/packages/hoppscotch-common/src/components/workspace/Selector.vue@@ -19,12 +19,6 @@v-if="!loading && myTeams.length === 0"class="flex flex-col items-center justify-center flex-1 p-4 text-secondaryLight">- <img- :src="`/images/states/${colorMode.value}/add_group.svg`"- loading="lazy"- class="inline-flex flex-col object-contain object-center w-16 h-16 mb-8"- :alt="`${t('empty.teams')}`"- /><span class="mb-4 text-center">{{ t("empty.teams") }}</span>@@ -84,14 +78,12 @@ import { useI18n } from "@composables/i18n"import IconUser from "~icons/lucide/user"import IconUsers from "~icons/lucide/users"import IconPlus from "~icons/lucide/plus"-import { useColorMode } from "@composables/theming"import { changeWorkspace, workspaceStatus$ } from "~/newstore/workspace"import { GetMyTeamsQuery } from "~/helpers/backend/graphql"import IconDone from "~icons/lucide/check"import { useLocalState } from "~/newstore/localstate"const t = useI18n()-const colorMode = useColorMode()const showModalAdd = ref(false)