Skip to content

Document automatic script links on Explorer renames - #43

Merged
JamieW105 merged 1 commit into
mainfrom
docs/script-links-follow-renames
Oct 14, 2026
Merged

JamieW105 merged 1 commit into
mainfrom
docs/script-links-follow-renames

Conversation

@JamieW105

@JamieW105 JamieW105 commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Explorer renames and moves now update attached script paths automatically while preserving their IDs. Document the steps, folder support, failure recovery, and the limitation for renames outside the engine.

Validation: ESLint with zero warnings, production build, TypeScript, and npm audit (zero vulnerabilities) passed.

Engine fix: Rustic-Game-Engine/engine#36

@JamieW105 JamieW105 added area:website Documentation website type:docs Documentation changes labels Oct 14, 2026 — with ChatGPT Codex Connector
JamieW105 added a commit to Rustic-Game-Engine/engine that referenced this pull request Oct 14, 2026
Renaming an attached script in Explorer previously left its registry
path pointing to the old filename, so Play could no longer find the
source. Explorer now updates the script registry while keeping the
attachment ID, language, and properties intact. File moves and folder
renames/moves update all affected script paths. Failed registry saves
roll back the file and metadata move. Invalid script destinations and
registry collisions are rejected.

Companion documentation:
Rustic-Game-Engine/docs#43

Validation:
- `cargo test -p rustic-editor explorer_tests --no-fail-fast`: 20
passed, including script identity, nested relocations, failed-save
rollback, and invalid destinations.
- `cargo fmt --all --check`: passed.
- `cargo clippy --locked -p rustic-editor --all-targets -- -D warnings`:
passed.
- Documentation lint, production build, TypeScript, and npm audit:
passed.
- Windows installer build and packaged Setup tests: passed; a fresh
`dist/RusticGameEngine-Setup-*.exe` was uploaded as
`RusticGameEngine-Windows-Installer`:
https://github.com/Rustic-Game-Engine/engine/actions/runs/38538271564.
- Full Linux CI (workspace lint, tests, rendered viewport verification,
target checks, and application smoke tests): passed.
@JamieW105
JamieW105 merged commit 6eb6052 into main Oct 14, 2026
1 check passed
@JamieW105
JamieW105 deleted the docs/script-links-follow-renames branch October 14, 2026 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:website Documentation website type:docs Documentation changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants