From caca630c6608258421bc1494670c1230f892a369 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 8 Jan 2026 14:27:36 +0000 Subject: [PATCH] Refactor Upload Modal to Unified UI - Replaces split "Custom" vs "Cloudflare" forms with a single unified form - Implements source switching between "Upload File" and "External Link" - Consolidates NIP-71 advanced fields into a single collapsible section - Moves R2 storage configuration to a dedicated, collapsible settings block - Improves responsiveness and modernizes the UI layout - Updates internal JS logic to handle unified form submission and validation --- components/upload-modal.html | 2010 +++++-------------------------- js/ui/components/UploadModal.js | 1713 +++++++------------------- 2 files changed, 725 insertions(+), 2998 deletions(-) diff --git a/components/upload-modal.html b/components/upload-modal.html index 765e365b..70273174 100644 --- a/components/upload-modal.html +++ b/components/upload-modal.html @@ -11,8 +11,8 @@
-