Feat: Persist 'Share as Image' options
Resolves #1547
All the toggle buttons would be persisted
In the case where the user hits the upper limit for parent comments, the setting would remember it and set all future shares to have all parent comments visible
@aeharding also, currently one of the toggles is labelled "Include Post Text", which seems to be misleading. In case of image posts, this actually toggles the image within the screenshot
Update: I've renamed it to "Include Post Content"
Thanks for making this PR!
I tried to run locally, but the image isn't appearing (Firefox). It working in main but I haven't investigated further.
I tried opening the built docker version on Firefox and it seems to be working:
Update: it even works as expected when running with pnpm dev:
@sharunkumar Can you try share as image on the post, not a comment? That is where it fails for me.
@sharunkumar Can you try share as image on the post, not a comment? That is where it fails for me.
I'll look into it in a bit