Preserve comments in progress across page reloads

RESOLVED FIXED

Status

()

P2
enhancement
RESOLVED FIXED
9 months ago
7 months ago

People

(Reporter: dylan, Assigned: imadueme)

Tracking

Production

Details

Attachments

(1 attachment)

(Reporter)

Description

9 months ago
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
(Reporter)

Updated

8 months ago
Assignee: nobody → imadueme
Severity: normal → enhancement
Priority: -- → P2
(Assignee)

Updated

7 months ago
Status: NEW → ASSIGNED
(Assignee)

Comment 2

7 months ago
Created attachment 8968180 [details] [review]
Github PR #543
(Assignee)

Updated

7 months ago
Summary: Preserve comments when clicking the cancel button or reloading the page accidentally → Preserve comments in progress across page reloads
(Assignee)

Updated

7 months ago
Status: ASSIGNED → RESOLVED
Last Resolved: 7 months ago
Resolution: --- → FIXED

Comment 3

7 months ago
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.