Repository navigation
Save and open the workspace as a .kproj project - #265
Merged
Merged
Conversation
Squashed from #220 (50dedcd, 00aef66) onto develop. Adapted to develop: drop the removed Algorithm Weight from the project state (older files that carry it still open), build replaceWorkspaceImage on history's retained-URL release instead of revoking URLs by hand, and block project open/save while a crashed session is still being recovered. Co-Authored-By: Claude Opus 5.5 <[email protected]>
develop now opens on the start screen instead of a preloaded logo, so the first import left nothing to undo. Start from the sample so the check that history survives a failed open still has a step to keep. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The project format hasn't shipped, so the save name, the open picker, the desktop save filter, the guides in 12 languages, the changelog and the tests switch from .kromacut to .kproj with no fallback. Co-Authored-By: Claude Opus 5.5 <[email protected]>
- A panel replaced by Open project or Apply no longer commits stale adjustments on unmount, so a pending Reset can't overwrite them. - A palette file still being read when a project opens imports without replacing the project's palette selection. - Per-region stacks and its filament limit are saved and restored. - Loading another image or removing the image leaves the project, and print settings and working filaments save as defaults again. - An unusable palette snapshot is ignored instead of rejecting the file, the color count is at least 2, and archives with more than 204 entries are refused from the ZIP directory before JSZip parses them. Save rejects an oversized image before encoding it. - Color cleanup shows its progress overlay again. - The changelog entry moves to Unreleased, and the guide section sits before the Next link and explains when defaults save. Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Projects save and restore Keep detail; older files open with it off. - The ZIP check walks the central directory and counts its records, and refuses multi-disk and ZIP64 archives, before JSZip parses anything. - A palette import that started before a project opened, from the file picker or an OS open, neither selects itself nor overwrites the palette the project selected; it imports as a copy instead. - Leaving a project without visiting 3D saves its print settings as defaults, like the 3D controls do when they are mounted. The guides say the settings in use become defaults again. Co-Authored-By: Claude Opus 5.5 <[email protected]>
JSZip treats bytes between the central directory and the end record as data in front of the archive and reads its records from a shifted offset, so a decoy directory could pass the count. Kromacut never writes such a gap, so it is refused. Co-Authored-By: Claude Opus 5.5 <[email protected]>
develop's multi-palette select (#262) replaces the single selected palette with a list. Projects now save the checked palette IDs and a snapshot of each checked custom palette, and still open version 1 files that stored a single paletteId and palette. Opening restores every checked palette the same way as before: built-ins by ID, custom palettes as copies unless an identical one exists, without overwriting library palettes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Dec 1, 2026
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.
Supersedes #220 by @JohnSt99, rebased onto current
developwith their work and authorship kept, as one squashed commit. Tracks #25 (basic save/load first).Save project writes a versioned
.kprojZIP with the current image as PNG andproject.json, which holds:Open project asks first, checks the whole file and decodes the image before it replaces anything, and starts a fresh undo history. Rebuild the 3D model afterwards.
Changes from #220:
.kproj, chosen by the maintainer, with no.kromacutfallback since the format never shipped. Algorithm Weight was removed from develop, so it isn't saved; older files that carry it still open.Proof:
@smokee2e tests cover a save and Open round trip, corrupt files, palette snapshots, adjustments plus 3D options plus defaults resuming, and late palette imports. Each regression test failed with its fix reverted.tsc,npm test(1458), i18n, docs andtest:e2e:allon fresh servers (port 52067).Council review
Rounds: 6
Rounds 5 and 6 reviewed the merges of #262 and #261 into this branch.
🤖 Generated with Claude Code