Open the run's artifact from notifications
Phone and browser notifications that carry an artifact open it full screen in the artifact viewer, with an Open run action and the preview as expanded text; pipelines://artifact deep links route to the viewer.
This commit is contained in:
@@ -49,6 +49,7 @@ Map<String, dynamic> runFrame(
|
||||
String? title,
|
||||
String diagnostic = '',
|
||||
String? finishedAt,
|
||||
Map<String, dynamic> extra = const {},
|
||||
}) => {
|
||||
'type': 'run_event',
|
||||
'run_id': id,
|
||||
@@ -62,6 +63,7 @@ Map<String, dynamic> runFrame(
|
||||
(status == 'waiting' || status == 'running'
|
||||
? ''
|
||||
: at(const Duration(minutes: 1))),
|
||||
...extra,
|
||||
};
|
||||
|
||||
/// One transition for a run that just entered [status], for batch tests.
|
||||
|
||||
Reference in New Issue
Block a user