Considerit / ConsiderIt

For deliberation and opinion visualization
GNU Affero General Public License v3.0
90 stars 14 forks source link

User can anonymize an opinion #183

Closed chadbrower0 closed 1 year ago

chadbrower0 commented 1 year ago

This change adds buttons in the proposal metadata, to edit / anonymize / delete the participant's opinion. Anonymizing the opinion also anonymizes the partcipant's reasons for the proposal.

image
tkriplean commented 1 year ago

Oh my goodness, this is awesome. Thanks so much! I like the mask svg work you did, I think it is fine. Here are some notes on getting it to the finish line:

tkriplean commented 1 year ago
opinion-crafting-anonymous opinion-crafting-anonymized
chadbrower0 commented 1 year ago

Opinions aren't updating in the histogram after a slidergram drag... it works if your opinion is anonymous.

Fixed in commit 403f9ec

I will continue working on the other modifications.

chadbrower0 commented 1 year ago

when you delete your opinion, the pros and cons you wrote will be deleted.

Updated prompts to more accurately describe deletion.

"Add your opinion", instead of "Your opinion: [edit icon]".

Reused the existing getOpinionPrompt() which supplies "Give your opinion". We could change that function to yield "Add your opinion" in all its usages, though I suggest doing that in a separate change that considers the variety of usages of that function.

Because we hide the icon at narrow screen widths, the label had to become a button so that it can function on its own.

in the opinion crafting view... "Remove your opinion" button below the dashed your opinion box. I'll add a mockup.

Implemented per mockup

I'm not sure I like the trash can over a more subtle x

Done

tkriplean commented 1 year ago

Well, this pull request has a lot of pork in it now, ha. Major changes described at https://traviskriplean.com/lively-anonymity-overhaul-for--bdh9kk.