Conversations

Conversations

Full Sidebar

IRC-native conversations sidebar. One channel list holds the rooms you are in and the ones you join on connect, activity-sorted, each name once and pinned where the auto-join list holds it. Then recent PMs and channel suggestions. Every row answers a click by going there, and carries the menu button that opens what right-click opens.

Conversations
5 Channels 3 PM 2 Auto
  • #random 15
  • #help 3
  • #lobby
  • #dev
  • #music
  • #secret
  • alice 2
  • bob
  • carol
  • #gaming (45)
  • #sports (22)
  • #movies (18)

      <.conversations
      channels={["#lobby", "#help"]}
      active_channel="#lobby"
      unread_counts={%{"#help" => 3}}
      channel_activity_order={%{"#help" => 1}}
      channel_user_counts={%{"#lobby" => 12}}
      autojoin_entries={[%{channel_name: "#lobby"}]}
      disconnected_channels={["#dev"]}
      on_channel_click="switch_channel"
      on_close="toggle_conversations"
      />
    
Empty State

When there are no channels, PMs or discovery rows. Shows 'Browse channels' when on_browse_channels is set.

Conversations
0 Channels 0 PM 0 Auto
Channels Only

Sidebar with joined channels but no PMs or discovery rows.

Conversations
2 Channels 0 PM 0 Auto
  • #general
  • #announcements
Channel States

Visual states: normal, active, unread, highlight, muted, disconnected, and flash.

Conversations
6 Channels 0 PM 0 Auto
  • #unread 5
  • #highlight 42
  • #normal
  • #active
  • #muted
  • #disconnected
Help
Help Topics GitHub License (MIT)
6 objects
Help Topics
GitHub License (MIT)