App: dark-aware HTML views, run cards, changed/missing file notes, one card width, dense diff rows

show_html documents that declare dark support follow the app theme; others
stay light. Tool description and skill docs say so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-02 19:54:58 +00:00
parent d204ce3187
commit f02ff56dfe
27 changed files with 1086 additions and 61 deletions
+17 -7
View File
@@ -53,6 +53,7 @@ import '../shell/windows/window_kind.dart';
import '../shell/windows/window_manager.dart';
import '../shell/windows/window_store.dart';
import 'app_terminals.dart';
import '../features/chat/chat_run_opener.dart';
import '../features/chat/chat_runtime.dart';
import '../features/changes/windows/diff_windows.dart';
import '../features/chat/windows/chat_windows.dart';
@@ -736,13 +737,22 @@ class _PipelinesAppState extends State<PipelinesApp>
const SharedPreferencesWalkthroughStore();
@override
Widget build(BuildContext context) => widget.servers == null
? MyApp.router(routerConfig: _config)
: ServerContext(
connections: widget.servers!,
serverId: widget.serverId,
child: MyApp.router(routerConfig: _config),
);
Widget build(BuildContext context) {
// A chat's run card (show_run) opens the run's detail.
final app = ChatRunOpener(
openRun: _openRunFromChat,
child: MyApp.router(routerConfig: _config),
);
return widget.servers == null
? app
: ServerContext(
connections: widget.servers!,
serverId: widget.serverId,
child: app,
);
}
void _openRunFromChat(int id) => _delegate.goTo(AppRoute.run(id));
/// Open a result through the exact identity the hit records. An unresolvable
/// hit navigates nowhere: the screen already presents it read-only rather than