From 1af67eea4ea14d654b38195619f34c3f31c37cef Mon Sep 17 00:00:00 2001 From: Nico Verbruggen Date: Sun, 15 Mar 2026 22:31:07 +0100 Subject: [PATCH] WIP --- src/public/app.js | 5 ++ src/public/index.html | 1 + src/public/patch-worker.js | 50 +++++++++++++++++ src/public/style.css | 2 +- wip/architecture.md | 106 ++++++++++++++++++++++++------------- wip/todo.md | 29 +++++++--- 6 files changed, 147 insertions(+), 46 deletions(-) create mode 100644 src/public/patch-worker.js diff --git a/src/public/app.js b/src/public/app.js index ac66b6a..f10192f 100644 --- a/src/public/app.js +++ b/src/public/app.js @@ -300,6 +300,11 @@ (resultTgz.length / 1024).toFixed(0) + ' KB.'; writeSuccess.hidden = true; + // Copy log to done step + const doneLog = document.getElementById('done-log'); + doneLog.textContent = buildLog.textContent; + doneLog.scrollTop = doneLog.scrollHeight; + // In manual mode, hide the "Write to Kobo" button btnWrite.hidden = manualMode; diff --git a/src/public/index.html b/src/public/index.html index 40356bd..06cc5d4 100644 --- a/src/public/index.html +++ b/src/public/index.html @@ -105,6 +105,7 @@