feat(app): previous/next for visits, artifacts and diffs are chevrons in one row at the bottom right

This commit is contained in:
2026-10-23 17:14:44 +01:00
parent 73d59f4d85
commit 3fc7a28e76
9 changed files with 204 additions and 225 deletions
@@ -161,12 +161,6 @@ class _ChangesViewerState extends State<ChangesViewer> {
child: Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [
ChangesVisitPager(
index: _visitIndex,
count: captures.length,
onPrevious: () => _stepVisit(-1),
onNext: () => _stepVisit(1),
),
StageCaptureSection(
stage: visit,
query: _query,
@@ -184,6 +178,14 @@ class _ChangesViewerState extends State<ChangesViewer> {
),
),
),
// Previous/next visit sit at the bottom right, under the visit.
if (visit != null)
ChangesVisitPager(
index: _visitIndex,
count: captures.length,
onPrevious: () => _stepVisit(-1),
onNext: () => _stepVisit(1),
),
],
);
}