fix(app): one relative-time style, day-aware durations, consistent visit wording

Review r2 findings P2-4, P2-5, P3-13: a shared relative-time helper for
every list row's time, formatDuration switches to days past 24h ('9d
16h'), the stage page uses one visit numbering, drops a repeated stage
heading and fixes '1 files', and search run hits read 'Run 1'.
Implemented by pipeline run #205/#207 (Terra); its UIReview blocked on a
fixture without timestamps, verified by the manager.
This commit is contained in:
2026-10-31 12:29:16 +00:00
parent 06f6eda360
commit fe24f228fe
29 changed files with 267 additions and 229 deletions
@@ -152,7 +152,8 @@ String fileChangesSummary(ChangeCapture capture) {
var text = capture.status;
if (capture.files.isNotEmpty) {
if (text.isNotEmpty) text += ' ';
text += '(${capture.files.length} files)';
final count = capture.files.length;
text += '($count ${count == 1 ? 'file' : 'files'})';
}
if (capture.skipped > 0) {
if (text.isNotEmpty) text += ', ';
@@ -45,7 +45,6 @@ class StageCaptureSection extends StatelessWidget {
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(stage.stage, style: Theme.of(context).textTheme.titleMedium),
Text(meta, style: Theme.of(context).textTheme.bodySmall),
if (capture != null) ...[
Text(