feat(app): run detail tabs are Summary, Timeline, Artifacts and Changes; the graph is a Summary preview that opens full screen

This commit is contained in:
2026-10-23 16:55:24 +01:00
parent 4276f5717f
commit 855a1e6ca5
17 changed files with 307 additions and 43 deletions
@@ -46,6 +46,7 @@ class RunGraphView extends StatefulWidget {
required this.onStageSelected,
this.selectedStage,
this.now,
this.showHeader = true,
});
/// The run's definition graph, or null when the server omitted it.
@@ -62,6 +63,9 @@ class RunGraphView extends StatefulWidget {
/// Injectable clock for deterministic elapsed labels; defaults to now.
final DateTime Function()? now;
/// False for a still preview, which has no room for the status legend.
final bool showHeader;
@override
State<RunGraphView> createState() => _RunGraphViewState();
}
@@ -193,7 +197,8 @@ class _RunGraphViewState extends State<RunGraphView> {
return Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [
RunGraphHeader(state: state, style: style, now: widget.now),
if (widget.showHeader)
RunGraphHeader(state: state, style: style, now: widget.now),
Expanded(
child: Stack(
fit: StackFit.expand,