Repository navigation
Build the drawer UI from the prototype - #12
Merged
Merged
Conversation
The plan is the interface: drag, turn and set things aside, choose how each is held, lock what's built, and every change edits the drawer file in place, leaving its comments and layout alone. Folders open with the File System Access API; without it, files open and save by downloading. A 3D view previews the holders dunnage works out. The core now works out holders from their methods and the base (plan), snaps moves (snap), and makes the edits as text (actions on top of source), so an agent can make the same edits. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
Closes #5
Rebuilds Hailey's
docs/prototypes/drawer-tool-ui/prototype (through round 4.2) as the real app.What's in it
src/core/source.ts).Core
The prototype's logic lives in
src/core, with no DOM, so the CLI and agents can use it:plansnapactionssourcespecread()returns a drawer even when it has layout problems, so the UI can show those problems instead of refusing the file.This is a feature, so the version goes from 0.2.0 to 0.3.0.
Left for other tickets
dunnage export's job.export: locked/<id>.3mf. For now itssha256is a hash of the holder's method, holds and shape, not of a 3MF. Export holders to 3MF and spec sheets with dunnage export #4 should switch it to the exported file's hash.lockblock. The format has nounlocked:record, unlike the prototype.Checks
bun run typecheck,bun run test(116 tests, with new suites for source, plan, snap and actions),bun run buildandbun run validateall pass.dunnage check. The only problems it reported came from the base switches the test made, as expected.🤖 Generated with Claude Code