Considerit / ConsiderIt

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

Allow user to anonymize a single proposal #179

Closed chadbrower0 closed 1 year ago

chadbrower0 commented 1 year ago

This change adds "sign your name" checkboxes to new/edit proposal, same as already exist for new/edit reason. New field "hide_name" was added to the database table "proposals".

All implementation was kept as close as possible to existing similar implementations.

After this change reaches an acceptable state, then a similar change should be made to allow anonymizing comments on reasons. Also, a follow-on change should apply these new anonymizations to data-export.

tkriplean commented 1 year ago

Thanks @chadbrower0! One thing that should be done (and this goes for https://github.com/Considerit/ConsiderIt/pull/181 too) is to anonymize the data export. Search for hide_name in DataExports.rb.

chadbrower0 commented 1 year ago

anonymize the data export.... hide_name in DataExports.rb

Done. I had to do some uncertain git branch updating to build on earlier data-export changes, so there is a little risk there.

tkriplean commented 1 year ago

I believe that this pull request is superceded by https://github.com/Considerit/ConsiderIt/pull/183. Does that sound accurate?

chadbrower0 commented 1 year ago

Yes. Shall we close this one?