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
:zap: Lint
Liyas Thomas00c6e22861a5
diff --git a/assets/css/styles.scss b/assets/css/styles.scssindex 579716a7e..831a86e0e 100644--- a/assets/css/styles.scss+++ b/assets/css/styles.scss@@ -58,6 +58,7 @@ body {// Make theme transition smoother.body.afterLoad {+&,& * {transition: background-color 0.2s ease-in-out, border 0.2s ease-in-out;diff --git a/components/collections/folder.vue b/components/collections/folder.vueindex 0aeea9aae..567040a2d 100644--- a/components/collections/folder.vue+++ b/components/collections/folder.vue@@ -23,7 +23,11 @@</button><template slot="popover"><div>- <button class="icon" @click="removeFolder" v-tooltip="'Delete folder'">+ <button+ class="icon"+ @click="removeFolder"+ v-tooltip="'Delete folder'"+ ><i class="material-icons">delete</i><span>Delete</span></button>diff --git a/components/collections/request.vue b/components/collections/request.vueindex 59b8cae33..8443e0cfa 100644--- a/components/collections/request.vue+++ b/components/collections/request.vue@@ -24,7 +24,11 @@</button><template slot="popover"><div>- <button class="icon" @click="removeRequest" v-tooltip="'Delete request'">+ <button+ class="icon"+ @click="removeRequest"+ v-tooltip="'Delete request'"+ ><i class="material-icons">delete</i><span>Delete</span></button>diff --git a/components/settings/swatch.vue b/components/settings/swatch.vueindex 4391f98dc..8fd7eb65f 100644--- a/components/settings/swatch.vue+++ b/components/settings/swatch.vue@@ -1,6 +1,6 @@<template><div class="color" :data-color="color">- <span :style="{backgroundColor: color}" class="preview">+ <span :style="{ backgroundColor: color }" class="preview"><i v-if="active" class="material-icons activeTick">done</i></span>{{ name || color }}diff --git a/docs/index.html b/docs/index.htmlindex 873915fdf..9e81805e4 100644--- a/docs/index.html+++ b/docs/index.html@@ -1,12 +1,17 @@<!DOCTYPE html><html lang="en">+<head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>Postwoman</title>+ <meta http-equiv="refresh" content="0; url=https://postwoman.io">+ <link rel="canonical" href="https://postwoman.io"></head>+<body>Redirecting to postwoman.io</body>+</html>diff --git a/layouts/default.vue b/layouts/default.vueindex c63a93741..f99fc2819 100644--- a/layouts/default.vue+++ b/layouts/default.vue@@ -14,11 +14,7 @@aria-label="GitHub"rel="noopener">- <button- class="icon"- aria-label="GitHub"- v-tooltip="'GitHub'"- >+ <button class="icon" aria-label="GitHub" v-tooltip="'GitHub'"><svgxmlns="http://www.w3.org/2000/svg"width="24"diff --git a/pages/index.vue b/pages/index.vueindex 11c0075c2..05f681d07 100644--- a/pages/index.vue+++ b/pages/index.vue@@ -35,8 +35,6 @@</ul></pw-section>- <br />-<pw-section class="blue" label="Request" ref="request"><ul><li>@@ -124,11 +122,20 @@</span><div><label for="payload">- <button class="icon" @click="$refs.payload.click()" v-tooltip="'Upload file'">+ <button+ class="icon"+ @click="$refs.payload.click()"+ v-tooltip="'Upload file'"+ ><i class="material-icons">attach_file</i></button></label>- <input ref="payload" name="payload" type="file" @change="uploadPayload"/>+ <input+ ref="payload"+ name="payload"+ type="file"+ @change="uploadPayload"+ /></div></div></li>@@ -1919,15 +1926,14 @@ export default {let file = this.$refs.payload.files[0];if (file != null) {let reader = new FileReader();- reader.onload = (e) => {+ reader.onload = e => {this.rawParams = e.target.result;};reader.readAsText(file);this.$toast.info("File imported", {icon: "attach_file"});- }- else {+ } else {this.$toast.error("Choose a file", {icon: "attach_file"});