ux(log): clarify logToFile also affects restart dedup
Deep bug-hunt of the per-hoster logToFile feature found the feature itself clean (7 data flows traced: secret-store leaves hosterSettings alone, save round-trip preserves the key for account-less hosters, backup import/export round-trips, updateSettings full-replaces with default-true fallback, checkbox branch precedes numeric coercion, boolean survives IPC→JSON→parse intact). The one real interaction effect: _autoDeduplicateFromLog reads fileuploader.log on startup to drop already-uploaded files from the restored queue. With logToFile off for a hoster, its entries are absent, so the same file could be re-uploaded after a restart. The dedup↔log coupling predates this feature; the toggle just makes it observable. Make it transparent in the checkbox hint rather than silently shipping the surprise. Full decoupling (a separate always-written dedup index independent of the user-facing log) is a larger, separate change with its own risk surface — deferred unless wanted. 147/147 tests still green.
This commit is contained in:
parent
042f3d0ef9
commit
bd42c86796
@ -2829,7 +2829,7 @@ function renderSettings() {
|
|||||||
<div class="settings-row">
|
<div class="settings-row">
|
||||||
<label>Links in Log schreiben</label>
|
<label>Links in Log schreiben</label>
|
||||||
<input type="checkbox" class="hs-input settings-autosave" data-hoster="${name}" data-hs="logToFile" ${hs.logToFile !== false ? 'checked' : ''}>
|
<input type="checkbox" class="hs-input settings-autosave" data-hoster="${name}" data-hs="logToFile" ${hs.logToFile !== false ? 'checked' : ''}>
|
||||||
<span class="hint">Erfolgreiche Links dieses Hosters in fileuploader.log</span>
|
<span class="hint">Erfolgreiche Links in fileuploader.log. Aus = auch kein Doppel-Upload-Schutz beim Neustart für diesen Hoster.</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user