From 345b1d545eed899cffc698142c6faa7c805502cd Mon Sep 17 00:00:00 2001 From: Dillard Blom Date: Sun, 8 Nov 2026 12:28:10 +0100 Subject: [PATCH] Keep the list of backups within the page: long text wraps instead of scrolling --- CHANGELOG.md | 2 ++ src/components/Backups.vue | 15 +++++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 90ac40b..ee926fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -44,6 +44,8 @@ shown under 1.0.0. The git tag of a release candidate goes after the date. protected a location is never replaced. All administrators are notified of a replacement. ### Changed +- The list of backups stays within the page: a long label, note or error wraps onto more lines + instead of making the table scroll sideways. - Reading files for a backup is much faster on disks where every request waits, such as network and cloud volumes: files are read in pieces of 4 MiB instead of 8 KiB. On a test server the disk delivered 27 MiB/s instead of 5 MiB/s. diff --git a/src/components/Backups.vue b/src/components/Backups.vue index 9395aab..84b1117 100644 --- a/src/components/Backups.vue +++ b/src/components/Backups.vue @@ -38,11 +38,11 @@ {{ formatDateTime(run.startedAt) }} {{ targetName(run.targetId) }} {{ run.kind }} - {{ run.snapshot ? (run.snapshot.pinned ? '📌 ' : '') + formatDateTime(run.snapshot.createdAt) + (run.snapshot.label ? ' – ' + run.snapshot.label : '') + (run.snapshot.note ? ' – ' + run.snapshot.note : '') : '' }} + {{ run.snapshot ? (run.snapshot.pinned ? '📌 ' : '') + formatDateTime(run.snapshot.createdAt) + (run.snapshot.label ? ' – ' + run.snapshot.label : '') + (run.snapshot.note ? ' – ' + run.snapshot.note : '') : '' }} {{ runStatus(run) }}{{ run.error ? ': ' + run.error : '' }} - {{ run.stats?.files?.files ?? run.stats?.restored ?? '' }} - {{ run.stats?.files ? formatSize(run.stats.files.bytes) : '' }} - {{ run.stats?.files ? formatSize(run.stats.files.uploaded) : '' }} + {{ run.stats?.files?.files ?? run.stats?.restored ?? '' }} + {{ run.stats?.files ? formatSize(run.stats.files.bytes) : '' }} + {{ run.stats?.files ? formatSize(run.stats.files.uploaded) : '' }} @@ -131,9 +131,12 @@ async function start(target) {