Stage-10 editor-UX follow-up ("typing the path by hand is very hard to
use"). Both project dialogs gain a Browse… button that opens the native
folder picker via rfd's xdg-portal backend — pure Rust, one build works
on Wayland and X11 through xdg-desktop-portal. The dialog runs on a
helper thread reporting over an mpsc channel (polled once per frame in
Shell::build), so the editor keeps rendering while the picker is up;
one pick at a time, and the typed path field remains as a fallback for
portal-less environments.
GUI piece — needs an eye-check (on both Wayland and Xorg) before
promotion to main.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Stage-10 editor-UX follow-up, second half of in-editor script authoring:
- "✏ Edit" button on the Script inspector section (enabled once a
source is assigned) and double-click on any script in the Project
panel open the .rhai in the user's editor. Non-script assets
double-click through xdg-open.
- Resolution order: the new External Editor preference command (spawned
detached as `<command> <file>`, flags allowed), else $VISUAL/$EDITOR
in a new Terminal-panel tab (TUI editors work in-editor via the
existing PTY widget), else xdg-open.
- New `editor.external_editor` settings section (ExternalEditorPrefs)
registered by EditorState, persisted with the preferences file, with
a rich row in the Preferences window; registration covered by a unit
test. Editor crate now depends on serde directly for its own
sections.
Saved edits flow back through the file watcher's live reload, including
into a playing scene. GUI piece — needs an eye-check before promotion.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Full project snapshot migrated to new Gitea remote without history:
engine, editor, physics, script, examples, tests, docs, and assets.
Relicensed from GPLv3 to MIT and updated repo URLs.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>