Files
pipelines/app/lib/features/runs/ui/run_detail_tab.dart
T
alan b771f3813a Remove Cupertino remnants from runs and pipelines
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.
2026-11-11 21:12:40 +00:00

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;
}