feat(chat): contact-list chat rows with avatar, time and unread emphasis
Rows lead with a circular harness avatar, put the time beside the title, collapse metadata into one muted model · folder line and trail the actions menu. Unread chats are bold with an accent time and dot, running chats badge their avatar, and Star moves into the menu.
This commit is contained in:
@@ -207,9 +207,12 @@ void main() {
|
||||
}
|
||||
}
|
||||
if (destination == 'Chat') {
|
||||
final star = find.byKey(const Key('chat-star-b'));
|
||||
await tester.ensureVisible(star);
|
||||
await tester.tap(star);
|
||||
// Starring lives in the row's actions menu.
|
||||
final menu = find.byKey(const Key('chat-actions-b'));
|
||||
await tester.ensureVisible(menu);
|
||||
await tester.tap(menu);
|
||||
await tester.pumpAndSettle();
|
||||
await tester.tap(find.text('Star'));
|
||||
await tester.pumpAndSettle();
|
||||
expect(
|
||||
gateway
|
||||
|
||||
Reference in New Issue
Block a user