From 2b446e8dddbb9a22bf6fde3c2773278120134eba Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 16 Jan 2026 15:44:22 +0000 Subject: [PATCH] Refactor upload modal for generic storage and read-only config - Updates Upload Modal UI labels to be provider-agnostic (e.g., 'Storage Credentials', 'Endpoint'). - Implements a read-only 'Summary View' for configured storage connections, collapsing the editable form by default. - Adds 'Manage Storage' button that navigates to the Profile Modal's storage pane. - Updates `initUploadModal.js` to inject the navigation callback. - Updates `r2Service.js` status messages to be generic. - Fixes unlock flow to ensure UI updates after storage unlock. --- components/upload-modal.html | 173 +++++++++++++++----------- js/ui/components/UploadModal.js | 179 +++++++++++++++++++-------- js/ui/initUploadModal.js | 5 + verification/upload_modal_static.png | Bin 0 -> 57531 bytes verification/verify_static_html.py | 45 +++++++ 5 files changed, 273 insertions(+), 129 deletions(-) create mode 100644 verification/upload_modal_static.png create mode 100644 verification/verify_static_html.py diff --git a/components/upload-modal.html b/components/upload-modal.html index 2ff25196..3033ac62 100644 --- a/components/upload-modal.html +++ b/components/upload-modal.html @@ -115,93 +115,118 @@ - Configure R2 Storage + Storage Configuration - +