Keep settings and delivery updates together

Preserve the reviewed grouped Settings page while fixing its embedded phone safe area, and land the accompanying notification, walkthrough, terminal, and documentation updates captured by this run.
This commit is contained in:
2026-11-12 03:27:37 +00:00
88 changed files with 3633 additions and 639 deletions
@@ -413,6 +413,61 @@ void main() {
await tester.pump();
await connecting;
});
testWidgets('phone: the page scrolls to rest above the floating tab bar', (
tester,
) async {
await tester.binding.setSurfaceSize(const Size(390, 844));
addTearDown(() => tester.binding.setSurfaceSize(null));
final client = transport.PipelinesClient(
channelFactory: FakeChannelFactory().call,
);
addTearDown(client.dispose);
// The shell's shape: a body that extends behind a bottom bar, which the
// body reads as its bottom padding.
const barKey = ValueKey<String>('test.tabBar');
await tester.pumpWidget(
MaterialApp(
theme: ThemeData(platform: TargetPlatform.android),
home: Scaffold(
extendBody: true,
body: SettingsScreen(
client: client,
store: MemorySettingsStore(),
embedded: true,
onShowWalkthrough: () {},
),
bottomNavigationBar: const SizedBox(
key: barKey,
width: double.infinity,
height: 80,
),
),
),
);
await tester.pump();
await tester.pump();
final scroll = find.byKey(const ValueKey<String>('settings.scroll'));
// Each lazy section that the scroll reaches grows the list, so keep
// scrolling until the page stops moving.
for (var i = 0; i < 6; i++) {
await tester.drag(scroll, const Offset(0, -10000));
await tester.pump();
await tester.pump();
}
final barTop = tester.getTopLeft(find.byKey(barKey)).dy;
// Nothing scrolls under the bar: the list's viewport ends at its top edge,
// and the last row (the page's end) sits above it at rest.
expect(tester.getRect(scroll).bottom, lessThanOrEqualTo(barTop + 0.5));
expect(
tester.getRect(find.byKey(SettingsKeys.showWalkthrough)).bottom,
lessThanOrEqualTo(barTop + 0.5),
);
expect(tester.takeException(), isNull);
});
}
/// The Server URL and Workspace fields, addressed by their keys: the search