Chats: a shared highlight colour per chat, pushed live with star and rename

chat_color {session_id, color|null} stores a palette name (red, orange,
amber, green, teal, blue, purple, pink) on the operator-session row; rows
and replies carry it as color. Colour, star and rename changes are pushed
to every other connection as chat_session_changed.
This commit is contained in:
2026-11-03 10:53:38 +00:00
parent 072688476c
commit a4c191a416
13 changed files with 399 additions and 41 deletions
+1
View File
@@ -148,5 +148,6 @@ func chatSessionFromOperator(session pipeline.OperatorSession) protocol.ChatSess
out.Starred = true
out.StarredAt = session.StarredAt
}
out.Color = session.Color
return out
}