Skip to content

Feat/001 image conversion mvp - #1

Merged
devlargs merged 6 commits into
mainfrom
feat/001-image-conversion-mvp
Dec 4, 2026
Merged

devlargs merged 6 commits into
mainfrom
feat/001-image-conversion-mvp

Conversation

@devlargs

@devlargs devlargs commented Dec 2, 2026

Copy link
Copy Markdown
Owner

No description provided.

…r atomic writes)

Resolve the conflict between Principle I (temp files in the OS temp
directory) and Principle IV (atomic rename into place) by permitting a
single hidden, owner-only staging file in the destination folder, with
cleanup on failure, cancel, normal exit, and next launch.
Specify the first feature: 9 input and 7 output image/PDF formats (57
conversion pairs), with batch conversion, cancellation, metadata
preservation, and crash-safe output. Includes research decisions, data
model, IPC and core API contracts, quickstart validation guide, and 91
tasks organized by user story, updated with /speckit-analyze fixes.
Set up the Cargo workspace (largsform-core + Tauri 2 shell), Svelte 5 UI,
lint/test tooling, CI matrix, pinned PDFium fetch script, and fuzz targets.

Core foundation: format detection by content, header inspection, the
Converter/Decoder/Encoder traits with the decode-normalize-encode
pipeline, registry, atomic no-clobber output staging with a crash-cleanup
journal, EXIF orientation reset and metadata writing, normalization, and
a job runner with panic containment and cancellation. The Tauri shell
exposes the IPC commands from contracts/ipc.md with snapshot-tested
payloads.

Tasks: T001-T027, T030-T037
Decoders: image-crate raster decoder (JPG, PNG, WebP, TIFF, GIF) and a
pure-Rust heifer decoder for HEIC/HEIF and AVIF. Encoders: JPG, PNG,
lossy WebP (libwebp) and AVIF (ravif, speed 8, EXIF embedded).

Adds a synthetic CC0 fixture corpus with its generator, shared test
helpers, the generated conversion matrix (24/24 pairs), corrupt-input
tests, end-to-end metadata checks, and the HEIC/AVIF spikes with their
results recorded in research.md.

Tasks: T029, T038-T048
Drop zone with a keyboard-accessible Add files button, file list with
text status badges, thumbnails, errors and Open/Show in folder actions,
a 'Convert to' radio group, quality and output-folder options,
plain-language notices, and Convert/Cancel wiring over the job channel
with live-region announcements and focus management.

UI tests cover keyboard-only add, convert and cancel, error display, and
axe checks on every state. Also fixes the production build for Vite 8
(default minifier, safari16/chrome111 targets).

Tasks: T049-T054
@devlargs devlargs assigned Copilot and unassigned Copilot Dec 2, 2026
@devlargs
devlargs merged commit 925cf7b into main Dec 4, 2026
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants