diff --git a/assets/css/fonts.css b/assets/css/fonts.css
index 035435e60..e9b5f4866 100644
--- a/assets/css/fonts.css
+++ b/assets/css/fonts.css
@@ -6,6 +6,7 @@
font-display: swap;
src: url('~assets/fonts/Material_Icons-400-fallback1.woff2') format('woff2');
}
+
/* devanagari */
@font-face {
font-family: 'Poppins';
@@ -15,6 +16,7 @@
src: url('~assets/fonts/Poppins-400-devanagari2.woff2') format('woff2');
unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
+
/* latin-ext */
@font-face {
font-family: 'Poppins';
@@ -24,6 +26,7 @@
src: url('~assets/fonts/Poppins-400-latin-ext3.woff2') format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
+
/* latin */
@font-face {
font-family: 'Poppins';
@@ -33,6 +36,7 @@
src: url('~assets/fonts/Poppins-400-latin4.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
+
/* devanagari */
@font-face {
font-family: 'Poppins';
@@ -42,6 +46,7 @@
src: url('~assets/fonts/Poppins-500-devanagari5.woff2') format('woff2');
unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
+
/* latin-ext */
@font-face {
font-family: 'Poppins';
@@ -51,6 +56,7 @@
src: url('~assets/fonts/Poppins-500-latin-ext6.woff2') format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
+
/* latin */
@font-face {
font-family: 'Poppins';
@@ -60,6 +66,7 @@
src: url('~assets/fonts/Poppins-500-latin7.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
+
/* devanagari */
@font-face {
font-family: 'Poppins';
@@ -69,6 +76,7 @@
src: url('~assets/fonts/Poppins-600-devanagari8.woff2') format('woff2');
unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
+
/* latin-ext */
@font-face {
font-family: 'Poppins';
@@ -78,6 +86,7 @@
src: url('~assets/fonts/Poppins-600-latin-ext9.woff2') format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
+
/* latin */
@font-face {
font-family: 'Poppins';
@@ -87,6 +96,7 @@
src: url('~assets/fonts/Poppins-600-latin10.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
+
/* devanagari */
@font-face {
font-family: 'Poppins';
@@ -96,6 +106,7 @@
src: url('~assets/fonts/Poppins-700-devanagari11.woff2') format('woff2');
unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
+
/* latin-ext */
@font-face {
font-family: 'Poppins';
@@ -105,6 +116,7 @@
src: url('~assets/fonts/Poppins-700-latin-ext12.woff2') format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
+
/* latin */
@font-face {
font-family: 'Poppins';
@@ -114,6 +126,7 @@
src: url('~assets/fonts/Poppins-700-latin13.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
+
/* devanagari */
@font-face {
font-family: 'Poppins';
@@ -123,6 +136,7 @@
src: url('~assets/fonts/Poppins-800-devanagari14.woff2') format('woff2');
unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
+
/* latin-ext */
@font-face {
font-family: 'Poppins';
@@ -132,6 +146,7 @@
src: url('~assets/fonts/Poppins-800-latin-ext15.woff2') format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
+
/* latin */
@font-face {
font-family: 'Poppins';
@@ -141,6 +156,7 @@
src: url('~assets/fonts/Poppins-800-latin16.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
+
/* cyrillic-ext */
@font-face {
font-family: 'Roboto Mono';
@@ -150,6 +166,7 @@
src: url('~assets/fonts/Roboto_Mono-400-cyrillic-ext17.woff2') format('woff2');
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
+
/* cyrillic */
@font-face {
font-family: 'Roboto Mono';
@@ -159,6 +176,7 @@
src: url('~assets/fonts/Roboto_Mono-400-cyrillic18.woff2') format('woff2');
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
+
/* greek */
@font-face {
font-family: 'Roboto Mono';
@@ -168,6 +186,7 @@
src: url('~assets/fonts/Roboto_Mono-400-greek19.woff2') format('woff2');
unicode-range: U+0370-03FF;
}
+
/* vietnamese */
@font-face {
font-family: 'Roboto Mono';
@@ -177,6 +196,7 @@
src: url('~assets/fonts/Roboto_Mono-400-vietnamese20.woff2') format('woff2');
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
+
/* latin-ext */
@font-face {
font-family: 'Roboto Mono';
@@ -186,6 +206,7 @@
src: url('~assets/fonts/Roboto_Mono-400-latin-ext21.woff2') format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
+
/* latin */
@font-face {
font-family: 'Roboto Mono';
diff --git a/assets/md/folderBody.md b/assets/md/folderBody.md
index 9646a84ab..3cd6afe02 100644
--- a/assets/md/folderBody.md
+++ b/assets/md/folderBody.md
@@ -49,7 +49,7 @@
{{/isParams}}
{{#isAuth}}
-**Authentication Type**: {{{auth}}}
+**Authentication Type**: {{{auth}}}
{{/isAuth}}
{{#bearerToken}}
@@ -57,7 +57,7 @@
{{/bearerToken}}
{{#isAuthBasic}}
-Username: `{{{httpUser}}}`
+Username: `{{{httpUser}}}`
Password: `{{{httpPassword}}}`
{{/isAuthBasic}}
diff --git a/components/app/Header.vue b/components/app/Header.vue
index b41bcc01e..5cd7bc6ff 100644
--- a/components/app/Header.vue
+++ b/components/app/Header.vue
@@ -22,7 +22,18 @@
href="https://appwrite.io/?utm_source=hoppscotch&utm_medium=banner&utm_campaign=hello"
target="_blank"
rel="noopener"
- class="inline-flex items-center px-4 py-2 mx-4 font-mono text-sm rounded-md bg-bgDarkColor hide-on-small-screen"
+ class="
+ inline-flex
+ items-center
+ px-4
+ py-2
+ mx-4
+ font-mono
+ text-sm
+ rounded-md
+ bg-bgDarkColor
+ hide-on-small-screen
+ "
>
Appwrite - Open-Source Backend as a Service
@@ -301,8 +312,7 @@ export default {
navigator
.share({
title: "Hoppscotch",
- text:
- "Hoppscotch • Open source API development ecosystem - Helps you create requests faster, saving precious time on development.",
+ text: "Hoppscotch • Open source API development ecosystem - Helps you create requests faster, saving precious time on development.",
url: "https://hoppscotch.io",
})
.then(() => {})
diff --git a/components/collections/graphql/index.vue b/components/collections/graphql/index.vue
index 2db4354ba..3dcbafb50 100644
--- a/components/collections/graphql/index.vue
+++ b/components/collections/graphql/index.vue
@@ -162,7 +162,13 @@ export default {
this._keyListener = function (e) {
if (e.key === "Escape") {
e.preventDefault()
- this.showModalAdd = this.showModalEdit = this.showModalImportExport = this.showModalAddFolder = this.showModalEditFolder = this.showModalEditRequest = false
+ this.showModalAdd =
+ this.showModalEdit =
+ this.showModalImportExport =
+ this.showModalAddFolder =
+ this.showModalEditFolder =
+ this.showModalEditRequest =
+ false
}
}
document.addEventListener("keydown", this._keyListener.bind(this))
diff --git a/components/collections/index.vue b/components/collections/index.vue
index f542f697b..b69cf358f 100644
--- a/components/collections/index.vue
+++ b/components/collections/index.vue
@@ -275,7 +275,13 @@ export default {
this._keyListener = function (e) {
if (e.key === "Escape") {
e.preventDefault()
- this.showModalAdd = this.showModalEdit = this.showModalImportExport = this.showModalAddFolder = this.showModalEditFolder = this.showModalEditRequest = false
+ this.showModalAdd =
+ this.showModalEdit =
+ this.showModalImportExport =
+ this.showModalAddFolder =
+ this.showModalEditFolder =
+ this.showModalEditRequest =
+ false
}
}
document.addEventListener("keydown", this._keyListener.bind(this))
@@ -579,7 +585,7 @@ export default {
.mutate({
// Query
mutation: gql`
- mutation($collectionID: String!) {
+ mutation ($collectionID: String!) {
deleteCollection(collectionID: $collectionID)
}
`,
diff --git a/components/collections/my/Collection.vue b/components/collections/my/Collection.vue
index 72e3c9da0..1d0d34a91 100644
--- a/components/collections/my/Collection.vue
+++ b/components/collections/my/Collection.vue
@@ -194,7 +194,6 @@ export default {
this.$emit("select", {
picked: {
pickedType: "my-collection",
-
collectionIndex: this.collectionIndex,
},
})
diff --git a/components/collections/my/Folder.vue b/components/collections/my/Folder.vue
index 4c1c0e1be..dc48ca50b 100644
--- a/components/collections/my/Folder.vue
+++ b/components/collections/my/Folder.vue
@@ -176,7 +176,6 @@ export default {
this.$emit("select", {
picked: {
pickedType: "my-folder",
-
collectionIndex: this.collectionIndex,
folderName: this.folder.name,
folderPath: this.folderPath,
diff --git a/components/collections/my/Request.vue b/components/collections/my/Request.vue
index c29de89d0..ff7a435b8 100644
--- a/components/collections/my/Request.vue
+++ b/components/collections/my/Request.vue
@@ -14,7 +14,7 @@
@click="!doc ? selectRequest() : {}"
v-tooltip="!doc ? $t('use_request') : ''"
>
- check_circle
+ check_circle
{{ request.method }}
{{ request.name }}
@@ -104,7 +104,6 @@ export default {
this.$emit("select", {
picked: {
pickedType: "my-request",
-
collectionIndex: this.collectionIndex,
folderPath: this.folderPath,
folderName: this.folderName,
diff --git a/components/collections/teams/Collection.vue b/components/collections/teams/Collection.vue
index 2b5775e1e..ef8dc9f47 100644
--- a/components/collections/teams/Collection.vue
+++ b/components/collections/teams/Collection.vue
@@ -183,7 +183,6 @@ export default {
this.$emit("select", {
picked: {
pickedType: "teams-collection",
-
collectionID: this.collection.id,
},
})
@@ -193,7 +192,6 @@ export default {
this.$emit("select", {
picked: {
pickedType: "teams-collection",
-
collectionID: this.collection.id,
},
})
diff --git a/components/collections/teams/Folder.vue b/components/collections/teams/Folder.vue
index 023d5e978..855088b17 100644
--- a/components/collections/teams/Folder.vue
+++ b/components/collections/teams/Folder.vue
@@ -164,7 +164,6 @@ export default {
this.$emit("select", {
picked: {
pickedType: "teams-folder",
-
folderID: this.folder.id,
},
})
diff --git a/components/collections/teams/Request.vue b/components/collections/teams/Request.vue
index c18a04730..f48df2e47 100644
--- a/components/collections/teams/Request.vue
+++ b/components/collections/teams/Request.vue
@@ -7,7 +7,7 @@
@click="!doc ? selectRequest() : {}"
v-tooltip="!doc ? $t('use_request') : ''"
>
- check_circle
+ check_circle
{{ request.method }}
{{ request.name }}
@@ -102,6 +102,7 @@ export default {
requestID: this.requestIndex,
},
})
+ else this.$store.commit("postwoman/selectRequest", { request: this.request })
},
removeRequest() {
this.$emit("remove-request", {
diff --git a/components/environments/Add.vue b/components/environments/Add.vue
index 979a35ce1..1598d1caf 100644
--- a/components/environments/Add.vue
+++ b/components/environments/Add.vue
@@ -51,7 +51,7 @@ export default {
},
subscriptions() {
return {
- SYNC_ENVIRONMENTS: getSettingSubject("syncEnvironments")
+ SYNC_ENVIRONMENTS: getSettingSubject("syncEnvironments"),
}
},
methods: {
diff --git a/components/environments/Edit.vue b/components/environments/Edit.vue
index 2e598fbcb..4af1dd81e 100644
--- a/components/environments/Edit.vue
+++ b/components/environments/Edit.vue
@@ -30,7 +30,14 @@