Skip to content

cross-cutting: unified onUnreadCountChange with polling fallback #49

@productdevbook

Description

@productdevbook

Unread count APIs are inconsistent: Intercom `onUnreadCountChange`, Chatwoot CustomEvent, HelpScout `Beacon('on', 'chat-message-count-change')`, Drift `drift.on('message')` only, Olark/Tidio event-based, Smartsupp no API.

Evidence

Tasks

  • `onUnreadCountChange(count: number) => void` at top-level API
  • Per adapter: native event if available
  • Providers without native support: polling loop (backoff 5s→30s, pause when document hidden)

Metadata

Metadata

Assignees

No one assigned

    Labels

    competitor-analysisDerived from OSS competitor issue patternsdxErgonomics, docs gaps

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions