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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user