Open jaakkokorhonen opened 10 years ago
For this to happen, also, an easy approach would be to add a votable
boolean to a law
(or sthg. like that) so the UI behaves this way:
votable = true
: regular "yea, nay, abstain" buttons enabled. "For/against" comment buttons disabled.votable = false
: regular "yea, nay, abstain" buttons disabled. "For/against" comment buttons enabled.Backend shoulnt be too susceptible in this matter; just make it able to store for/against in comments.
for/against tag then in a similar manner?
You can also have 2 different booleans maybe votable
for yea/nay/abstain buttons and commentorPosition
or sthg like that.
Just add some payload to the comment/create
endpoint and adding this to the object schema as well it's should do the trick
I see this happening the following way:
law
for the 'debate' with voting disabled.law
(ideally with feedback from the debate) with voting enabled.Of course, the "I'm for/against" feature for comments/arguments should be built specifically for those
law
in 1.This is all clearly related to #20