chore: minor ui improvements

This commit is contained in:
Liyas Thomas
2023-12-09 09:15:42 +05:30
committed by Andrew Bastin
parent b53ae0cefe
commit a267e9c411
4 changed files with 15 additions and 15 deletions

View File

@@ -3,7 +3,7 @@
<div <div
class="sticky top-0 z-10 flex flex-shrink-0 flex-col overflow-x-auto border-b border-dividerLight bg-primary" class="sticky top-0 z-10 flex flex-shrink-0 flex-col overflow-x-auto border-b border-dividerLight bg-primary"
> >
<WorkspaceCurrent :section="t('tab.history')" /> <WorkspaceCurrent :section="t('tab.history')" :is-only-personal="true" />
<div class="flex"> <div class="flex">
<input <input
v-model="filterText" v-model="filterText"

View File

@@ -180,6 +180,18 @@
class="input mb-2 !bg-primaryContrast" class="input mb-2 !bg-primaryContrast"
@keyup.enter="hide()" @keyup.enter="hide()"
/> />
<HoppSmartItem
ref="saveRequestAction"
:label="`${t('request.save_as')}`"
:icon="IconFolderPlus"
@click="
() => {
showSaveRequestModal = true
hide()
}
"
/>
<hr />
<HoppSmartItem <HoppSmartItem
ref="copyRequestAction" ref="copyRequestAction"
:label="t('request.share_request')" :label="t('request.share_request')"
@@ -192,18 +204,6 @@
} }
" "
/> />
<hr />
<HoppSmartItem
ref="saveRequestAction"
:label="`${t('request.save_as')}`"
:icon="IconFolderPlus"
@click="
() => {
showSaveRequestModal = true
hide()
}
"
/>
</div> </div>
</template> </template>
</tippy> </tippy>

View File

@@ -13,7 +13,7 @@
> >
<HoppButtonSecondary <HoppButtonSecondary
v-tippy="{ theme: 'tooltip' }" v-tippy="{ theme: 'tooltip' }"
to="https://docs.hoppscotch.io/documentation/features/shared-request" to="https://docs.hoppscotch.io/documentation/features/share-requests"
blank blank
:title="t('app.wiki')" :title="t('app.wiki')"
:icon="IconHelpCircle" :icon="IconHelpCircle"

View File

@@ -2,7 +2,7 @@
<HoppSmartLink <HoppSmartLink
:to="to" :to="to"
:blank="blank" :blank="blank"
class="button-primary relative inline-flex items-center justify-center whitespace-nowrap py-2 font-semibold transition focus:outline-none focus-visible:bg-accentDark" class="relative inline-flex items-center justify-center whitespace-nowrap py-2 font-semibold transition focus:outline-none focus-visible:bg-accentDark"
:exact="exact" :exact="exact"
:class="[ :class="[
color color