Skip to content

Chat

  • File: src/features/chat/index.svelte (+ ChatList.svelte, MessageList.svelte, ...)

Overview

The chat panel is the messaging interface, hosted in a Drawer (placement="right") in the secure layout. It switches between the chat list (your chat groups with last activity) and an open conversation's message list.

Features

  • Chat groups for contacts and meetings (getMyChatGroup(s)).
  • Threaded message list with mine/their bubbles and private targets (Message List).
  • New-message notifications via the hub onNewMessage event (Chat Notification).
  • Emoji picker (EmojiPicker.svelte) in the input.

Realtime

  • Messages are sent over the SignalR hub (sendMessage) and received via onNewMessage.
  • Posted through the local pub/sub bus (src/lib/subscriptions.ts).

Released under the MIT License.