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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user