mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
upload: in-modal "Upload destination" storage picker (#44)
The storage summary gains a connection <select> (hidden with fewer than two connections) listing every configured connection with the default labelled. Selection is a per-modal override — loadFromStorage re-resolves the summary and credentials immediately, stale selections fall back to the default, and the account default stays untouched. Picker logic lives in uploadModalStorageUnlock.js for UploadModal's file-size budget. Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
1 parent
d1a578f3a2
commit
35a50611fe
5 files changed
+217
-20
No files matched your search
@@ -153,6 +153,11 @@
|
||||
<button type="button" id="btn-manage-storage" class="text-xs text-muted hover:text-text hover:underline">Manage</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- #44: switch upload destination without leaving the modal -->
|
||||
<div id="storage-connection-picker" class="hidden space-y-1">
|
||||
<label for="select-storage-connection" class="text-xs text-muted">Upload destination</label>
|
||||
<select id="select-storage-connection" class="input input-sm text-xs"></select>
|
||||
</div>
|
||||
<div class="grid grid-cols-3 gap-2 text-xs">
|
||||
<div class="min-w-0">
|
||||
<span class="block text-muted">Provider</span>
|
||||
|
||||
Reference in new issue
Block a user