b771f3813a
Keep the assigned runs and pipelines UI Material-only by removing alternate icons, host branches, and Cupertino color usage while preserving compatibility parameters needed by other callers. Update mirrored tests and record focused verification for the cleanup.
24 lines
824 B
Dart
24 lines
824 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
/// The run-detail sections in the web's order: Summary first, the run Graph
|
|
/// second, then the recorded Input, Output and Timeline.
|
|
///
|
|
/// The stable keys match the web client's `RUN_DETAIL_TABS`; the visible labels
|
|
/// are the same words. `renderedRunDetailTabs` decides which keys the strip
|
|
/// draws, so Input and Output stay addressable without being tabs.
|
|
enum RunDetailTab {
|
|
summary('Summary', Icons.summarize_outlined),
|
|
graph('Graph', Icons.account_tree_outlined),
|
|
input('Input', Icons.input),
|
|
output('Output', Icons.output),
|
|
timeline('Timeline', Icons.timeline),
|
|
artifacts('Artifacts', Icons.inventory_2_outlined),
|
|
changes('Changes', Icons.difference_outlined);
|
|
|
|
const RunDetailTab(this.label, this.icon);
|
|
|
|
final String label;
|
|
|
|
final IconData icon;
|
|
}
|