Chat stack: polish pile layers, dark tone, Add chat picker title, probe param

This commit is contained in:
2026-12-03 20:18:14 +00:00
parent fd62df3815
commit e629d552c2
7 changed files with 39 additions and 26 deletions
@@ -1,3 +1,4 @@
import 'package:pipelines_app/features/chat/stack/mobile_chat_navigation.dart';
import 'package:pipelines_app/application/pipelines_binding.dart';
import 'package:pipelines_app/core/servers/chat/chat_server_pool.dart';
import 'package:pipelines_app/core/servers/machine_access.dart';
@@ -988,6 +989,7 @@ class _FixtureSink implements WebSocketSink {
/// `?speech=fake` reads replies aloud with a scripted engine, one word per
/// `?speechStep=` ms (tool/probe_speech_fixture.dart);
/// `?design=terminal` chooses that app design (Settings → Design);
/// `?chatNav=stack` navigates a phone's open chats with the Chat stack;
/// `?poolDelay=<ms>` (with `?federated=1`) connects each machine that
/// much later, as a real server does (a detached chat window's first list);
/// `?theme=dark` / `?theme=light` pins the platform brightness the app's
@@ -1032,6 +1034,15 @@ Future<void> main() async {
? AppDesignController.instance.restore()
: AppDesignController.instance.select(AppDesign.fromId(design)),
);
// `?chatNav=stack` chooses the phone's Chat stack as Settings would;
// otherwise the stored choice.
unawaited(
params['chatNav'] == 'stack'
? MobileChatNavigationController.instance.setValue(
MobileChatNavigation.chatStack,
)
: MobileChatNavigationController.instance.restore(),
);
_fillerRunCount = int.tryParse(params['runs'] ?? '') ?? 0;
_fillerStepCount = int.tryParse(params['steps'] ?? '') ?? 0;
if (params['running'] == '1') {