Skip to content

Make chat on the Left Hand Column become active on new unread messages #5

@SolbiatiAlessandro

Description

@SolbiatiAlessandro

The chat is built using a LiveView, and gets real time update when someone write a message here

def handle_info(%{event: "message", payload: state}, socket) do

We need to add a listener for when someone sends a message from a different chat, and put the lhc_chat component here

property(active, :boolean, default: false)

You can read more about Dixord set up with LiveView and Surface for components here http://www.lessand.ro/15/post


I will be really happy provide extensive Elixir support for anyone that takes this up, even if you are not yet proficient with the Tech Stack. You can start by reading the docs at https://dixord.herokuapp.com/api-reference.html

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions