chore(deps): bump + better History UI
This commit is contained in:
@@ -9,6 +9,23 @@
|
|||||||
<div class="virtual-list" :class="{ filled: filteredHistory.length }">
|
<div class="virtual-list" :class="{ filled: filteredHistory.length }">
|
||||||
<ul v-for="(entry, index) in filteredHistory" :key="index" class="entry">
|
<ul v-for="(entry, index) in filteredHistory" :key="index" class="entry">
|
||||||
<div class="show-on-large-screen">
|
<div class="show-on-large-screen">
|
||||||
|
<span
|
||||||
|
class="p-2 m-2"
|
||||||
|
:class="findEntryStatus(entry).className"
|
||||||
|
:style="{ '--status-code': entry.status }"
|
||||||
|
>
|
||||||
|
{{ `${entry.method} \xA0 • \xA0 ${entry.status}` }}
|
||||||
|
</span>
|
||||||
|
<li>
|
||||||
|
<input
|
||||||
|
:aria-label="$t('token_req_name')"
|
||||||
|
type="text"
|
||||||
|
readonly
|
||||||
|
:value="entry.name"
|
||||||
|
:placeholder="$t('empty_req_name')"
|
||||||
|
class="bg-transparent"
|
||||||
|
/>
|
||||||
|
</li>
|
||||||
<button
|
<button
|
||||||
class="icon"
|
class="icon"
|
||||||
:class="{ stared: entry.star }"
|
:class="{ stared: entry.star }"
|
||||||
@@ -21,16 +38,6 @@
|
|||||||
{{ entry.star ? "star" : "star_border" }}
|
{{ entry.star ? "star" : "star_border" }}
|
||||||
</i>
|
</i>
|
||||||
</button>
|
</button>
|
||||||
<li>
|
|
||||||
<input
|
|
||||||
:aria-label="$t('token_req_name')"
|
|
||||||
type="text"
|
|
||||||
readonly
|
|
||||||
:value="entry.name"
|
|
||||||
:placeholder="$t('empty_req_name')"
|
|
||||||
class="bg-color"
|
|
||||||
/>
|
|
||||||
</li>
|
|
||||||
<!-- <li>
|
<!-- <li>
|
||||||
<button
|
<button
|
||||||
class="icon"
|
class="icon"
|
||||||
@@ -77,41 +84,15 @@
|
|||||||
</template>
|
</template>
|
||||||
</v-popover>
|
</v-popover>
|
||||||
</div>
|
</div>
|
||||||
<div class="show-on-large-screen">
|
|
||||||
<li class="method-list-item">
|
|
||||||
<input
|
|
||||||
:aria-label="$t('method')"
|
|
||||||
type="text"
|
|
||||||
readonly
|
|
||||||
:value="entry.method"
|
|
||||||
:class="findEntryStatus(entry).className"
|
|
||||||
:style="{ '--status-code': entry.status }"
|
|
||||||
/>
|
|
||||||
<span
|
|
||||||
class="entry-status-code"
|
|
||||||
:class="findEntryStatus(entry).className"
|
|
||||||
:style="{ '--status-code': entry.status }"
|
|
||||||
>{{ entry.status }}</span
|
|
||||||
>
|
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div class="show-on-large-screen">
|
<div class="show-on-large-screen">
|
||||||
<li>
|
<li>
|
||||||
<input
|
<input
|
||||||
:aria-label="$t('url')"
|
:aria-label="$t('url')"
|
||||||
type="text"
|
type="text"
|
||||||
readonly
|
readonly
|
||||||
:value="entry.url"
|
:value="`${entry.url}${entry.path}`"
|
||||||
:placeholder="$t('no_url')"
|
:placeholder="$t('no_url')"
|
||||||
/>
|
class="pt-0 mt-0 text-sm bg-transparent text-fgLightColor"
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<input
|
|
||||||
:aria-label="$t('path')"
|
|
||||||
type="text"
|
|
||||||
readonly
|
|
||||||
:value="entry.path"
|
|
||||||
:placeholder="$t('no_path')"
|
|
||||||
/>
|
/>
|
||||||
</li>
|
</li>
|
||||||
</div>
|
</div>
|
||||||
@@ -274,21 +255,6 @@ ol {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.method-list-item {
|
|
||||||
position: relative;
|
|
||||||
|
|
||||||
span {
|
|
||||||
position: absolute;
|
|
||||||
top: 10px;
|
|
||||||
right: 10px;
|
|
||||||
font-family: "Roboto Mono", monospace;
|
|
||||||
font-weight: 400;
|
|
||||||
background-color: transparent;
|
|
||||||
padding: 2px 6px;
|
|
||||||
border-radius: 8px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.entry {
|
.entry {
|
||||||
border-bottom: 1px dashed var(--brd-color);
|
border-bottom: 1px dashed var(--brd-color);
|
||||||
padding: 0 0 8px;
|
padding: 0 0 8px;
|
||||||
|
|||||||
1198
package-lock.json
generated
1198
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -37,7 +37,7 @@
|
|||||||
"firebase": "^8.1.1",
|
"firebase": "^8.1.1",
|
||||||
"graphql": "^15.4.0",
|
"graphql": "^15.4.0",
|
||||||
"graphql-language-service-interface": "^2.4.3",
|
"graphql-language-service-interface": "^2.4.3",
|
||||||
"nuxt": "^2.14.7",
|
"nuxt": "^2.14.8",
|
||||||
"nuxt-i18n": "^6.15.4",
|
"nuxt-i18n": "^6.15.4",
|
||||||
"paho-mqtt": "^1.1.0",
|
"paho-mqtt": "^1.1.0",
|
||||||
"socket.io-client": "^3.0.3",
|
"socket.io-client": "^3.0.3",
|
||||||
|
|||||||
Reference in New Issue
Block a user