Considerit / ConsiderIt

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

Add dialog to screenshot a proposal #173

Open chadbrower0 opened 1 year ago

chadbrower0 commented 1 year ago

When the proposal is expanded, an extra button is added next to edit and delete buttons, which opens the screenshot dialog. The dialog offers options to choose which part of the proposal to screenshot (opinions vs reasons). The dialog also has buttons to copy the screenshot or the URL to clipboard. (Copy to clipboard is not well tested, because only https and localhost domains have access to clipboard API.)

tkriplean commented 1 year ago

Again, this is awesome. I can imagine this functionality to be very useful to hosts. I can also imagine it being useful to save a screenshot of a list of proposals.

A few notes:

errors
chadbrower0 commented 1 year ago

Added a white background-color fill.

chadbrower0 commented 1 year ago

I changed the dialog to offer checkboxes that customize which content to include. And I added logic to filter out content that is always unwanted, like various buttons.

image

chadbrower0 commented 1 year ago

Restyled screenshot dialog for more consistency with main webpage.

image