Closed Bug 1438205 Opened 2 years ago Closed 2 years ago

Preserve comments in progress across page reloads

Categories

(bugzilla.mozilla.org :: User Interface, enhancement, P2)

Production
enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: dylan, Assigned: imadueme)

Details

Attachments

(1 file)

45 bytes, text/x-github-pull-request
Details | Review
11:19 <bz> dylan: yes.  Say I start typing a comment.  Then I decide I need to change the component.
11:19 <bz> Then I decide I don't need to change the component and cancel that.
11:20 <bz> I lose the comment.
11:20 <bz> Which would not have happened had I never started editing the other stuff.
GitHub also retains any unsent comment. BzDeck was using localStorage to do so.

https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage
https://github.com/bzdeck/bzdeck/commit/cbfdae842d8b29a5657900eb9dd2de117423da12
Summary: Preserve comments when clicking the cancel button → Preserve comments when clicking the cancel button or reloading the page accidentally
Assignee: nobody → imadueme
Severity: normal → enhancement
Priority: -- → P2
Status: NEW → ASSIGNED
Attached file Github PR #543
Summary: Preserve comments when clicking the cancel button or reloading the page accidentally → Preserve comments in progress across page reloads
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Thank you for this! I've lost my entire comment several times in the past after accidentally navigating away from a page or some other combination of actions.
You need to log in before you can comment on or make changes to this bug.