Run context menu, multi-color flags, edit dialog, and sibling-file indexing#4
Merged
Conversation
Re-adds the legacy run-list context menu: Flag as key run / Unflag, Export, Archive, Compare selected, Delete. Right-clicking a row selects it first (unless it is already part of a multi-selection), so the menu acts on the intended run. Adds IProjectStore.SetKeyRun to persist the key-run flag. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Flags: - Run.KeyRun (bool) becomes Run.Flag (int 0-5), matching the legacy scheme (0 = unflagged, 1-5 = red/orange/yellow/green/blue). - The context-menu Flag submenu sets any of the five colours or clears it; the run-grid flag circle shows the chosen colour. Persisted via IProjectStore.SetFlag. Edit: - New Edit dialog (context-menu "Edit…") edits a run's parent and comment; persisted via IProjectStore.UpdateRun. Changing the parent also updates dOFV/lineage on refresh. CLI flag indicator and storage tests updated; added a SetFlag/UpdateRun round-trip test. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…ata) On import, Census now records the paths of files that sit alongside the XML output: same-stem files (run27.* -> model/listing/ext/cov/cor/coi/ phi/grd/shk/…), Xpose-style table files (*tab* matched by run number), and the dataset referenced by $DATA in the control stream. Only paths are stored; file contents are never copied into the project. Because the archiver already iterates run.Files and skips role "data" unless includeData is set, these files now flow into run archives, with the dataset governed by the existing --include-data option. Co-Authored-By: Claude Opus 4.8 <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
Restores the legacy run-list right-click menu and adds the capabilities behind it.
Context menu
Right-click on the run grid: Flag (colour submenu) · Edit… · Export… · Archive… · Compare selected · Delete. Right-clicking a row selects it first (unless it is already in a multi-selection).
Multi-colour flags
Run.KeyRun(bool) →Run.Flag(int 0–5): 0 = unflagged, 1–5 = red/orange/yellow/green/blue (matching the legacy scheme).IProjectStore.SetFlag.Edit dialog
IProjectStore.UpdateRun. Changing the parent updates dOFV/lineage on refresh.Sibling-file indexing
run27.*→ model/listing/ext/cov/cor/coi/phi/grd/shk/…),*tab*tables (matched by run number), and the$DATAdataset.run.Filesand gates roledatabehind--include-data, so these now flow into archives.Tests
46 xUnit tests pass (added sibling-file discovery test and a SetFlag/UpdateRun round-trip). Release build clean; app launches.
Notes
🤖 Generated with Claude Code