You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a user, it is important for me to see that materials are restricted from the search results page. The visibility of access restrictions should be robust.
Acceptance criteria
When viewing a restricted item in search results there should be a badge next to restricted items.
Concrete example
A researcher does not know that any of these materials are restricted unless they click on the component. See for example, the search results listed here. All of these materials are restricted.
Adding "Restricted" badges to the search results page would likely be akin to current functionality that adds the "Has Online Content" badge to the search results page.
This should use the same logic as we use in the show page for the components.
These probably shouldn't be a link, because it would send them to the collection page and not the component page.
First Step
Write a test. The Toni Morrison items in the test fixtures should include restricted items that can be used here.
The text was updated successfully, but these errors were encountered:
User story
As a user, it is important for me to see that materials are restricted from the search results page. The visibility of access restrictions should be robust.
Acceptance criteria
Concrete example
A researcher does not know that any of these materials are restricted unless they click on the component. See for example, the search results listed here. All of these materials are restricted.
An example that isn't a component, but should have a badge: https://findingaids.princeton.edu/catalog/C1491_c84, search result: https://findingaids.princeton.edu/?f%5Bcollection_sim%5D%5B%5D=Toni+Morrison+Papers%2C+1908-2017+%28mostly+1970-2015%29&group=true&search_field=all_fields
Implementation notes, if any
Adding "Restricted" badges to the search results page would likely be akin to current functionality that adds the "Has Online Content" badge to the search results page.
This should use the same logic as we use in the show page for the components.
These probably shouldn't be a link, because it would send them to the collection page and not the component page.
First Step
Write a test. The Toni Morrison items in the test fixtures should include restricted items that can be used here.
The text was updated successfully, but these errors were encountered: