Closed
Bug 936661
Opened 13 years ago
Closed 13 years ago
Prevent thimble data loss on spontaneous page navigation/reloads
Categories
(Webmaker Graveyard :: Thimble, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sedge, Assigned: michiel)
Details
Attachments
(1 external file)
As indicated in our q4 prioritization triage, a major pain point of our tools is a lack of user-facing redundancy. Users are reporting losing work on makes before they are formally saved/published, so some combination of auto-saving and local storage in case the server connection is lost would be great.
I'm morphing this first into an issue on preventing users from spontaneously losing their work through page navigation/reloads. If people lose their work by closing a browser, we can evaluate how many reports we get in (if any) after this safeguard is added.
Summary: Add auto-save functionality + offline redundancy of project data to Thimble → Prevent thimble data loss on spontaneous page navigation/reloads
I tried to find the best place to enable and disable this based on user interaction, but after an hour of investigating, friendlycode simply fakes too many events that normally original with a user, making it near impossible to find a good place to deem the code "safe to discard" vs. "modified by the user and needing a confirmation before discarding".
Attachment #8334813 -
Flags: review?(kieran.sedgwick)
attaching aali to the bug, since it will require a transifex string addition, too.
Flags: needinfo?(ali)
| Reporter | ||
Comment 4•13 years ago
|
||
Comment on attachment 8334813 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/294
Beautiful. Just... beautiful.
Attachment #8334813 -
Flags: review?(kieran.sedgwick) → review+
I'd like to land this and then file a followup to refine when data protection is supposed to be on, and when it's supposed to be off. Note that this prevents accidental navigation, but doesn't do any project saving. If we're sure we want to save the session (in localStorage) then I'll file a followup for that too.
Flags: needinfo?(david.humphrey)
Comment 6•13 years ago
|
||
Comment on attachment 8334813 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/294
Yes, this is good.
Attachment #8334813 -
Flags: review+
Updated•13 years ago
|
Flags: needinfo?(david.humphrey)
Comment 7•13 years ago
|
||
Commit pushed to master at https://github.com/mozilla/thimble.webmaker.org
https://github.com/mozilla/thimble.webmaker.org/commit/af984241515f13e29684c6d4f8f41d4d0e873309
Merge pull request #294 from Pomax/bug936661
added a popcorn style safeguard against spontaneous page navigation/relo...
landed
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•