Add delete and download functionality to SSTV image gallery

Users can now manage decoded SSTV images with download and delete actions
accessible from hover overlays on gallery cards, the full-size image modal
toolbar, and a "Clear All" button in the gallery header. Both ISS and
General SSTV modes are supported.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Smittix
2026-02-07 12:12:26 +00:00
parent 6c89921f65
commit 870a7ca59c
8 changed files with 527 additions and 10 deletions
+8 -2
View File
@@ -2027,7 +2027,10 @@
</svg>
Decoded Images
</div>
<span class="sstv-gallery-count" id="sstvImageCount">0</span>
<div style="display:flex;align-items:center;gap:4px;">
<span class="sstv-gallery-count" id="sstvImageCount">0</span>
<button class="sstv-gallery-clear-btn" onclick="SSTV.deleteAllImages()" title="Delete all images">Clear All</button>
</div>
</div>
<div class="sstv-gallery-grid" id="sstvGallery">
<div class="sstv-gallery-empty">
@@ -2109,7 +2112,10 @@
</svg>
Decoded Images
</div>
<span class="sstv-general-gallery-count" id="sstvGeneralImageCount">0</span>
<div style="display:flex;align-items:center;gap:4px;">
<span class="sstv-general-gallery-count" id="sstvGeneralImageCount">0</span>
<button class="sstv-general-gallery-clear-btn" onclick="SSTVGeneral.deleteAllImages()" title="Delete all images">Clear All</button>
</div>
</div>
<div class="sstv-general-gallery-grid" id="sstvGeneralGallery">
<div class="sstv-general-gallery-empty">