qri-io / 2017-frontend

qri electron & web frontend
https://qri.io
MIT License
23 stars 7 forks source link

feat(delete): adds ability to delete the most recent version of a dataset, not just the entire dataset history #492

Closed ramfox closed 5 years ago

ramfox commented 5 years ago

closes #478

This also fixes a bug I introduced when refactoring the body actions:

Because of the way the qri backend canonicalizes the dataset (if there is no peername or name, it can only canonicalize references at head), we need to add the peername and name back into the loadBody action, to get correct responses when trying to get the body of a dataset that is not the most recent.