minimalchat / daemon

Minimal Chat's API server daemon
https://minimal.chat
BSD 3-Clause "New" or "Revised" License
55 stars 8 forks source link

Emit *:typing messages #21

Closed mihok closed 7 years ago

mihok commented 7 years ago

We want to enable the client or operator to see when someone is working on a message to us. To do this, we need the Operator to emit operator:typing on keyDown, we really dont need much more information than that since we can use that as a 'ping' to send to the client.

On the client side, similarly, we need to emit an client:typing event on keyDown as well.

Then on the daemon side, we'll need to pass these messages through just like the client:message and operator:message events. Files in the daemon to focus on:

mihok commented 7 years ago

This is a good ticket for either of you @teesloane, @broneks. (Or even pair programming it!)

teesloane commented 7 years ago

Sounds good. Excited to get into this. If you can assign more go-lang issues i'd be super down to look into that

broneks commented 7 years ago

@mihok Tees and I worked on this feature together. However it seems like any go code that we add does not get compiled/ran (not even Println in the main function). I tried all the different makefile scripts and nothing works. What are we doing wrong?

broneks commented 7 years ago

we are running daemon locally of course.

mihok commented 7 years ago

What does make run do?

broneks commented 7 years ago

run: lint test go ... go: cd $(SRC) $(GO_CMD) run main.go

broneks commented 7 years ago

ahhhhh I just realized I have to two repos mnml-daemon and daemon

broneks commented 7 years ago

derp :poop:

mihok commented 7 years ago

This is done in #28