Search: find operator chats by title, directory and message text
A search with kind chat matches the operator-session registry's titles and directories and the newest messages of recent transcripts through the chat broker (bounded count, concurrency and one-second budget), answered off the connection's read loop. The all-kind search is unchanged for older clients. The app sends the chat search after its run search and shows a Chats group with title, harness, directory and snippet; a chat hit opens that chat in the Chat tab. The probe fixture answers chat searches over ?chats=N.
This commit is contained in:
@@ -387,6 +387,10 @@ class _PipelinesAppState extends State<PipelinesApp>
|
||||
);
|
||||
route = AppRoute.run(runId);
|
||||
}
|
||||
case SearchChatTarget(:final sessionId):
|
||||
// The Chat tab selects the routed session in its list and shows its
|
||||
// thread, exactly as a chat notification opens it.
|
||||
route = AppRoute.chatSession(sessionId);
|
||||
}
|
||||
if (route == null) return;
|
||||
setState(() => _pendingRunSearch = selection);
|
||||
|
||||
Reference in New Issue
Block a user