Omniscio

Team Chat quick reactions

Hover a message in Team Chat on desktop and the toolbar now opens with three emoji buttons before the Add reaction picker. One click adds that reaction to the message — or removes it if you already reacted with it. The three are yours: pick them in Team Chat settings → Quick reactions, and they follow you to any computer you sign in on.

On this page

What it is

  • Where: the desktop message hover toolbar in Team Chat, in every workspace, for every message you are allowed to react to (never your own message).
  • Behaviour: each button toggles that reaction, exactly like picking it from the emoji picker. The button shows as pressed while your reaction is on the message.
  • Defaults: until you choose your own, the three follow your most-used emoji (getRecentEmoji), topped up with ✅ a check mark, 👀 eyes and 🙌 raised hands.
  • Your choice: Team Chat settings → Quick reactions has three slots. Click a slot, pick an emoji, and the choice saves instantly to your account; Use automatic hands it back to your most-used emoji.

How it is built

  • The three are a per-member preference, not a message or channel setting. They live on the member's own Firestore doc at {tenant root}/quickReactions/{uid} (company org or self-serve workspace, same layout), so the rules let only that member read or write it.
  • One listener for the whole surface. use-quick-reactions.ts reads a module-level store (data/quick-reactions-pref.ts) through useSyncExternalStore, and that store keeps exactly ONE Firestore listener per workspace/member — no matter how many message rows have an armed toolbar. Changing workspace or signing out detaches it.
  • Picking is optimistic. The toolbar and the settings slots change the instant you pick; a failed write puts the previous three back and says it could not save.
  • A save writes exactly three emoji. normalizeQuickReactions drops anything that is not a plain native emoji (custom custom:<shortcode> identifiers are not allowed, because the toolbar paints text), removes duplicates and tops the list up from your recents and then the defaults. Saving an empty list is how Use automatic is stored — the doc then carries no choice and the toolbar falls back to your most-used emoji.
  • The reaction limit is unchanged. The three are ordinary reactions, so the existing cap on how many distinct emoji you can react with (20) still applies, with its existing message.
  • Only the choice is shared. The three emoji apply wherever Team Chat runs on desktop. The touch action sheet still uses its own six-emoji quick row (getQuickEmoji); wiring it to this preference is a follow-up for the phone surface.

Last verified 2026-11-20