feat(app): finish native run Changes wiring and scaled form menus
This commit is contained in:
@@ -44,6 +44,13 @@ class RunChanges {
|
||||
RunChanges runChanges(List<JsonMap> steps) =>
|
||||
runChangesFor(stageCaptures(steps));
|
||||
|
||||
/// Whether the run-wide final-state aggregate may be presented. Ported from
|
||||
/// `web/src/changes.js` `showRunChangesSummary`: only a settled succeeded run
|
||||
/// has a final workspace state. A failed or running run keeps its evidence in
|
||||
/// each visit's own captured section instead of claiming a settled summary.
|
||||
bool showRunChangesSummary(Object? status) =>
|
||||
status != null && '$status'.trim().toLowerCase() == 'succeeded';
|
||||
|
||||
/// The same aggregate over already-derived [stageCaptures], so a caller that
|
||||
/// shows both the summary and the sections parses each capture only once.
|
||||
RunChanges runChangesFor(List<StageCapture> visits) {
|
||||
|
||||
Reference in New Issue
Block a user