Merge: chat colours, Ctrl+1-9, starred chats alphabetical
# Conflicts: # app/lib/features/chat/conversation/chat_thread_view.dart # app/tool/perf/perf_fixture.dart # internal/protocol/chat.go # internal/server/chat_close.go # internal/server/chat_sessions.go
This commit is contained in:
@@ -196,6 +196,12 @@ class ChatRepository {
|
||||
gateway.call('chat_star', {
|
||||
'chat_query': {'session_id': sessionId, 'starred': starred},
|
||||
});
|
||||
|
||||
/// Sets the shared highlight colour by palette name; null clears it.
|
||||
Future<JsonMap> setColor(String sessionId, String? color) =>
|
||||
gateway.call('chat_color', {
|
||||
'chat_query': {'session_id': sessionId, 'color': color},
|
||||
});
|
||||
Future<JsonMap> close(String sessionId) => gateway.call('chat_close', {
|
||||
'chat_query': {'session_id': sessionId},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user