Merge branch 'main' into refactor/ui
This commit is contained in:
@@ -2,19 +2,7 @@
|
||||
<div class="flex flex-col group">
|
||||
<div class="flex items-center">
|
||||
<span
|
||||
class="
|
||||
cursor-pointer
|
||||
flex
|
||||
font-semibold
|
||||
flex-1
|
||||
text-xs
|
||||
min-w-0
|
||||
py-3
|
||||
pr-2
|
||||
pl-4
|
||||
transition
|
||||
group-hover:text-secondaryDark
|
||||
"
|
||||
class="cursor-pointer flex font-semibold flex-1 text-xs min-w-0 py-3 pr-2 pl-4 transition group-hover:text-secondaryDark"
|
||||
data-testid="restore_history_entry"
|
||||
@click="$emit('use-entry')"
|
||||
>
|
||||
@@ -52,13 +40,7 @@
|
||||
<span
|
||||
v-for="(line, index) in query"
|
||||
:key="`line-${index}`"
|
||||
class="
|
||||
cursor-pointer
|
||||
font-mono
|
||||
text-xs text-secondaryLight
|
||||
px-4
|
||||
truncate
|
||||
"
|
||||
class="cursor-pointer font-mono text-xs text-secondaryLight px-4 truncate"
|
||||
data-testid="restore_history_entry"
|
||||
@click="$emit('use-entry')"
|
||||
>
|
||||
|
||||
@@ -1,17 +1,7 @@
|
||||
<template>
|
||||
<div class="flex items-center group">
|
||||
<span
|
||||
class="
|
||||
cursor-pointer
|
||||
flex
|
||||
font-mono font-bold
|
||||
mx-2
|
||||
text-xs
|
||||
w-12
|
||||
justify-center
|
||||
items-center
|
||||
truncate
|
||||
"
|
||||
class="cursor-pointer flex font-mono font-bold mx-2 text-xs w-12 justify-center items-center truncate"
|
||||
:class="entryStatus.className"
|
||||
data-testid="restore_history_entry"
|
||||
:title="duration"
|
||||
@@ -20,18 +10,7 @@
|
||||
{{ entry.method }}
|
||||
</span>
|
||||
<span
|
||||
class="
|
||||
cursor-pointer
|
||||
flex
|
||||
font-semibold
|
||||
flex-1
|
||||
text-xs
|
||||
min-w-0
|
||||
py-3
|
||||
pr-2
|
||||
transition
|
||||
group-hover:text-secondaryDark
|
||||
"
|
||||
class="cursor-pointer flex font-semibold flex-1 text-xs min-w-0 py-3 pr-2 transition group-hover:text-secondaryDark"
|
||||
data-testid="restore_history_entry"
|
||||
:title="duration"
|
||||
@click="$emit('use-entry')"
|
||||
|
||||
@@ -6,44 +6,19 @@
|
||||
class="flex items-center"
|
||||
>
|
||||
<span
|
||||
class="
|
||||
flex
|
||||
font-semibold
|
||||
text-xs
|
||||
min-w-0
|
||||
p-2
|
||||
transition
|
||||
group-hover:text-secondaryDark
|
||||
"
|
||||
class="flex font-semibold text-xs min-w-0 p-2 transition group-hover:text-secondaryDark"
|
||||
>
|
||||
<span class="truncate">
|
||||
{{ header.key }}
|
||||
</span>
|
||||
</span>
|
||||
<span
|
||||
class="
|
||||
flex
|
||||
font-mono font-bold
|
||||
mx-2
|
||||
text-xs
|
||||
justify-center
|
||||
items-center
|
||||
truncate
|
||||
"
|
||||
class="flex font-mono font-bold mx-2 text-xs justify-center items-center truncate"
|
||||
>
|
||||
→
|
||||
</span>
|
||||
<span
|
||||
class="
|
||||
flex
|
||||
font-semibold
|
||||
flex-1
|
||||
text-xs
|
||||
min-w-0
|
||||
p-2
|
||||
transition
|
||||
group-hover:text-secondaryDark
|
||||
"
|
||||
class="flex font-semibold flex-1 text-xs min-w-0 p-2 transition group-hover:text-secondaryDark"
|
||||
>
|
||||
<span class="truncate">
|
||||
{{ header.value }}
|
||||
|
||||
Reference in New Issue
Block a user