Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate chat options #503

Open
stefanoborini opened this issue Jun 5, 2017 · 3 comments
Open

Investigate chat options #503

stefanoborini opened this issue Jun 5, 2017 · 3 comments

Comments

@stefanoborini
Copy link
Contributor

Investigate what you can do with the chat. Do not implement it, just perform some research on what we can use to power the chat.

This will probably need #497

@stefanoborini stefanoborini added this to the 2.1.0 milestone Jun 5, 2017
@martinRenou martinRenou added the P2 label Jun 6, 2017
@martinRenou
Copy link
Member

We can set a Websocket with tornado (http://www.tornadoweb.org/en/stable/websocket.html#) and use Javascript built-in WebSocket class.

I tried to make it work without success, I'll try again soon.

For the web interface, we can use the AdminLTE chat widget. We just need to decide where to put it. And we should maybe use a notification menu for new incoming messages.

@stefanoborini
Copy link
Contributor Author

There's no chance we can reinvent a chat system from websockets. The purpose of this issue is to find something that we can plug in easily.

@martinRenou
Copy link
Member

I cannot find something pluggable to tornado. I think the better solution would be to implement something like this: https://github.com/tornadoweb/tornado/blob/master/demos/chat/chatdemo.py

In this example they use jQuery for doing request to the server. I wonder if we can use jsonApi and devour for the chat.

@stefanoborini stefanoborini modified the milestone: 2.1.0 Jul 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants