Merged
Conversation
BREAKING CHANGE: Repository structure completely reorganized Old structure: - crates/syster-base, crates/syster-cli, crates/syster-lsp - editors/vscode-lsp, editors/vscode-modeller, editors/vscode-viewer - packages/diagram-core, packages/diagram-ui New structure: - core/ (syster-base) - cli/ (syster-cli) - lsp/server/ (syster-lsp) - lsp/vscode/ (vscode-lsp extension) - modeller/core/ (diagram-core) - modeller/ui/ (diagram-ui) - modeller/vscode/ (vscode-modeller extension) - viewer/vscode/ (vscode-viewer extension) Benefits: - Feature grouping: related components are together - Clearer organization: LSP server + extension in same folder - No more awkward nesting (crates/syster-lsp/crates/syster-lsp) Updated: - Cargo.toml workspace configuration - package.json workspaces - devcontainer.json paths - README.md documentation - copilot-instructions.md
- Renamed core/ to base/ - Moved lsp/server to language-server/ - Moved lsp/vscode to language-client/ - Moved modeller/vscode to modeller/ - Moved viewer/vscode to viewer/ - Moved modeller/core to diagram-core/ - Moved modeller/ui to diagram-ui/ - Removed root-level Cargo.toml, package.json, bun.lock - Updated CI workflow to validate structure - Updated release workflow to collect all artifacts - Updated README and copilot-instructions
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request restructures the repository from a nested directory layout (crates/, packages/, editors/) to a flat, feature-based structure, and removes obsolete internal documentation files. The restructure simplifies the repository layout by moving submodules to the root level with descriptive names.
Changes:
- Reorganized submodules from nested directories to flat root-level directories with clear naming
- Removed internal instructional and checklist files that are no longer needed
- Updated documentation and CI workflows to reflect the new directory structure
Reviewed changes
Copilot reviewed 31 out of 32 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| viewer | Added new viewer submodule at root level |
| packages/diagram-ui | Removed nested diagram-ui submodule |
| packages/diagram-core | Removed nested diagram-core submodule |
| package.json | Removed root package.json for meta-repository setup scripts |
| modeller | Added new modeller submodule at root level |
| language-server | Added new language-server submodule at root level |
| language-client | Added new language-client submodule at root level |
| editors/vscode-viewer | Removed nested vscode-viewer submodule |
| editors/vscode-modeller | Removed nested vscode-modeller submodule |
| editors/vscode-lsp | Removed nested vscode-lsp submodule |
| diagram-ui | Added new diagram-ui submodule at root level |
| diagram-core | Added new diagram-core submodule at root level |
| crates/syster-lsp | Removed nested syster-lsp submodule |
| crates/syster-cli | Removed nested syster-cli submodule |
| crates/syster-base | Removed nested syster-base submodule |
| cli | Added new cli submodule at root level |
| base | Added new base submodule at root level |
| README.md | Updated to reflect new flat directory structure and component paths |
| Cargo.toml | Removed workspace Cargo.toml as submodules are now independent |
| .gitmodules | Reorganized submodule paths from nested to flat structure |
| .github/workflows/release.yml | Updated to download and package artifacts from all components |
| .github/workflows/copilot-auto-retry.yml | Removed auto-retry workflow file |
| .github/workflows/ci.yml | Updated validation to check for new flat directory structure |
| .github/instructions/vscode-extension.md | Removed VS Code extension development instructions |
| .github/instructions/refactor-lsp.md | Removed LSP refactoring checklist |
| .github/instructions/documentation.md | Removed documentation guidelines |
| .github/instructions/copilot-instructions.md | Removed Rust development instructions |
| .github/instructions/configuration.md | Removed configuration files guidelines |
| .github/instructions/chore.md | Removed pre-commit checklist |
| .github/copilot-instructions.md | Updated repository structure section and VS Code extension path references |
| .devcontainer/devcontainer.json | Updated postCreateCommand to reference new directory paths |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
jade-codes
added a commit
that referenced
this pull request
Feb 3, 2026
* refactor: reorganize to feature-based structure BREAKING CHANGE: Repository structure completely reorganized Old structure: - crates/syster-base, crates/syster-cli, crates/syster-lsp - editors/vscode-lsp, editors/vscode-modeller, editors/vscode-viewer - packages/diagram-core, packages/diagram-ui New structure: - core/ (syster-base) - cli/ (syster-cli) - lsp/server/ (syster-lsp) - lsp/vscode/ (vscode-lsp extension) - modeller/core/ (diagram-core) - modeller/ui/ (diagram-ui) - modeller/vscode/ (vscode-modeller extension) - viewer/vscode/ (vscode-viewer extension) Benefits: - Feature grouping: related components are together - Clearer organization: LSP server + extension in same folder - No more awkward nesting (crates/syster-lsp/crates/syster-lsp) Updated: - Cargo.toml workspace configuration - package.json workspaces - devcontainer.json paths - README.md documentation - copilot-instructions.md * refactor: restructure repo - rename core to base, flatten submodules - Renamed core/ to base/ - Moved lsp/server to language-server/ - Moved lsp/vscode to language-client/ - Moved modeller/vscode to modeller/ - Moved viewer/vscode to viewer/ - Moved modeller/core to diagram-core/ - Moved modeller/ui to diagram-ui/ - Removed root-level Cargo.toml, package.json, bun.lock - Updated CI workflow to validate structure - Updated release workflow to collect all artifacts - Updated README and copilot-instructions * fix: update devcontainer postCreateCommand path * fix: remove postCreateCommand from devcontainer * Update .github/copilot-instructions.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update .github/copilot-instructions.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * docs: add architecture diagram to README --------- Co-authored-by: Jade Wilson <jade_@LAPTOP-TB2FDPJ4.localdomain> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
jade-codes
added a commit
that referenced
this pull request
Feb 3, 2026
* refactor: reorganize to feature-based structure BREAKING CHANGE: Repository structure completely reorganized Old structure: - crates/syster-base, crates/syster-cli, crates/syster-lsp - editors/vscode-lsp, editors/vscode-modeller, editors/vscode-viewer - packages/diagram-core, packages/diagram-ui New structure: - core/ (syster-base) - cli/ (syster-cli) - lsp/server/ (syster-lsp) - lsp/vscode/ (vscode-lsp extension) - modeller/core/ (diagram-core) - modeller/ui/ (diagram-ui) - modeller/vscode/ (vscode-modeller extension) - viewer/vscode/ (vscode-viewer extension) Benefits: - Feature grouping: related components are together - Clearer organization: LSP server + extension in same folder - No more awkward nesting (crates/syster-lsp/crates/syster-lsp) Updated: - Cargo.toml workspace configuration - package.json workspaces - devcontainer.json paths - README.md documentation - copilot-instructions.md * refactor: restructure repo - rename core to base, flatten submodules - Renamed core/ to base/ - Moved lsp/server to language-server/ - Moved lsp/vscode to language-client/ - Moved modeller/vscode to modeller/ - Moved viewer/vscode to viewer/ - Moved modeller/core to diagram-core/ - Moved modeller/ui to diagram-ui/ - Removed root-level Cargo.toml, package.json, bun.lock - Updated CI workflow to validate structure - Updated release workflow to collect all artifacts - Updated README and copilot-instructions * fix: update devcontainer postCreateCommand path * fix: remove postCreateCommand from devcontainer * Update .github/copilot-instructions.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update .github/copilot-instructions.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * docs: add architecture diagram to README --------- Co-authored-by: jade-codes <jade_@LAPTOP-TB2FDPJ4.localdomain> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
jade-codes
added a commit
that referenced
this pull request
Feb 3, 2026
* refactor: reorganize to feature-based structure BREAKING CHANGE: Repository structure completely reorganized Old structure: - crates/syster-base, crates/syster-cli, crates/syster-lsp - editors/vscode-lsp, editors/vscode-modeller, editors/vscode-viewer - packages/diagram-core, packages/diagram-ui New structure: - core/ (syster-base) - cli/ (syster-cli) - lsp/server/ (syster-lsp) - lsp/vscode/ (vscode-lsp extension) - modeller/core/ (diagram-core) - modeller/ui/ (diagram-ui) - modeller/vscode/ (vscode-modeller extension) - viewer/vscode/ (vscode-viewer extension) Benefits: - Feature grouping: related components are together - Clearer organization: LSP server + extension in same folder - No more awkward nesting (crates/syster-lsp/crates/syster-lsp) Updated: - Cargo.toml workspace configuration - package.json workspaces - devcontainer.json paths - README.md documentation - copilot-instructions.md * refactor: restructure repo - rename core to base, flatten submodules - Renamed core/ to base/ - Moved lsp/server to language-server/ - Moved lsp/vscode to language-client/ - Moved modeller/vscode to modeller/ - Moved viewer/vscode to viewer/ - Moved modeller/core to diagram-core/ - Moved modeller/ui to diagram-ui/ - Removed root-level Cargo.toml, package.json, bun.lock - Updated CI workflow to validate structure - Updated release workflow to collect all artifacts - Updated README and copilot-instructions * fix: update devcontainer postCreateCommand path * fix: remove postCreateCommand from devcontainer * Update .github/copilot-instructions.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update .github/copilot-instructions.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * docs: add architecture diagram to README --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.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.
This pull request removes several project-specific instructional and checklist files from the
.github/instructionsdirectory and updates documentation to reflect recent changes in the repository structure. It also refines the devcontainer setup commands for improved environment initialization.Documentation and Instruction Cleanup:
.github/instructions/chore.md,.github/instructions/configuration.md, and.github/instructions/copilot-instructions.md, removing internal checklists and contributor guides that are no longer needed or have been superseded. [1] [2] [3]Repository Structure and Docs Update:
.github/copilot-instructions.mdto reflect the new repository structure, including renaming and reorganizing directories for core components and extensions..github/copilot-instructions.mdto match the new directory layout.Devcontainer Improvements:
.devcontainer/devcontainer.jsonto clean up submodule initialization and simplify post-create commands, ensuring a more reliable and streamlined setup process.