kohler / hotcrp

HotCRP conference review software
http://read.seas.harvard.edu/~kohler/hotcrp
Other
329 stars 112 forks source link

Protection from accidentally overwriting reviews/ Ability to see prior version of my reviews? #353

Open FreakyPenguin opened 2 months ago

FreakyPenguin commented 2 months ago

Hi Eddie!

The title tells a story... Somehow had two tabs of the review form open for a paper. And of course I managed to accidentally use that to overwrite my review with the one for the next paper. Given our user base, I assume I am not the only one sufficiently confused to manage such feats.

Maybe there is an easy check that could prevent this? For example track the timestamp when form was loaded and then make sure that's larger than the the timestamp of the review before overwriting?

Orthogonal but also useful in this situation: not sure if you are internally versioning reviews, but I was hoping I could see my prior version of my review somewhere. Unfortunately this instance has emails for my own reviews to me disabled.

(of course the embarrassing workaround is that I email the chair and ask him to forward the email :-) )

Cheers

kohler commented 3 weeks ago

Hi, the new API endpoint api/PAPER/reviewhistory?r=REVIEWID exposes review versions to review authors & paper managers. Probably most useful is api/PAPER/reviewhistory?r=REVIEWID&expand=1, which expands the diff patch format to full texts. This is not yet visible via the UI but it is there, so you can even type it into your browser to get all versions in JSON. (#320 is the same issue.)