cabennett85/gittest — Issue #1556: add reactions back into stories
Author: cabennett85
Created: 2012-03-02 00:54:20+00:00
State: open

Remember a while ago we had reactions on stories (hugs, wow, happy, etc.)? We took them out as part of the last revision of the story (uw.php) page. Well, it turns out they were very valuable. Bring them back.

Code should exist. reader_reactions is the db_table.

Confessions has a live implementation where you can ALSO vote if you are not logged in. That would be extra credit. Otherwise, it is to restore old functionality, at bottom of story (within story block) have a few buttons representing reactions, one click 'votes' (ajax) and updates the number of people that reacted that way. No page reloads, status messages, etc.

Reactions should NOT SHOW for non-logged in at this point (we may revisit).

Oh, and on DISPLAY the reactions counts should be distorted. Please talk to Armen or Kumar about this, but basically we do not want to let a crawler see our 'real' reaction data (to prevent someone else from gathering up our sentiment data and building their own sentiment engine), so we want to throw off the numbers a little bit. So if there's 2 happy, 4 sad, 6 wows, maybe we show 1 happy, 2 sad, 4 wows. I don't know how to do this without making the system look broken to a user, so let's chat this part out.