feat: owner review 2 phase 4b: mass conversion after import (#13)
CI / Build and test (push) Failing after 3m1s
CI / PostgreSQL 16 integration (push) Skipped
CI / PostgreSQL 17 integration (push) Skipped
CI / Docker image (push) Skipped
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 10s
Release / Build, test and publish (push) Successful in 15m31s
Release / Server image (push) Successful in 1m13s

Convert photos already in the archive to JPEG, TIFF-16 or Linear DNG, from the panel's Library and the desktop's Archive and Library. Each run asks Replace (same frames, originals to the trash, recoverable) or New sequence. A dry run lists what converts, what is skipped and why, size before and after, and free space; the job converts exactly the confirmed photos, resumes, and commits all or nothing per sequence. A conversion never changes what Chronos reads from a photo. Replaced originals are erased only on the archive's own word that their conversion is gone. Desktop TIFFs that WIC showed black or as noise now go to the managed reader; the Edit picker no longer spins a core.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Alberto Balbo <alberto.balbo.96@gmail.com>
This commit was merged in pull request #13.
This commit is contained in:
Alby96andClaude Opus 5.5 authored and Alby96 committed 2026-11-03 10:41:50 +01:00
1 parent 7e4a3b481d
commit efa87f68ce
354 files changed
+24530 -843

No files matched your search

+29 -10
View File
@@ -433,14 +433,15 @@ dialog.dialog.reorganize { width: 960px; }
.reorg-fields .field-error { grid-column: 2; color: var(--error); font-size: 12px; overflow-wrap: anywhere; }
.reorg-fields .field-error:empty { display: none; }
.reorg-totals { min-height: 18px; color: var(--text-muted); }
.reorg-preview { max-height: 46vh; overflow: auto; border: 1px solid var(--stroke); border-radius: var(--radius); background: var(--bg); }
.reorg-preview:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.reorg-preview.stale .table { opacity: .55; }
/* A dry run's table, Reorganize's and Convert's: scrolls inside the dialog, dimmed while it no longer matches the fields. */
.reorg-preview, .plan-preview { max-height: 46vh; overflow: auto; border: 1px solid var(--stroke); border-radius: var(--radius); background: var(--bg); }
.reorg-preview:focus-visible, .plan-preview:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.reorg-preview.stale .table, .plan-preview.stale .table { opacity: .55; }
.table.reorg { grid-template-columns: minmax(120px, 1fr) minmax(160px, 1.3fr) minmax(160px, 1.3fr); font-size: 12px; }
.table.reorg .thead { position: sticky; top: 0; z-index: 1; padding: 8px 12px; background: var(--bg); }
.table.reorg .row { min-height: 0; padding: 8px 12px; align-items: start; }
.table.reorg .row:hover { background: none; }
.table.reorg .row:last-child { border-bottom: 0; }
.table.reorg .thead, .table.convert .thead { position: sticky; top: 0; z-index: 1; padding: 8px 12px; background: var(--bg); }
.table.reorg .row, .table.convert .row { min-height: 0; padding: 8px 12px; align-items: start; }
.table.reorg .row:hover, .table.convert .row:hover { background: none; }
.table.reorg .row:last-child, .table.convert .row:last-child { border-bottom: 0; }
.table.reorg .pill { align-self: flex-start; margin-block-start: 4px; }
.change { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.change .was { color: var(--text-muted); text-decoration: line-through; }
@@ -448,11 +449,29 @@ dialog.dialog.reorganize { width: 960px; }
.reorg-samples, .reorg-kept { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 2px; }
.reorg-samples { color: var(--text-muted); }
.reorg-kept { color: var(--warning); }
.reorg-preview .table-foot { padding: 8px 12px; border-top: 1px solid var(--stroke); }
.reorg-preview .table-foot, .plan-preview .table-foot { padding: 8px 12px; border-top: 1px solid var(--stroke); }
/* Convert dialog (owner review 2, R7, convert.js): format, JPEG quality and mode side by side (the mode never preselected),
the dry run's totals and space line, then per sequence the photos converted, those left as they are with why (what
blocks the whole sequence first, ▲ in the warning colour) and the size before and after. */
dialog.dialog.convert { width: 960px; }
.convert-fields { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px 32px; }
.convert-choice { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.convert-choice legend { color: var(--text-muted); padding: 0; margin-block-end: 8px; }
.convert-choice[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 4px; border-radius: var(--radius); }
.convert-quality .input { width: 88px; }
.convert-summary { display: grid; gap: 4px; min-height: 18px; color: var(--text-muted); }
.convert-space.short { color: var(--error); }
.convert-next { color: var(--text); }
.table.convert { grid-template-columns: minmax(140px, 1.3fr) max-content minmax(160px, 1.6fr) max-content; font-size: 12px; }
.plan-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; color: var(--text-muted); }
.plan-notes .blocked { color: var(--warning); }
/* Narrow windows: each step's cells one under the other; the column names stay for screen readers. */
@media (max-width: 700px) {
.table.reorg { grid-template-columns: minmax(0, 1fr); }
.table.reorg .thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.table.reorg, .table.convert { grid-template-columns: minmax(0, 1fr); }
.table.reorg .thead, .table.convert .thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.table.convert .end { justify-self: start; }
}
/* About: the last group of Settings (owner review 2); #/about scrolls to it below the sticky header and focuses its heading. */