feat: copy sanitized upload failure details

Expose a contextual copy action only for failed uploads, target the exact right-clicked job during multi-selection, and defensively redact URLs and credential-shaped values from clipboard diagnostics.
This commit is contained in:
Sucukdeluxe
2026-08-21 02:24:40 +02:00
parent d58854c6c9
commit 8373f3ff7b
6 changed files with 87 additions and 2 deletions
+6
View File
@@ -21,6 +21,12 @@ test('translates the account check timestamp label', () => {
assert.equal(translateText('checked', 'de'), 'geprüft');
});
test('translates the failure detail clipboard action', () => {
assert.equal(translateText('Fehlerdetails kopieren', 'en'), 'Copy failure details');
assert.equal(translateText('Failure details copied', 'de'), 'Fehlerdetails kopiert');
assert.equal(translateText('Antwortauszug', 'en'), 'Response excerpt');
});
test('English is the fallback language and German remains selectable', () => {
assert.equal(normalizeLanguage(), 'en');
assert.equal(normalizeLanguage('fr'), 'en');