Repository navigation
Add parts server, shared parts library and 2D/3D part models - #2
Merged
Merged
Conversation
- Turn the repo into a workspace; move the part model, catalog, CSV/JSON and text helpers into the openecraft-parts library crate - Add openecraft-server: standalone axum REST server for a global parts database (JSON file store, bearer token for writes, CORS, CSV export) - Add a parts server client to the editor (download, upload, status) - Add 2D front views (SVG) and 3D models (STL/OBJ) to parts, with a Graphics tab in the part editor; use them in the panel front view, mounting layout pages and the 3D view; generate models for the example catalog - Extend the test convention and glyph checks to all workspace members - Update README, AGENTS.md and CI for the workspace Co-Authored-By: Claude Opus 5.5 <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.
Summary
openecraft-partscrate (crates/openecraft-parts). The crate depends only on serde, and both executables use it.openecraft-server): a standalone axum executable that hosts a global parts database./api/v1:info,parts(list and filter),parts/{number}(GET/PUT/DELETE),importandexport.csv.--token/OPENECRAFT_TOKEN); without a token the server is read-only.GEN.*parts.--workspace, server artifacts) are updated.Note for reviewers
This branch builds on
feature/panel-layout(#1), so its two commits show up here as well. Please merge #1 first.Test plan
cargo test --workspace: 55 tests (34 app, 12 library, 9 server)cargo clippy --workspace --all-targetsand the wasm clippy run are clean🤖 Generated with Claude Code