#8253 Adding reaction support for comments

v1.11.0
closed
None
General
2019-06-17
2018-10-26
No

This is related with merge request #135 comments.

VotableArtifact stores +1 and -1 in seperate fields

    votes_up = FieldProperty(int, if_missing=0)
    votes_down = FieldProperty(int, if_missing=0)

So can we create something like ReactableArtifact

    react_thumbs_up = FieldProperty(int, if_missing=0)
    react_thumbs_down = FieldProperty(int, if_missing=0)
    react_thumbs_tada = FieldProperty(int, if_missing=0)
    ....
    ..
    react_thumbs_up_users = FieldProperty(int, if_missing=0)

Another thing is that since Allura supports comment replies like a tree. we may ignore who reacted .. we just take count only. But normally it is needed

Discussion

  • Ingo - 2018-10-26

    +1 for this ;)

    I personally found, that this is a very important feature.

    1) You can provide readers the most relevant content
    2) Editors can participate better by giving their agreement on s.th.
    3) And finally you can even use this information for rewards

    So for the last point, it would be good to have the number of votes in the user statistics.

    ... we may ignore who reacted

    I don't think so. It will be necessary to know exactly to which artifacts a user has already voted, to avoid doulbe votes.

     
    • status: open --> in-progress
     
    • status: in-progress --> review
     
  • Dave Brondsema

    Dave Brondsema - 2018-11-08
    • status: review --> closed
    • assigned_to: Shalitha Suranga
    • Reviewer: Dave Brondsema
     
  • Dave Brondsema

    Dave Brondsema - 2019-06-17
    • Milestone: unreleased --> v1.11.0
     

Log in to post a comment.