This commit is contained in:
Pratik
2019-08-28 14:37:08 +02:00
6 changed files with 27 additions and 8 deletions

11
.editorconfig Normal file
View File

@@ -0,0 +1,11 @@
# https://editorconfig.org
root = true
[*]
indent_size = 2
indent_style = space
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

1
.gitignore vendored
View File

@@ -79,7 +79,6 @@ dist
# IDE / Editor # IDE / Editor
.idea .idea
.editorconfig
# Service worker # Service worker
sw.* sw.*

View File

@@ -37,11 +37,11 @@ When I wrote this, only God and I understood what I was doing. Now, only God kno
:zap: **Real-time**: Send requests and get/copy responses right away! :zap: **Real-time**: Send requests and get/copy responses right away!
**Methods:** **Methods:**
- GET - Retrieve information about the REST API resource - `GET` - Retrieve information about the REST API resource
- POST - Create a REST API resource - `POST` - Create a REST API resource
- PUT - Update a REST API resource - `PUT` - Update a REST API resource
- DELETE - Delete a REST API resource or related component - `DELETE` - Delete a REST API resource or related component
- OPTIONS - Describe the communication options for the target resource. - `OPTIONS` - Describe the communication options for the target resource.
_History entries are synced with local session storage_ _History entries are synced with local session storage_
@@ -86,7 +86,7 @@ _Customized themes are also synced with local session storage_
_HTML responses have "Preview HTML" feature_ _HTML responses have "Preview HTML" feature_
:: **History**: Request entries are synced with local session storage to reuse with a single click :alarm_clock: **History**: Request entries are synced with local session storage to reuse with a single click
**Fields** **Fields**
- Timestamp - Timestamp

View File

@@ -304,6 +304,10 @@ ol li {
background-color: #676767; background-color: #676767;
} }
.virtual-list::-webkit-scrollbar {
width: 0;
}
fieldset#history { fieldset#history {
.method-list-item { .method-list-item {
position: relative; position: relative;

5
package-lock.json generated
View File

@@ -9997,6 +9997,11 @@
"resolved": "https://registry.npmjs.org/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.9.1.tgz", "resolved": "https://registry.npmjs.org/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.9.1.tgz",
"integrity": "sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==" "integrity": "sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw=="
}, },
"vue-virtual-scroll-list": {
"version": "1.4.2",
"resolved": "https://registry.npmjs.org/vue-virtual-scroll-list/-/vue-virtual-scroll-list-1.4.2.tgz",
"integrity": "sha512-jcXl1cYDxGZX+aF9vsUauXWnUkXm8oQxnvLTJ8UMTmMxwzbmlHX7vs0xGDdEej91vJpBNrdNNseWPxboTvI+UA=="
},
"vuex": { "vuex": {
"version": "3.1.1", "version": "3.1.1",
"resolved": "https://registry.npmjs.org/vuex/-/vuex-3.1.1.tgz", "resolved": "https://registry.npmjs.org/vuex/-/vuex-3.1.1.tgz",

View File

@@ -191,7 +191,7 @@
<button v-bind:class="{ disabled: noHistoryToClear }" v-on:click="clearHistory">Clear History</button> <button v-bind:class="{ disabled: noHistoryToClear }" v-on:click="clearHistory">Clear History</button>
</li> </li>
</ul> </ul>
<virtual-list class="virtual-list" :size="88" :remain="Math.min(5, history.length)"> <virtual-list class="virtual-list" :size="89" :remain="Math.min(5, history.length)">
<ul v-for="entry in history" :key="entry.millis" class="entry"> <ul v-for="entry in history" :key="entry.millis" class="entry">
<li> <li>
<label for="time">Time</label> <label for="time">Time</label>