open-reaction-database / ord-schema

Schema for the Open Reaction Database
https://open-reaction-database.org
Apache License 2.0
95 stars 27 forks source link

Log dataset revisions and render them for download. #463

Closed antonkast-google closed 4 years ago

antonkast-google commented 4 years ago

Make it possible to recover from unintended deletions.

It's not exactly an undo feature, but it makes recovery possible from some kinds of mistake. The procedure after a loss is: go to /revisions; pick a log entry; download it; and upload it again.

This could be integrated into the editor with little effort by adding an editor affordance showing the revision list and linking from there to a Flask function that reverts the dataset and reloads the page.

codecov[bot] commented 4 years ago

Codecov Report

Merging #463 into main will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #463   +/-   ##
=======================================
  Coverage   75.72%   75.72%           
=======================================
  Files          22       22           
  Lines        2010     2010           
  Branches      449      449           
=======================================
  Hits         1522     1522           
  Misses        347      347           
  Partials      141      141           
skearnes commented 4 years ago

Forked as https://github.com/Open-Reaction-Database/ord-editor/pull/8