Conversations Ctx Menu

Conversations Context Menu

With Unread Messages

Mark as Read is enabled when the channel has unread messages.

#lobby
  • Cancel

      <.conversations_context_menu
      visible={true}
      x={120}
      y={80}
      channel="#lobby"
      has_unread={true}
      on_action="handle_ctx_action"
      />
    
Muted Channel

When is_muted is true the toggle shows 'Unmute Channel'.

#announcements
  • Cancel
With Custom Items

Additional menu entries appended after a separator via custom_items list.

#retro
  • Cancel

      <.conversations_context_menu
      visible={true}
      channel="#retro"
      has_unread={true}
      custom_items={[
      %{action: "pin_channel", label: "Pin Channel"},
      %{action: "export_log", label: "Export Log..."}
      ]}
      />
    
Help
Help Topics GitHub License (MIT)
6 objects
Help Topics
GitHub License (MIT)