chore: minor ui improvements
This commit is contained in:
@@ -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>
|
|
||||||
|
Before Width: | Height: | Size: 504 B |
@@ -89,6 +89,7 @@ declare module '@vue/runtime-core' {
|
|||||||
HoppSmartSpinner: typeof import('@hoppscotch/ui')['HoppSmartSpinner']
|
HoppSmartSpinner: typeof import('@hoppscotch/ui')['HoppSmartSpinner']
|
||||||
HoppSmartTab: typeof import('@hoppscotch/ui')['HoppSmartTab']
|
HoppSmartTab: typeof import('@hoppscotch/ui')['HoppSmartTab']
|
||||||
HoppSmartTabs: typeof import('@hoppscotch/ui')['HoppSmartTabs']
|
HoppSmartTabs: typeof import('@hoppscotch/ui')['HoppSmartTabs']
|
||||||
|
HoppSmartToggle: typeof import('@hoppscotch/ui')['HoppSmartToggle']
|
||||||
HttpAuthorization: typeof import('./components/http/Authorization.vue')['default']
|
HttpAuthorization: typeof import('./components/http/Authorization.vue')['default']
|
||||||
HttpBody: typeof import('./components/http/Body.vue')['default']
|
HttpBody: typeof import('./components/http/Body.vue')['default']
|
||||||
HttpBodyParameters: typeof import('./components/http/BodyParameters.vue')['default']
|
HttpBodyParameters: typeof import('./components/http/BodyParameters.vue')['default']
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
<!-- <AppGitHubStarButton class="mt-1.5 transition" /> -->
|
<!-- <AppGitHubStarButton class="mt-1.5 transition" /> -->
|
||||||
</div>
|
</div>
|
||||||
<div class="inline-flex items-center justify-center flex-1 space-x-2">
|
<div class="inline-flex items-center justify-center flex-1 space-x-2">
|
||||||
<AppNavigation />
|
<AppNavigation v-if="mdAndLarger" />
|
||||||
<div
|
<div
|
||||||
class="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"
|
class="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"
|
tabindex="0"
|
||||||
@@ -82,7 +82,6 @@
|
|||||||
<HoppButtonSecondary
|
<HoppButtonSecondary
|
||||||
v-tippy="{ theme: 'tooltip' }"
|
v-tippy="{ theme: 'tooltip' }"
|
||||||
:title="t('team.invite_tooltip')"
|
:title="t('team.invite_tooltip')"
|
||||||
:label="mdAndLarger ? t('team.invite') : ``"
|
|
||||||
:icon="IconUserPlus"
|
:icon="IconUserPlus"
|
||||||
class="py-1.75 !text-green-500 !focus-visible:text-green-600 !hover:text-green-600"
|
class="py-1.75 !text-green-500 !focus-visible:text-green-600 !hover:text-green-600"
|
||||||
@click="handleInvite()"
|
@click="handleInvite()"
|
||||||
|
|||||||
@@ -145,7 +145,7 @@ import IconActivity from "~icons/lucide/activity"
|
|||||||
import IconLock from "~icons/lucide/lock"
|
import IconLock from "~icons/lucide/lock"
|
||||||
import IconDiscord from "~icons/brands/discord"
|
import IconDiscord from "~icons/brands/discord"
|
||||||
import IconTwitter from "~icons/brands/twitter"
|
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 IconMessageCircle from "~icons/lucide/message-circle"
|
||||||
import IconUserPlus from "~icons/lucide/user-plus"
|
import IconUserPlus from "~icons/lucide/user-plus"
|
||||||
import IconShare2 from "~icons/lucide/share-2"
|
import IconShare2 from "~icons/lucide/share-2"
|
||||||
|
|||||||
@@ -82,7 +82,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import IconTwitter from "~icons/brands/twitter"
|
import IconTwitter from "~icons/brands/twitter"
|
||||||
import IconDiscord from "~icons/brands/discord"
|
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 IconMessageCircle from "~icons/lucide/message-circle"
|
||||||
import IconGift from "~icons/lucide/gift"
|
import IconGift from "~icons/lucide/gift"
|
||||||
import IconZap from "~icons/lucide/zap"
|
import IconZap from "~icons/lucide/zap"
|
||||||
|
|||||||
@@ -161,7 +161,6 @@
|
|||||||
ref="saveTippyActions"
|
ref="saveTippyActions"
|
||||||
class="flex flex-col focus:outline-none"
|
class="flex flex-col focus:outline-none"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
@keyup.c="copyRequestAction.$el.click()"
|
|
||||||
@keyup.s="saveRequestAction.$el.click()"
|
@keyup.s="saveRequestAction.$el.click()"
|
||||||
@keyup.escape="hide()"
|
@keyup.escape="hide()"
|
||||||
>
|
>
|
||||||
@@ -180,7 +179,6 @@
|
|||||||
:label="shareButtonText"
|
:label="shareButtonText"
|
||||||
:icon="copyLinkIcon"
|
:icon="copyLinkIcon"
|
||||||
:loading="fetchingShareLink"
|
:loading="fetchingShareLink"
|
||||||
:shortcut="['C']"
|
|
||||||
@click="
|
@click="
|
||||||
() => {
|
() => {
|
||||||
copyRequest()
|
copyRequest()
|
||||||
|
|||||||
@@ -19,12 +19,6 @@
|
|||||||
v-if="!loading && myTeams.length === 0"
|
v-if="!loading && myTeams.length === 0"
|
||||||
class="flex flex-col items-center justify-center flex-1 p-4 text-secondaryLight"
|
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">
|
<span class="mb-4 text-center">
|
||||||
{{ t("empty.teams") }}
|
{{ t("empty.teams") }}
|
||||||
</span>
|
</span>
|
||||||
@@ -84,14 +78,12 @@ import { useI18n } from "@composables/i18n"
|
|||||||
import IconUser from "~icons/lucide/user"
|
import IconUser from "~icons/lucide/user"
|
||||||
import IconUsers from "~icons/lucide/users"
|
import IconUsers from "~icons/lucide/users"
|
||||||
import IconPlus from "~icons/lucide/plus"
|
import IconPlus from "~icons/lucide/plus"
|
||||||
import { useColorMode } from "@composables/theming"
|
|
||||||
import { changeWorkspace, workspaceStatus$ } from "~/newstore/workspace"
|
import { changeWorkspace, workspaceStatus$ } from "~/newstore/workspace"
|
||||||
import { GetMyTeamsQuery } from "~/helpers/backend/graphql"
|
import { GetMyTeamsQuery } from "~/helpers/backend/graphql"
|
||||||
import IconDone from "~icons/lucide/check"
|
import IconDone from "~icons/lucide/check"
|
||||||
import { useLocalState } from "~/newstore/localstate"
|
import { useLocalState } from "~/newstore/localstate"
|
||||||
|
|
||||||
const t = useI18n()
|
const t = useI18n()
|
||||||
const colorMode = useColorMode()
|
|
||||||
|
|
||||||
const showModalAdd = ref(false)
|
const showModalAdd = ref(false)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user