Repository navigation
Feat/001 image conversion mvp - #1
Merged
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.