ReviewNB / support

Issues and feature requests for ReviewNB
https://reviewnb.com
58 stars 8 forks source link

Save draft review on a Pull Request #68

Open amit1rrr opened 4 years ago

amit1rrr commented 4 years ago

Problem

A user writes a detailed review on a notebook and their browser crashes before they could post the review. Well written comments are lost. This is not the experience we want our users to have.

Solution

Draft review can be stored on our backend server or localStorage of the browser. Some considerations --

kennysong commented 2 years ago

I appreciate the focus on privacy, though I've lost a few comments since I didn't know this was the default behavior.

A middle ground may be to have a "Save Review" button to cache PR comments on ReviewNB servers. To explicitly get user consent, you can show a confirmation message on click, or even disable the button unless a "it's okay to store comments on ReviewNB" flag is turned on in settings.

haridsv commented 1 year ago

At least the overall review comment seems to survive even a hard reload of the page.

Update: I lost the draft comment due to browser restart, so not sure how it could survive the hard reload but not a browser restart.