mirror of
https://github.com/block/buzz.git
synced 2026-11-25 18:52:52 +00:00
## Summary - Render selected agent mentions as visible bot chips in the mobile composer. - Recognize agent profiles consistently when rendering message-body mentions. <img width="630" height="1368" alt="Screenshot 2026-07-30 at 07 54 16" src="https://github.com/user-attachments/assets/035b46bf-ee78-4ee5-82fc-84591415ed7c" /> ## Validation - `flutter test test/features/channels/compose_bar_test.dart test/features/channels/message_content_test.dart` - `flutter analyze` --------- Signed-off-by: kenny lopez <klopez4212@gmail.com>
11 lines
233 B
Dart
11 lines
233 B
Dart
part of '../compose_bar.dart';
|
|
|
|
Set<String> _agentMentionLabels({
|
|
required Iterable<MentionCandidate> candidates,
|
|
}) {
|
|
return <String>{
|
|
for (final candidate in candidates)
|
|
if (candidate.isAgent) candidate.label,
|
|
};
|
|
}
|