Skip to content

Commit 6335b18

Browse files
committed
Dependencies update & minor history view page update.
1 parent ef0e75b commit 6335b18

File tree

3 files changed

+361
-345
lines changed

3 files changed

+361
-345
lines changed

composer.lock

+20-17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/pages/history/[id]/index.vue

+8-2
Original file line numberDiff line numberDiff line change
@@ -425,10 +425,11 @@
425425
<i v-if="showRawData" class="fas fa-arrow-up"></i>
426426
<i v-else class="fas fa-arrow-down"></i>
427427
</span>
428-
<span>Show raw data...</span>
428+
<span>Show raw unfiltered data</span>
429429
</span>
430430
</span>
431-
<div v-if="showRawData" class="mt-2">
431+
<p class="subtitle">Useful for debugging.</p>
432+
<div v-if="showRawData" class="mt-2" style="position: relative;">
432433
<code class="is-block is-pre-wrap">{{
433434
JSON.stringify(Object.keys(data)
434435
.filter(key => !['files', 'hardware', 'content_exists', '_toggle'].includes(key))
@@ -437,6 +438,10 @@
437438
return obj;
438439
}, {}), null, 2)
439440
}}</code>
441+
<button class="button m-4" v-tooltip="'Copy text'" @click="() => copyText(JSON.stringify(data, null, 2))"
442+
style="position: absolute; top:0; right:0;">
443+
<span class="icon"><i class="fas fa-copy"></i></span>
444+
</button>
440445
</div>
441446
</div>
442447

@@ -480,6 +485,7 @@
480485
import request from '~/utils/request'
481486
import {
482487
ag,
488+
copyText,
483489
formatDuration,
484490
makeGUIDLink,
485491
makeName,

0 commit comments

Comments
 (0)