feat(chat): frame attachment thumbnails with a subtle hairline

Sent images and composer thumbnails share ChatAttachmentFrame: rounded
corners plus a faint outline in the host's outline role, so a dark
screenshot no longer melts into a dark page. Adds a web probe that
renders the streaming activity line at several text sizes.
This commit is contained in:
2026-10-31 00:21:22 +00:00
parent ef07c95b0c
commit b00dff864c
5 changed files with 83 additions and 4 deletions
@@ -20,6 +20,7 @@ import '../ui/sessions/chat_adaptive.dart';
import 'chat_command_actions.dart';
import 'chat_command_palette.dart';
import 'chat_composer_controller.dart';
import '../ui/transcript/chat_attachment_frame.dart';
/// The composer's placeholder when the chat names no working directory.
const String chatComposerPlaceholder = 'Message the agent';
@@ -801,8 +802,8 @@ class _ChatComposerBarState extends State<ChatComposerBar> {
clipBehavior: Clip.none,
children: [
Positioned.fill(
child: ClipRRect(
borderRadius: BorderRadius.circular(10),
child: ChatAttachmentFrame(
radius: BorderRadius.circular(10),
child: Image.memory(
bytes,
key: ValueKey<String>('chat-composer-thumbnail-$index'),