Repository navigation
Add standalone parts manager and shared UI library - #3
Merged
Merged
Conversation
- Add openecraft-parts-manager: standalone app (desktop + web) to create, edit, rename and delete the parts of a parts server, upload CSV/JSON parts files and export all parts - Add the openecraft-ui crate with the part tree, part editor, 2D/3D model previews, parts server client (now with save and delete) and file I/O, moved out of the editor - Move the 3D vector math / orbit camera and PartsDb::merge into openecraft-parts - Extend the test layout and glyph checks to the new crates - Update README, AGENTS.md, CI and the launch configurations 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-parts-manager(parts-manager/): a standalone application for maintaining the parts of anopenecraft-server. It runs on Windows, Linux, macOS and in the browser.Ctrl+S), reverted and deleted. Renaming saves the part under the new number and then deletes the old number.openecraft-ui(crates/openecraft-ui): egui code shared by the editor and the manager, moved out of the editor:save= PUT anddelete);openecraft-parts:vec3module (vector math and theOrbitcamera), used by the panel 3D view and the mesh preview;PartsDb::merge.parts_ui.rs,io.rsandpanel_ui.rsnow use the libraries,parts_server.rsis removed, and unused direct dependencies are dropped. Net −530 lines in the editor.parts-manager/src/session.rs. That module contains no UI code and is unit tested.crates/openecraft-uiandparts-manager.parts-manager/index.htmlandTrunk.toml(port 8082).Note for reviewers
render::Drawwith the editor palette, so it may look slightly different. The page / SVG rendering of models is unchanged.Test plan
cargo test --workspace: 72 testscargo clippy --workspace --all-targetsandcargo clippy -p openecraft -p openecraft-parts-manager --target wasm32-unknown-unknownare cleantrunk buildfromparts-manager/TEST.RELAY-1(checked on the server with curl);TEST.RELAY-1B(old number deleted on the server);🤖 Generated with Claude Code