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

Replace quick-add legal doc search with new flow #1968

Closed lizadaly closed 1 year ago

lizadaly commented 1 year ago

Continuing #1933 to handle the quick add feature. This should happen after the add-content feature has been live for a few days and we're certain that it's OK.

Without fully rethinking the UX here, try to reduce the number of clicks needed to go from a search term entered into the quick-add box to a results list.

lizadaly commented 1 year ago

This will need to modify the new add legal doc endpoint to accept an optional ContentNode id, representing the Temp node that was created by Quick Add, rather than always creating a new one. This would replace the previous loop of several round trips to first import the legal document, then patch in the association between the two.