feat(app): a file diff opens as its own page with previous and next file chevrons

This commit is contained in:
2026-10-23 17:09:57 +01:00
parent f7c34b5f40
commit 4b1e74cf61
4 changed files with 190 additions and 63 deletions
@@ -294,7 +294,9 @@ void main() {
await tester.tap(find.byKey(const ValueKey('change-1-lib/feature.dart')));
await tester.pumpAndSettle();
expect(find.byType(Dialog), findsOneWidget);
// A file opens on its own page, not a dialog.
expect(find.byType(FileDiffPage), findsOneWidget);
expect(find.byType(Dialog), findsNothing);
expect(find.text('Rendered'), findsOneWidget);
expect(find.text('Raw patch'), findsOneWidget);
final rendered = tester