Repository navigation
feat: edit a mission's records in the inspector, and add new ones - #28
Merged
Merged
Conversation
The inspector shows the selected record as a form, built from OpenReliant's tables of the language through the game's profile, and each change rewrites one span of the source as one step of Undo, in the table's own layout. The outline's + and a Problems card's Declare add records. Settings gets a back button, in the design too. Changes are queued while a frame draws and made after it: making one checks the source again, which replaces the outline the panels draw from. This also fixes the Use fix, which checked the source again while the Problems panel drew its list.
vdmkenny
pushed a commit
that referenced
this pull request
Oct 15, 2026
🤖 I have created a release *beep* *boop* --- ## [0.2.0](v0.1.1...v0.2.0) (2026-10-15) ### Features * edit a mission's records in the inspector, and add new ones ([#28](#28)) ([104aac1](104aac1)), closes [#8](#8) * the Scene view maps a mission's ships, markers, ranges and routes ([#31](#31)) ([4e5061e](4e5061e)), closes [#2](#2) ### Fixes * icons on their own sit in the middle of their boxes ([#30](#30)) ([58c23a4](58c23a4)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@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.
The inspector edits the selected record as a form, and the outline adds records (#8).
dte.source.language), through the game's profile: lists of the mission's records or of the game's values (with a find box for long ones), X/Y/Z boxes for a vector, number boxes, checkboxes, and the value's source for the rest. The ship's form follows the Scene design: a Place heading, X/Y/Z, and Angles on one row. A trigger's form sets what it watches, its condition and the values it checks, Repeats and Deferred.mission/edit.zig): OpenReliant's syntax tree gives where a value starts, and the editor reads the text for where it ends.Not in this PR: renaming a record (Declared as), forms of their own for Launch, formation points and a counted trigger's count (their source can be typed), and adding squads, formations and curves.
Docs:
docs/editing.md, and Editing records indocs/architecture.md.Checks:
make check(58 tests), and the forms tried in the editor on the guide's first mission.Closes #8