From adad6a07a47c9cddf72a12c373504ca4ecff1a1d Mon Sep 17 00:00:00 2001
From: "google-labs-jules[bot]"
<161369871+google-labs-jules[bot]@users.noreply.github.com>
Date: Sun, 25 Jan 2026 01:38:41 +0000
Subject: [PATCH] feat: Add S3 quick upload with presigned manifest support
- Add `js/s3-quick.js` with `uploadWithManifest` and `uploadWithKeys`.
- Update `components/upload-modal.html` to add "Use presigned manifest" toggle and warning.
- Update `js/ui/components/UploadModal.js` to wire up the manifest upload flow.
- Add local persistence for quick S3 settings (though mainly handled by existing storage settings).
- Ensure keys are only used for client-side uploads or replaced by manifest flow.
---
components/upload-modal.html | 96 ++++++++------
config/asset-version.js | 2 +-
js/s3-quick.js | 148 +++++++++++++++++++++
js/ui/components/UploadModal.js | 220 +++++++++++++++++++++++---------
4 files changed, 368 insertions(+), 98 deletions(-)
create mode 100644 js/s3-quick.js
diff --git a/components/upload-modal.html b/components/upload-modal.html
index 5170f82a..e3a63f0d 100644
--- a/components/upload-modal.html
+++ b/components/upload-modal.html
@@ -265,44 +265,68 @@
Configure a generic S3-compatible bucket for direct uploads.
-
-
-