chore: minor fixes and improvements
This commit is contained in:
@@ -3,15 +3,13 @@
|
|||||||
<header
|
<header
|
||||||
class="flex space-x-2 flex-1 py-2 px-2 items-center justify-between"
|
class="flex space-x-2 flex-1 py-2 px-2 items-center justify-between"
|
||||||
>
|
>
|
||||||
<div class="space-x-2 group inline-flex items-center">
|
<div class="space-x-2 inline-flex items-center">
|
||||||
<ButtonSecondary
|
<ButtonSecondary
|
||||||
class="tracking-wide !font-bold !text-secondaryDark"
|
class="tracking-wide !font-bold !text-secondaryDark"
|
||||||
label="HOPPSCOTCH"
|
label="HOPPSCOTCH"
|
||||||
to="/"
|
to="/"
|
||||||
/>
|
/>
|
||||||
<AppGitHubStarButton
|
<AppGitHubStarButton class="mt-1.5 transition" />
|
||||||
class="mt-1.5 transition hidden group-hover:flex"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="space-x-2 inline-flex items-center">
|
<div class="space-x-2 inline-flex items-center">
|
||||||
<ButtonSecondary
|
<ButtonSecondary
|
||||||
|
|||||||
@@ -162,7 +162,6 @@ export default defineComponent({
|
|||||||
requestIndex: insertionIndex,
|
requestIndex: insertionIndex,
|
||||||
})
|
})
|
||||||
} else if (this.picked.pickedType === "my-collection") {
|
} else if (this.picked.pickedType === "my-collection") {
|
||||||
debugger
|
|
||||||
const insertionIndex = saveRESTRequestAs(
|
const insertionIndex = saveRESTRequestAs(
|
||||||
`${this.picked.collectionIndex}`,
|
`${this.picked.collectionIndex}`,
|
||||||
requestUpdated
|
requestUpdated
|
||||||
|
|||||||
@@ -766,7 +766,6 @@ export function editRESTRequest(
|
|||||||
|
|
||||||
export function saveRESTRequestAs(path: string, request: HoppRESTRequest) {
|
export function saveRESTRequestAs(path: string, request: HoppRESTRequest) {
|
||||||
// For calculating the insertion request index
|
// For calculating the insertion request index
|
||||||
debugger
|
|
||||||
const targetLocation = navigateToFolderWithIndexPath(
|
const targetLocation = navigateToFolderWithIndexPath(
|
||||||
restCollectionStore.value.state,
|
restCollectionStore.value.state,
|
||||||
path.split("/").map((x) => parseInt(x))
|
path.split("/").map((x) => parseInt(x))
|
||||||
|
|||||||
@@ -185,7 +185,7 @@
|
|||||||
}}
|
}}
|
||||||
</SmartToggle>
|
</SmartToggle>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex items-center">
|
<!-- <div class="flex items-center">
|
||||||
<SmartToggle
|
<SmartToggle
|
||||||
:on="LEFT_SIDEBAR"
|
:on="LEFT_SIDEBAR"
|
||||||
@change="toggleSetting('LEFT_SIDEBAR')"
|
@change="toggleSetting('LEFT_SIDEBAR')"
|
||||||
@@ -195,7 +195,7 @@
|
|||||||
LEFT_SIDEBAR ? $t("state.enabled") : $t("state.disabled")
|
LEFT_SIDEBAR ? $t("state.enabled") : $t("state.disabled")
|
||||||
}}
|
}}
|
||||||
</SmartToggle>
|
</SmartToggle>
|
||||||
</div>
|
</div> -->
|
||||||
<div class="flex items-center">
|
<div class="flex items-center">
|
||||||
<SmartToggle :on="ZEN_MODE" @change="toggleSetting('ZEN_MODE')">
|
<SmartToggle :on="ZEN_MODE" @change="toggleSetting('ZEN_MODE')">
|
||||||
{{ $t("layout.zen_mode") }}
|
{{ $t("layout.zen_mode") }}
|
||||||
|
|||||||
Reference in New Issue
Block a user