harvard-lil / h2o

H2O is a web app for creating and reading open educational resources, primarily in the legal field
https://opencasebook.org
GNU Affero General Public License v3.0
36 stars 30 forks source link

Backport "clone from link" feature to new legal doc search component #1976

Closed lizadaly closed 1 year ago

lizadaly commented 1 year ago

A useful but hard-to-find feature in the existing Quick Add is that if the user pastes in a URL to a resource from H2O, it will import that resource automatically as a clone.

This feature doesn't work in the new legal doc add component because the original implementation mutated the state of the old component in a tricky way.

Re-add this feature but do so in a way that is more explicit.