a tool for shared writing and social publishing

When before navigating away and losing comment data #30

open
opened by ajamesphillips.com edited

When you click publish and are invited to post a comment to accompany the post, several times I've been typing and then triggered a page navigation event which clears the data. Perhaps we could warn the users before they do this?

I pushed up an untested branch here but apologies I'm new to Tangled and don't yet know how to make a PR.

Alternative

Store the draft comment in the localStorage and reload from that on page load. I didn't try this as I was concerned about the potential for leaking user sensitive data on public machines.

p.s. great library! Thanks so much for this. Been really enjoying it so far.

sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:dzkrpeywafk5dqqog4flidf4/sh.tangled.repo.issue/3m7xrk5ungx22