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

Remove ResourceTypePicker and references; fixes #1953 #1957

Closed lizadaly closed 1 year ago

lizadaly commented 1 year ago

This specialty component is only invoked when a resource is the "Temp" type, which typically occurs if the user starts the legal document selection flow but abandons it.

If the user clicks on the red-outlined case from the TOC, they previously went to the edit form, which loaded this special search component:

image

However searching here does nothing. No user has complained about this, probably because most people correct the temp resource right from the TOC page:

image

Now instead of taking them to this special page, clicking on the unfinished resource title will do the same as clicking on the "Specify Document" button:

image
codecov-commenter commented 1 year ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@bf94f2b). Click here to learn what that means. The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop    #1957   +/-   ##
==========================================
  Coverage           ?   76.92%           
==========================================
  Files              ?       60           
  Lines              ?     6839           
  Branches           ?        0           
==========================================
  Hits               ?     5261           
  Misses             ?     1578           
  Partials           ?        0           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.