d-cent / democracyos

Soft fork of democracyos with customization for D-CENT
MIT License
8 stars 6 forks source link

CREATE client-side functionality for Yourpriorities-styled positive and negative commenting #21

Open jaakkokorhonen opened 10 years ago

gvilarino commented 10 years ago

I see this happening the following way:

  1. Have one law for the 'debate' with voting disabled.
  2. Once the time has run up for the debate, have another 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

gvilarino commented 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:

Backend shoulnt be too susceptible in this matter; just make it able to store for/against in comments.

jaakkokorhonen commented 10 years ago

for/against tag then in a similar manner?

gvilarino commented 10 years ago

You can also have 2 different booleans maybe votable for yea/nay/abstain buttons and commentorPosition or sthg like that.

gvilarino commented 10 years ago

Just add some payload to the comment/create endpoint and adding this to the object schema as well it's should do the trick