fc86a8257c
Make starting runs discoverable from pipeline details and the Runs tab. Share the existing launch flow, add an active-pipeline picker, and update walkthrough guidance with focused widget coverage.
18 lines
549 B
Dart
18 lines
549 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
/// The Runs tab's New run action: an extended floating button that opens the
|
|
/// pipeline picker. It is labelled, so it needs no tooltip of its own.
|
|
class NewRunButton extends StatelessWidget {
|
|
const NewRunButton({super.key, required this.onPressed});
|
|
|
|
final VoidCallback onPressed;
|
|
|
|
@override
|
|
Widget build(BuildContext context) => FloatingActionButton.extended(
|
|
key: const Key('runs-new-run'),
|
|
onPressed: onPressed,
|
|
icon: const Icon(Icons.add),
|
|
label: const Text('New run'),
|
|
);
|
|
}
|