Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

chore: minor fixes and improvements

liyasthomas9e16cff62a59
diff --git a/components/app/Header.vue b/components/app/Header.vue
index d78b27837..eabb23b35 100644
--- a/components/app/Header.vue
+++ b/components/app/Header.vue
@@ -3,15 +3,13 @@
<header
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
class="tracking-wide !font-bold !text-secondaryDark"
label="HOPPSCOTCH"
to="/"
/>
- <AppGitHubStarButton
- class="mt-1.5 transition hidden group-hover:flex"
- />
+ <AppGitHubStarButton class="mt-1.5 transition" />
</div>
<div class="space-x-2 inline-flex items-center">
<ButtonSecondary
diff --git a/components/collections/SaveRequest.vue b/components/collections/SaveRequest.vue
index 378544ea4..9a8722394 100644
--- a/components/collections/SaveRequest.vue
+++ b/components/collections/SaveRequest.vue
@@ -162,7 +162,6 @@ export default defineComponent({
requestIndex: insertionIndex,
})
} else if (this.picked.pickedType === "my-collection") {
- debugger
const insertionIndex = saveRESTRequestAs(
`${this.picked.collectionIndex}`,
requestUpdated
diff --git a/newstore/collections.ts b/newstore/collections.ts
index 278ed44b4..244238a1d 100644
--- a/newstore/collections.ts
+++ b/newstore/collections.ts
@@ -766,7 +766,6 @@ export function editRESTRequest(
export function saveRESTRequestAs(path: string, request: HoppRESTRequest) {
// For calculating the insertion request index
- debugger
const targetLocation = navigateToFolderWithIndexPath(
restCollectionStore.value.state,
path.split("/").map((x) => parseInt(x))
diff --git a/pages/settings.vue b/pages/settings.vue
index 4db96f8b5..034063ee5 100644
--- a/pages/settings.vue
+++ b/pages/settings.vue
@@ -185,7 +185,7 @@
}}
</SmartToggle>
</div>
- <div class="flex items-center">
+ <!-- <div class="flex items-center">
<SmartToggle
:on="LEFT_SIDEBAR"
@change="toggleSetting('LEFT_SIDEBAR')"
@@ -195,7 +195,7 @@
LEFT_SIDEBAR ? $t("state.enabled") : $t("state.disabled")
}}
</SmartToggle>
- </div>
+ </div> -->
<div class="flex items-center">
<SmartToggle :on="ZEN_MODE" @change="toggleSetting('ZEN_MODE')">
{{ $t("layout.zen_mode") }}