More on channels management
ClosedPublic

Authored by machniak on May 26 2017, 10:02 AM.

Details

Summary
  1. Added channels list widget (with Create button)

with small refactoring in handling list widgets and their titles
no backend changes yet to actually get the list of channels

  1. Create Chat room details widget

.. for displaying chat information and e.g. update it's name
Not much backend support yet

Diff Detail

Repository
rKC kolab-chat
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
machniak created this revision.May 26 2017, 10:02 AM

Looking really good already.. :)

lib/kolab_chat/web/channels/room_channel.ex
40

this should perhaps already be a map (JSON object on the client side) because we'll definitely want to add more info over time here such as channel name, icon, etc.

machniak updated this revision to Diff 1007.Jun 1 2017, 9:19 AM
  • Store channel metadata (basics with :ets use)
machniak updated this revision to Diff 1019.Jun 2 2017, 8:30 AM

Refactor Presence

@seigo I'm done with this for now, will be busy with other stuff now, so you can merge this and continue. I added presence to room channel, but commented out, as I'm not sure we really need it there.

ps. Maybe we should remove mix.lock and add it to .gitignore?

This revision was automatically updated to reflect the committed changes.