Preserve preview harness, editor, email and task improvements

Snapshot current maintainer-preview application changes and regression fixtures for integration into lab. Excludes local runtime data, evaluation outputs and source backups. Focused Python regression selection: 140 passed; full suite not certified.
This commit is contained in:
pewdiepie-archdaemon
2026-10-01 01:34:26 +00:00
parent 86f376ac3a
commit 2e8413a54a
170 changed files with 11010 additions and 1094 deletions
+9 -1
View File
@@ -99,6 +99,14 @@ export function wireImport({ container, saveState, createLayer, composite, rende
document.getElementById('ge-import-file')?.addEventListener('click', () => importFileInput.click());
document.getElementById('ge-import-paste')?.addEventListener('click', async () => {
const pasteFromKeyboard = () => {
document.getElementById('gallery-editor-container')?.focus();
uiModule?.showToast('Press Ctrl+V to paste the image');
};
if (!navigator.clipboard?.read) {
pasteFromKeyboard();
return;
}
try {
const clipItems = await navigator.clipboard.read();
let blob = null;
@@ -113,7 +121,7 @@ export function wireImport({ container, saveState, createLayer, composite, rende
img.onerror = () => { URL.revokeObjectURL(url); if (uiModule) uiModule.showToast('Failed to load clipboard image'); };
img.src = url;
} catch (e) {
if (uiModule) uiModule.showToast('Clipboard access denied or no image available');
pasteFromKeyboard();
}
});