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
@@ -90,6 +90,11 @@ void main() {
find.byKey(const Key('chat-attachment-thumbnail-image')),
findsOneWidget,
);
// A hairline frames the image so it reads against the page.
final frame = tester.widget<Container>(
find.byKey(const Key('chat-attachment-frame')),
);
expect((frame.foregroundDecoration as BoxDecoration).border, isNotNull);
// No paperclip row and no base64 shown as a file name.
expect(find.byIcon(Icons.attach_file), findsNothing);
expect(find.byIcon(CupertinoIcons.paperclip), findsNothing);