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: cleanup
liyasthomasbba4d7fcd9c4
diff --git a/assets/scss/styles.scss b/assets/scss/styles.scssindex 5f7962bec..ceceea2a3 100644--- a/assets/scss/styles.scss+++ b/assets/scss/styles.scss@@ -197,7 +197,7 @@ hr {@apply flex flex-1;@apply w-full;@apply px-4 py-2;- @apply bg-primary;+ @apply bg-transparent;@apply rounded;@apply text-secondaryDark;@apply border border-divider;@@ -236,7 +236,7 @@ button {.floating-input:focus-within ~ label,.floating-input:not(:placeholder-shown) ~ label {- @apply bg-primary;+ @apply bg-transparent;@apply transform;@apply origin-top-left;@apply scale-75;diff --git a/components/app/Search.vue b/components/app/Search.vueindex 60dafe5e0..9f7d5a51b 100644--- a/components/app/Search.vue+++ b/components/app/Search.vue@@ -9,7 +9,7 @@name="command":placeholder="$t('app.type_a_command_search')"class="- bg-primary+ bg-transparentborder-b border-dividerLighttext-secondaryDark text-baseleading-normaldiff --git a/components/app/Shortcuts.vue b/components/app/Shortcuts.vueindex f3649d0d6..2247eb9e7 100644--- a/components/app/Shortcuts.vue+++ b/components/app/Shortcuts.vue@@ -3,6 +3,7 @@<template #content><divclass="+ bg-primaryborder-b border-dividerLightflexp-2@@ -22,7 +23,7 @@/></div></div>- <div class="border-b border-dividerLight">+ <div class="bg-primary border-b border-dividerLight"><div class="flex flex-col my-4 mx-6 search-wrapper"><inputv-model="filterText"diff --git a/components/collections/ChooseType.vue b/components/collections/ChooseType.vueindex 4b81d385e..37ad0cfc0 100644--- a/components/collections/ChooseType.vue+++ b/components/collections/ChooseType.vue@@ -18,7 +18,7 @@type="text"autofocusclass="- bg-primary+ bg-transparentborder-b border-transparentcursor-pointerflexdiff --git a/components/collections/graphql/index.vue b/components/collections/graphql/index.vueindex a810fe930..e32165eff 100644--- a/components/collections/graphql/index.vue+++ b/components/collections/graphql/index.vue@@ -19,7 +19,7 @@v-model="filterText"type="search":placeholder="$t('action.search')"- class="bg-primary flex w-full py-2 pr-2 pl-10"+ class="bg-transparent flex w-full py-2 pr-2 pl-10"/></div><div class="flex flex-1 justify-between">diff --git a/components/collections/index.vue b/components/collections/index.vueindex 5b64fb2a5..ba2370c0f 100644--- a/components/collections/index.vue+++ b/components/collections/index.vue@@ -21,7 +21,7 @@v-model="filterText"type="search":placeholder="$t('action.search')"- class="bg-primary flex w-full py-2 pr-2 pl-10"+ class="bg-transparent flex w-full py-2 pr-2 pl-10"/></div><CollectionsChooseTypediff --git a/components/environments/Edit.vue b/components/environments/Edit.vueindex 9b9622a15..34fe0900f 100644--- a/components/environments/Edit.vue+++ b/components/environments/Edit.vue@@ -46,13 +46,13 @@><inputv-model="variable.key"- class="bg-primary flex flex-1 py-2 px-4"+ class="bg-transparent flex flex-1 py-2 px-4":placeholder="$t('count.variable', { count: index + 1 })":name="'param' + index"/><inputv-model="variable.value"- class="bg-primary flex flex-1 py-2 px-4"+ class="bg-transparent flex flex-1 py-2 px-4":placeholder="$t('count.value', { count: index + 1 })":name="'value' + index"/>diff --git a/components/environments/index.vue b/components/environments/index.vueindex 45ecf8e54..e24baeeef 100644--- a/components/environments/index.vue+++ b/components/environments/index.vue@@ -16,7 +16,7 @@v-tippy="{ theme: 'tooltip' }":title="$t('environment.select')"class="- bg-primary+ bg-transparentborder-b border-dividerLightflex-1select-wrapperdiff --git a/components/graphql/Request.vue b/components/graphql/Request.vueindex 43e1ac124..235fe1cb9 100644--- a/components/graphql/Request.vue+++ b/components/graphql/Request.vue@@ -16,7 +16,7 @@py-2px-4hover:border-dividerDark- focus-visible:bg-primary focus-visible:border-dividerDark+ focus-visible:bg-transparent focus-visible:border-dividerDark":placeholder="$t('request.url')"@keyup.enter="onConnectClick"diff --git a/components/graphql/RequestOptions.vue b/components/graphql/RequestOptions.vueindex 868553d7e..d50381151 100644--- a/components/graphql/RequestOptions.vue+++ b/components/graphql/RequestOptions.vue@@ -159,7 +159,7 @@:value="header.key"autofocusstyles="- bg-primary+ bg-transparentflexflex-1py-1@@ -176,7 +176,7 @@"/><input- class="bg-primary flex flex-1 py-2 px-4"+ class="bg-transparent flex flex-1 py-2 px-4":placeholder="$t('count.value', { count: index + 1 })":name="`value ${index}`":value="header.value"@@ -329,7 +329,6 @@ export default defineComponent({watch(headers,() => {- console.log("changed")if ((headers.value[headers.value.length - 1]?.key !== "" ||headers.value[headers.value.length - 1]?.value !== "") &&diff --git a/components/graphql/Sidebar.vue b/components/graphql/Sidebar.vueindex 446874f7d..0599af06d 100644--- a/components/graphql/Sidebar.vue+++ b/components/graphql/Sidebar.vue@@ -9,7 +9,7 @@v-model="graphqlFieldsFilterText"type="search":placeholder="$t('action.search')"- class="bg-primary flex w-full py-2 pr-2 pl-10"+ class="bg-transparent flex w-full py-2 pr-2 pl-10"/></div><div class="flex">diff --git a/components/history/index.vue b/components/history/index.vueindex 98c99873a..b174e80bc 100644--- a/components/history/index.vue+++ b/components/history/index.vue@@ -14,7 +14,7 @@<inputv-model="filterText"type="search"- class="bg-primary flex w-full py-2 pr-2 pl-10"+ class="bg-transparent flex w-full py-2 pr-2 pl-10":placeholder="$t('action.search')"/></div>diff --git a/components/http/Authorization.vue b/components/http/Authorization.vueindex b230e89bd..10e0389c9 100644--- a/components/http/Authorization.vue+++ b/components/http/Authorization.vue@@ -115,14 +115,14 @@<SmartEnvInputv-if="EXPERIMENTAL_URL_BAR_ENABLED"v-model="basicUsername"- class="bg-primary flex flex-1 py-1 px-4"+ class="bg-transparent flex flex-1 py-1 px-4":placeholder="$t('authorization.username')"/><inputv-elseid="http_basic_user"v-model="basicUsername"- class="bg-primary flex flex-1 py-2 px-4"+ class="bg-transparent flex flex-1 py-2 px-4":placeholder="$t('authorization.username')"name="http_basic_user"/>@@ -133,14 +133,14 @@<SmartEnvInputv-if="EXPERIMENTAL_URL_BAR_ENABLED"v-model="basicPassword"- class="bg-primary flex flex-1 py-1 px-4"+ class="bg-transparent flex flex-1 py-1 px-4":placeholder="$t('authorization.password')"/><inputv-elseid="http_basic_passwd"v-model="basicPassword"- class="bg-primary flex flex-1 py-2 px-4"+ class="bg-transparent flex flex-1 py-2 px-4":placeholder="$t('authorization.password')"name="http_basic_passwd":type="passwordFieldType"@@ -157,6 +157,7 @@</div><divclass="+ bg-primaryh-fulltop-upperTertiaryStickyFoldmin-w-46@@ -188,14 +189,14 @@<SmartEnvInputv-if="EXPERIMENTAL_URL_BAR_ENABLED"v-model="bearerToken"- class="bg-primary flex flex-1 py-1 px-4"+ class="bg-transparent flex flex-1 py-1 px-4"placeholder="Token"/><inputv-elseid="bearer_token"v-model="bearerToken"- class="bg-primary flex flex-1 py-2 px-4"+ class="bg-transparent flex flex-1 py-2 px-4"placeholder="Token"name="bearer_token"/>@@ -203,6 +204,7 @@</div><divclass="+ bg-primaryh-fulltop-upperTertiaryStickyFoldmin-w-46@@ -237,14 +239,14 @@<SmartEnvInputv-if="EXPERIMENTAL_URL_BAR_ENABLED"v-model="oauth2Token"- class="bg-primary flex flex-1 py-1 px-4"+ class="bg-transparent flex flex-1 py-1 px-4"placeholder="Token"/><inputv-elseid="oauth2_token"v-model="oauth2Token"- class="bg-primary flex flex-1 py-2 px-4"+ class="bg-transparent flex flex-1 py-2 px-4"placeholder="Token"name="oauth2_token"/>@@ -253,6 +255,7 @@</div><divclass="+ bg-primaryh-fulltop-upperTertiaryStickyFoldmin-w-46diff --git a/components/http/Body.vue b/components/http/Body.vueindex 3f67cfa7a..f86fde877 100644--- a/components/http/Body.vue+++ b/components/http/Body.vue@@ -5,7 +5,10 @@bg-primaryborder-b border-dividerLightflex flex-1+ top-upperSecondaryStickyFoldpl-4+ z-10+ stickyitems-centerjustify-between"diff --git a/components/http/BodyParameters.vue b/components/http/BodyParameters.vueindex 9e0ebb094..21bb8c02b 100644--- a/components/http/BodyParameters.vue+++ b/components/http/BodyParameters.vue@@ -5,7 +5,7 @@bg-primaryborder-b border-dividerLightflex flex-1- top-upperSecondaryStickyFold+ top-upperTertiaryStickyFoldpl-4z-10sticky@@ -48,7 +48,7 @@v-model="param.key":placeholder="$t('count.parameter', { count: index + 1 })"styles="- bg-primaryLight+ bg-transparentflexflex-1py-1@@ -65,7 +65,7 @@/><inputv-else- class="bg-primaryLight flex flex-1 py-2 px-4"+ class="bg-transparent flex flex-1 py-2 px-4":placeholder="$t('count.parameter', { count: index + 1 })":name="'param' + index":value="param.key"@@ -96,12 +96,12 @@v-model="param.value":placeholder="$t('count.value', { count: index + 1 })"styles="- bg-primaryLight- flex- flex-1- py-1- px-4- "+ bg-transparent+ flex+ flex-1+ py-1+ px-4+ "@change="updateBodyParam(index, {key: param.key,@@ -113,7 +113,7 @@/><inputv-else- class="bg-primaryLight flex flex-1 py-2 px-4"+ class="bg-transparent flex flex-1 py-2 px-4":placeholder="$t('count.value', { count: index + 1 })":name="'value' + index":value="param.value"@@ -256,8 +256,6 @@ export default defineComponent({entry: FormDataKeyValue,event: InputEvent) => {- console.log(index, event)-const fileEntry: FormDataKeyValue = {...entry,isFile: true,@@ -304,7 +302,7 @@ export default defineComponent({@apply flex flex-1;@apply whitespace-nowrap;@apply overflow-auto;- @apply bg-primaryLight;+ @apply bg-transparent;.file-chips-wrapper {@apply flex;diff --git a/components/http/Headers.vue b/components/http/Headers.vueindex 713197696..d5a1df2c3 100644--- a/components/http/Headers.vue+++ b/components/http/Headers.vue@@ -50,7 +50,7 @@:value="header.key"autofocusstyles="- bg-primary+ bg-transparentflexflex-1py-1@@ -71,7 +71,7 @@v-model="header.value":placeholder="$t('count.value', { count: index + 1 })"styles="- bg-primary+ bg-transparentflexflex-1py-1@@ -87,7 +87,7 @@/><inputv-else- class="bg-primary flex flex-1 py-2 px-4"+ class="bg-transparent flex flex-1 py-2 px-4":placeholder="$t('count.value', { count: index + 1 })":name="'value' + index":value="header.value"@@ -182,7 +182,6 @@ export default defineComponent({watch: {headers$: {handler(newValue) {- console.log("changed")if ((newValue[newValue.length - 1]?.key !== "" ||newValue[newValue.length - 1]?.value !== "") &&@@ -203,7 +202,6 @@ export default defineComponent({addRESTHeader({ key: "", value: "", active: true })},updateHeader(index: number, item: HoppRESTHeader) {- console.log(index, item)updateRESTHeader(index, item)},deleteHeader(index: number) {diff --git a/components/http/OAuth2Authorization.vue b/components/http/OAuth2Authorization.vueindex 53e8f8d68..97f5cce45 100644--- a/components/http/OAuth2Authorization.vue+++ b/components/http/OAuth2Authorization.vue@@ -4,7 +4,7 @@<inputid="oidcDiscoveryURL"v-model="oidcDiscoveryURL"- class="bg-primary flex flex-1 py-2 px-4"+ class="bg-transparent flex flex-1 py-2 px-4"placeholder="OpenID Connect Discovery URL"name="oidcDiscoveryURL"/>@@ -13,7 +13,7 @@<inputid="authURL"v-model="authURL"- class="bg-primary flex flex-1 py-2 px-4"+ class="bg-transparent flex flex-1 py-2 px-4"placeholder="Authentication URL"name="authURL"/>@@ -22,7 +22,7 @@<inputid="accessTokenURL"v-model="accessTokenURL"- class="bg-primary flex flex-1 py-2 px-4"+ class="bg-transparent flex flex-1 py-2 px-4"placeholder="Access Token URL"name="accessTokenURL"/>@@ -31,7 +31,7 @@<inputid="clientID"v-model="clientID"- class="bg-primary flex flex-1 py-2 px-4"+ class="bg-transparent flex flex-1 py-2 px-4"placeholder="Client ID"name="clientID"/>@@ -40,7 +40,7 @@<inputid="scope"v-model="scope"- class="bg-primary flex flex-1 py-2 px-4"+ class="bg-transparent flex flex-1 py-2 px-4"placeholder="Scope"name="scope"/>diff --git a/components/http/Parameters.vue b/components/http/Parameters.vueindex 5f6c4c0bf..ef4e700ac 100644--- a/components/http/Parameters.vue+++ b/components/http/Parameters.vue@@ -48,7 +48,7 @@v-model="param.key":placeholder="$t('count.parameter', { count: index + 1 })"styles="- bg-primary+ bg-transparentflexflex-1py-1@@ -64,7 +64,7 @@/><inputv-else- class="bg-primary flex flex-1 py-2 px-4"+ class="bg-transparent flex flex-1 py-2 px-4":placeholder="$t('count.parameter', { count: index + 1 })":name="'param' + index":value="param.key"@@ -82,7 +82,7 @@v-model="param.value":placeholder="$t('count.value', { count: index + 1 })"styles="- bg-primary+ bg-transparentflexflex-1py-1@@ -98,7 +98,7 @@/><inputv-else- class="bg-primary flex flex-1 py-2 px-4"+ class="bg-transparent flex flex-1 py-2 px-4":placeholder="$t('count.value', { count: index + 1 })":name="'value' + index":value="param.value"diff --git a/components/http/PreRequestScript.vue b/components/http/PreRequestScript.vueindex eba289f05..cb26c32f3 100644--- a/components/http/PreRequestScript.vue+++ b/components/http/PreRequestScript.vue@@ -48,6 +48,7 @@</div><divclass="+ bg-primaryh-fulltop-upperTertiaryStickyFoldmin-w-46diff --git a/components/http/RawBody.vue b/components/http/RawBody.vueindex 2640af832..a4228d7c3 100644--- a/components/http/RawBody.vue+++ b/components/http/RawBody.vue@@ -5,7 +5,7 @@bg-primaryborder-b border-dividerLightflex flex-1- top-upperSecondaryStickyFold+ top-upperTertiaryStickyFoldpl-4z-10stickydiff --git a/components/http/Request.vue b/components/http/Request.vueindex 07c0b5c14..b8c672005 100644--- a/components/http/Request.vue+++ b/components/http/Request.vue@@ -26,7 +26,8 @@px-4w-28hover:border-dividerDark- focus-visible:bg-primary focus-visible:border-dividerDark+ focus-visible:bg-transparent+ focus-visible:border-dividerDark":value="newMethod":readonly="!isCustomMethod"@@ -50,18 +51,18 @@v-model="newEndpoint":placeholder="$t('request.url')"styles="- bg-primaryLight- border border-divider- flex- flex-1- rounded-r- text-secondaryDark- py-1- px-4- hover:border-dividerDark- focus-visible:border-dividerDark- focus-visible:bg-primary- "+ bg-primaryLight+ border border-divider+ flex+ flex-1+ rounded-r+ text-secondaryDark+ py-1+ px-4+ hover:border-dividerDark+ focus-visible:border-dividerDark+ focus-visible:bg-transparent+ "@enter="newSendRequest()"/><input@@ -79,7 +80,7 @@py-2px-4hover:border-dividerDark- focus-visible:bg-primary focus-visible:border-dividerDark+ focus-visible:bg-transparent focus-visible:border-dividerDark"name="url"type="text"@@ -295,7 +296,6 @@ const newSendRequest = () => {subscribeToStream(runRESTRequest$(),(responseState) => {- console.log(responseState)if (loading.value) {// Check exists because, loading can be set to false// when cancelleddiff --git a/components/http/Tests.vue b/components/http/Tests.vueindex 898255a56..85b16295a 100644--- a/components/http/Tests.vue+++ b/components/http/Tests.vue@@ -48,6 +48,7 @@</div><divclass="+ bg-primaryh-fulltop-upperTertiaryStickyFoldmin-w-46diff --git a/components/lenses/renderers/RawLensRenderer.vue b/components/lenses/renderers/RawLensRenderer.vueindex a8e0c73ea..7fee1051c 100644--- a/components/lenses/renderers/RawLensRenderer.vue+++ b/components/lenses/renderers/RawLensRenderer.vue@@ -82,7 +82,6 @@ export default defineComponent({},methods: {downloadResponse() {- console.log(this.responseType)const dataToWrite = this.responseBodyTextconst file = new Blob([dataToWrite], { type: this.responseType })const a = document.createElement("a")diff --git a/components/realtime/Log.vue b/components/realtime/Log.vueindex c4e899d58..a09fdf7ca 100644--- a/components/realtime/Log.vue+++ b/components/realtime/Log.vue@@ -60,7 +60,7 @@ export default defineComponent({<style scoped lang="scss">.realtime-log {@apply p-4;- @apply bg-primary;+ @apply bg-transparent;@apply text-secondary;@apply overflow-auto;diff --git a/components/realtime/Mqtt.vue b/components/realtime/Mqtt.vueindex 766692047..f3e09ba89 100644--- a/components/realtime/Mqtt.vue+++ b/components/realtime/Mqtt.vue@@ -21,7 +21,8 @@py-2px-4hover:border-dividerDark- focus-visible:bg-primary focus-visible:border-dividerDark+ focus-visible:bg-transparent+ focus-visible:border-dividerDark":placeholder="$t('mqtt.url')"/>diff --git a/components/realtime/Socketio.vue b/components/realtime/Socketio.vueindex fc7894424..e99b1b7aa 100644--- a/components/realtime/Socketio.vue+++ b/components/realtime/Socketio.vue@@ -24,7 +24,8 @@py-2px-4hover:border-dividerDark- focus-visible:bg-primary focus-visible:border-dividerDark+ focus-visible:bg-transparent+ focus-visible:border-dividerDark":placeholder="$t('socketio.url')"@keyup.enter="urlValid ? toggleConnection() : null"@@ -42,7 +43,8 @@py-2px-4hover:border-dividerDark- focus-visible:bg-primary focus-visible:border-dividerDark+ focus-visible:bg-transparent+ focus-visible:border-dividerDark"spellcheck="false"/>diff --git a/components/realtime/Sse.vue b/components/realtime/Sse.vueindex d99f0e618..8cb614712 100644--- a/components/realtime/Sse.vue+++ b/components/realtime/Sse.vue@@ -20,7 +20,7 @@py-2px-4hover:border-dividerDark- focus-visible:bg-primary focus-visible:border-dividerDark+ focus-visible:bg-transparent focus-visible:border-dividerDark":placeholder="$t('sse.url')"@keyup.enter="serverValid ? toggleSSEConnection() : null"@@ -52,7 +52,7 @@py-2px-4hover:border-dividerDark- focus-visible:bg-primary focus-visible:border-dividerDark+ focus-visible:bg-transparent focus-visible:border-dividerDark"spellcheck="false"/>diff --git a/components/realtime/Websocket.vue b/components/realtime/Websocket.vueindex 3feea7677..4fdcade49 100644--- a/components/realtime/Websocket.vue+++ b/components/realtime/Websocket.vue@@ -19,7 +19,8 @@py-2px-4hover:border-dividerDark- focus-visible:bg-primary focus-visible:border-dividerDark+ focus-visible:bg-transparent+ focus-visible:border-dividerDark"type="url"spellcheck="false"@@ -84,7 +85,7 @@><inputv-model="protocol.value"- class="bg-primary flex flex-1 py-2 px-4"+ class="bg-transparent flex flex-1 py-2 px-4":placeholder="$t('count.protocol', { count: index + 1 })"name="message"type="text"diff --git a/components/smart/AutoComplete.vue b/components/smart/AutoComplete.vueindex f3dea5409..df33f8aad 100644--- a/components/smart/AutoComplete.vue+++ b/components/smart/AutoComplete.vue@@ -198,7 +198,7 @@ export default defineComponent({ul.suggestions {@apply hidden;- @apply bg-primary;+ @apply bg-popover;@apply absolute;@apply mx-2;@apply left-0;diff --git a/components/smart/DeletableChip.vue b/components/smart/DeletableChip.vueindex 453ba7124..6985c239b 100644--- a/components/smart/DeletableChip.vue+++ b/components/smart/DeletableChip.vue@@ -18,7 +18,7 @@@apply rounded;@apply pl-2;@apply pr-0.5;- @apply bg-primary;+ @apply bg-transparent;@apply border border-divider;}diff --git a/components/smart/Tabs.vue b/components/smart/Tabs.vueindex 25d1b4ca8..7ed17f84f 100644--- a/components/smart/Tabs.vue+++ b/components/smart/Tabs.vue@@ -114,7 +114,7 @@ export default defineComponent({@apply left-4;@apply right-4;@apply bottom-0;- @apply bg-primary;+ @apply bg-transparent;@apply z-2;@apply h-0.5;diff --git a/components/teams/Edit.vue b/components/teams/Edit.vueindex 608021acb..a1e51f89c 100644--- a/components/teams/Edit.vue+++ b/components/teams/Edit.vue@@ -35,7 +35,7 @@class="divide-x divide-dividerLight flex"><input- class="bg-primary flex flex-1 py-2 px-4"+ class="bg-transparent flex flex-1 py-2 px-4":placeholder="$t('team.email')":name="'param' + index":value="member.user.email"@@ -52,7 +52,13 @@<template #trigger><span class="select-wrapper"><input- class="bg-primary cursor-pointer flex flex-1 py-2 px-4"+ class="+ bg-transparent+ cursor-pointer+ flex flex-1+ py-2+ px-4+ ":placeholder="$t('team.permissions')":name="'value' + index":value="@@ -96,7 +102,7 @@><inputv-model="member.key"- class="bg-primary flex flex-1 py-2 px-4"+ class="bg-transparent flex flex-1 py-2 px-4":placeholder="$t('team.email')":name="'member' + index"autofocus@@ -112,7 +118,13 @@<template #trigger><span class="select-wrapper"><input- class="bg-primary cursor-pointer flex flex-1 py-2 px-4"+ class="+ bg-transparent+ cursor-pointer+ flex flex-1+ py-2+ px-4+ ":placeholder="$t('team.permissions')":name="'value' + index":value="diff --git a/helpers/actions.ts b/helpers/actions.tsindex 0548f2021..beee78e1b 100644--- a/helpers/actions.ts+++ b/helpers/actions.ts@@ -66,11 +66,9 @@ export function unbindAction(action: HoppAction, handler: () => void) {export function defineActionHandler(action: HoppAction, handler: () => void) {onMounted(() => {bindAction(action, handler)- console.log(`Action bound: ${action}`)})onBeforeUnmount(() => {unbindAction(action, handler)- console.log(`Action unbound: ${action}`)})}diff --git a/helpers/fb/history.ts b/helpers/fb/history.tsindex 955a42583..af5a526cd 100644--- a/helpers/fb/history.ts+++ b/helpers/fb/history.ts@@ -94,8 +94,6 @@ async function toggleStar(entry: any, col: HistoryFBCollections) {if (currentUser$.value == null)throw new Error("User not logged in to toggle star")- console.log(entry)-try {await firebase.firestore()@@ -207,7 +205,3 @@ export function initHistory() {}})}--restHistoryStore.dispatches$.subscribe((state) => {- console.log(state)-})diff --git a/helpers/fb/request.ts b/helpers/fb/request.tsindex f56996e8a..821653471 100644--- a/helpers/fb/request.ts+++ b/helpers/fb/request.ts@@ -76,7 +76,6 @@ export function startRequestSync(): Subscription {).subscribe(() => {// NOTE: This subscription should be kept- console.log("synced request")})return subdiff --git a/helpers/keybindings.ts b/helpers/keybindings.tsindex 7c7aea6da..7fd06bee9 100644--- a/helpers/keybindings.ts+++ b/helpers/keybindings.ts@@ -158,12 +158,10 @@ export function useKeybindingDisabler() {// TODO: Move to a lock based system that keeps the bindings disabled until all locks are liftedconst disableKeybindings = () => {keybindingsEnabled = false- console.log("Keybinds disabled by a component")}const enableKeybindings = () => {keybindingsEnabled = true- console.log("Keybinds enabled by a component")}return {diff --git a/helpers/lenses/lenses.js b/helpers/lenses/lenses.jsindex f213ea9f2..674797fce 100644--- a/helpers/lenses/lenses.js+++ b/helpers/lenses/lenses.js@@ -8,7 +8,6 @@ export const lenses = [jsonLens, imageLens, htmlLens, xmlLens, rawLens]export function getSuitableLenses(response) {const contentType = response.headers.find((h) => h.key === "content-type")- console.log(contentType)if (!contentType) return [rawLens]diff --git a/newstore/RESTSession.ts b/newstore/RESTSession.tsindex 4de60ab08..dc71f9897 100644--- a/newstore/RESTSession.ts+++ b/newstore/RESTSession.ts@@ -27,8 +27,8 @@ export const defaultRESTRequest: HoppRESTRequest = {v: RESTReqSchemaVersion,endpoint: "https://echo.hoppscotch.io",name: "Untitled request",- params: [],- headers: [],+ params: [{ key: "", value: "", active: true }],+ headers: [{ key: "", value: "", active: true }],method: "GET",auth: {authType: "none",diff --git a/pages/index.vue b/pages/index.vueindex 746934677..03ff139e0 100644--- a/pages/index.vue+++ b/pages/index.vue@@ -83,7 +83,6 @@import {computed,defineComponent,- getCurrentInstance,onBeforeMount,onBeforeUnmount,onMounted,@@ -112,7 +111,6 @@ import {pluckRef,useReadonlyStream,useStream,- useStreamSubscriber,} from "~/helpers/utils/composables"import { loadRequestFromSync, startRequestSync } from "~/helpers/fb/request"import { onLoggedIn } from "~/helpers/fb/auth"@@ -210,7 +208,6 @@ function setupRequestSync() {const request = await loadRequestFromSync()if (request) {- console.log("sync le request nnd")// setRESTRequest(request)if (!isEqual(request, getRESTRequest())) {requestForSync.value = request@@ -235,23 +232,13 @@ export default defineComponent({const confirmSync = ref(false)- const internalInstance = getCurrentInstance()- console.log("yoo", internalInstance)-const syncRequest = () => {- console.log("syncinggg")setRESTRequest(requestForSync.value!)}- const { subscribeToStream } = useStreamSubscriber()-setupRequestSync(confirmSync, requestForSync)bindRequestToURLParams()- subscribeToStream(restRequest$, (x) => {- console.log(x)- })-return {newActiveParamsCount$: useReadonlyStream(restActiveParamsCount$.pipe(