Skip to content

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

:lipstick: Minor UI updates

Liyas Thomas9e9a73efc64e
diff --git a/components/collections/addCollection.vue b/components/collections/addCollection.vue
index 311ce57ef..5552de5a0 100644
--- a/components/collections/addCollection.vue
+++ b/components/collections/addCollection.vue
@@ -5,13 +5,13 @@
<ul>
<li>
<div class="flex-wrap">
- <h3 class="title" v-if='!newCollection.hasOwnProperty("collectionIndex")'>Add New Collection</h3>
- <h3 class="title" v-if='newCollection.hasOwnProperty("collectionIndex")'>Edit Collection</h3>
- <div>
- <button class="icon" @click="hideModel">
+ <h3 class="title" v-if='!newCollection.hasOwnProperty("collectionIndex")'>New Collection</h3>
+ <h3 class="title" v-if='newCollection.hasOwnProperty("collectionIndex")'>Edit Collection</h3>
+ <div>
+ <button class="icon" @click="hideModel" >
<i class="material-icons">close</i>
</button>
- </div>
+ </div>
</div>
</li>
</ul>
diff --git a/components/collections/addFolder.vue b/components/collections/addFolder.vue
index 4a147622a..8d7d092e1 100644
--- a/components/collections/addFolder.vue
+++ b/components/collections/addFolder.vue
@@ -3,15 +3,15 @@
<div slot="header">
<ul>
<li>
- <div class="flex-wrap">
- <h3 class="title" v-if='!newFolder.hasOwnProperty("folderIndex")'>Add New Folder</h3>
+ <div class="flex-wrap">
+ <h3 class="title" v-if='!newFolder.hasOwnProperty("folderIndex")'>New Folder</h3>
<h3 class="title" v-if='newFolder.hasOwnProperty("folderIndex")'>Edit Folder</h3>
<div>
- <button class="icon" @click="hideModel">
- <i class="material-icons">close</i>
- </button>
- </div>
+ <button class="icon" @click="hideModel">
+ <i class="material-icons">close</i>
+ </button>
</div>
+ </div>
</li>
</ul>
</div>
diff --git a/components/collections/saveRequest.vue b/components/collections/saveRequest.vue
index d44522ed0..dc2a764f7 100644
--- a/components/collections/saveRequest.vue
+++ b/components/collections/saveRequest.vue
@@ -5,12 +5,12 @@
<ul>
<li>
<div class="flex-wrap">
- <h3 class="title" v-if='!request.hasOwnProperty("requestIndex")'>Add New Request</h3>
+ <h3 class="title" v-if='!request.hasOwnProperty("requestIndex")'>New Request</h3>
<h3 class="title" v-if='request.hasOwnProperty("requestIndex")'>Edit Request</h3>
<div>
- <button class="icon" @click="hideModel">
- <i class="material-icons">close</i>
- </button>
+ <button class="icon" @click="hideModel">
+ <i class="material-icons">close</i>
+ </button>
</div>
</div>
</li>
diff --git a/pages/index.vue b/pages/index.vue
index a880f8de9..22206f5df 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -145,9 +145,6 @@
<button class="icon" @click="saveRequest" id="saveRequest" ref="saveRequest" :disabled="!isValidURL" v-tooltip.bottom='"Save to Collections"'>
<i class="material-icons">save</i>
</button>
- <button class="icon" id="goto-history" @click="gotoHistory()" v-tooltip.bottom='"History / Collections"'>
- <i class="material-icons">watch_later</i>
- </button>
<button class="icon" @click="clearContent" v-tooltip.bottom='"Clear all"'>
<i class="material-icons">clear_all</i>
</button>
@@ -900,11 +897,6 @@
}
}
},
- gotoHistory() {
- this.$refs.historyComponent.$el.scrollIntoView({
- behavior: 'smooth'
- });
- },
getQueryStringFromPath() {
let queryString,
pathParsed = url.parse(this.path);