manifoldmarkets / manifold

Manifold Markets: A market for every question
https://manifold.markets
MIT License
413 stars 156 forks source link

Make likes on comments update live via websockets #2693

Open jahooma opened 3 months ago

jahooma commented 3 months ago

When a user hits like, it calls our 'react' endpoint in reaction.ts. We need to broadcast the updated comment, which has its number of likes cached (currently we only have a websocket event for new comments), and subscribe in the client to comment changes sent via the websocket.

Can you do this @mentatbot ?

mentatbot[bot] commented 3 months ago

I will start working on this issue