Redesign Settings as grouped searchable page

Replace the tabbed Settings flow with a single grouped page that searches and lazily loads server-backed sections. Preserve existing settings behavior while adding inline loading and retry states and updating coverage for the new navigation model.
This commit is contained in:
2026-11-12 02:54:07 +00:00
parent 9bb87e5118
commit 3136e5bb7e
29 changed files with 1467 additions and 777 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import '../features/settings/settings_topic_test_helper.dart';
import '../features/settings/settings_section_test_helper.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:pipelines_app/application/pipelines_app.dart';
@@ -84,7 +84,7 @@ void main() {
expect(provider.value.uri.path, '/settings');
expect(find.byType(SettingsScreen), findsOneWidget);
expect(find.text('Quick switch animation'), findsOneWidget);
await selectSettingsTopic(tester, 'Connection');
await openSettingsSection(tester, 'Connection');
expect(find.text('Server URL'), findsOneWidget);
// A page of Pipelines: Back in its bar, Pipelines still selected.
expect(find.byKey(const ValueKey('shell.back')), findsOneWidget);
@@ -1,4 +1,4 @@
import '../features/settings/settings_topic_test_helper.dart';
import '../features/settings/settings_section_test_helper.dart';
import 'dart:convert';
import 'package:flutter/material.dart';
@@ -54,7 +54,7 @@ void main() {
await tester.pump();
expect(provider.value.uri.path, '/settings');
expect(find.text('Quick switch animation'), findsOneWidget);
await selectSettingsTopic(tester, 'Connection');
await openSettingsSection(tester, 'Connection');
expect(find.text('Server URL'), findsOneWidget);
expect(find.text('Settings — Not implemented'), findsNothing);
expect(sockets, 1);