From b2fb86021b6f0df4f62969c672d12b74ed95b090 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Tue, 17 Jun 2025 22:20:04 +0100 Subject: [PATCH] UI updates: Remove NIP96, implement auto-upload, default compression, and simplified quota display (#32) * Initial plan for issue * Implement UI updates: Remove NIP96, auto-upload, default compression, updated quota display Co-authored-by: v0l <1172179+v0l@users.noreply.github.com> * Remove unnecessary Blossom protocol comment from HTML interface Co-authored-by: v0l <1172179+v0l@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: v0l <1172179+v0l@users.noreply.github.com> --- index.html | 21 +--- ui_src/src/upload/index.ts | 33 ++++++ ui_src/src/views/upload.tsx | 219 ++++++++++++------------------------ 3 files changed, 107 insertions(+), 166 deletions(-) diff --git a/index.html b/index.html index abab362..856944f 100644 --- a/index.html +++ b/index.html @@ -66,13 +66,7 @@ const file = input.files[0]; console.debug(file); - const r_nip96 = document.querySelector("#method-nip96").checked; - const r_blossom = document.querySelector("#method-blossom").checked; - if (r_nip96) { - await uploadFilesNip96(file) - } else if (r_blossom) { - await uploadBlossom(file); - } + await uploadBlossom(file); } catch (ex) { if (ex instanceof Error) { alert(ex.message); @@ -147,16 +141,7 @@ Welcome to route96
No quota information available
-- Contact administrator for storage access -
-