Next generation of Oregon Digital ( https://oregondigital.org ) digital collections platform, built on Samvera Hyrax ( https://github.com/samvera/hyrax/ )
18
stars
1
forks
source link
Collections have properties for content warning data #3098
This ticket describes the need for works to include new properties which include true/false statements to blur on show page and search results as well as to display the content warning on the show page. This ticket is for the models to house the data and for indexing to index the data if needed.
[x] Add property to collection that is a true/false for blurring image on show page
[x] Add property to collection that is a true/false for blurring image on search results
[x] Add property to collection that is a text value that contains the content warning statement.
[x] Add in indexing needs to index the 3 properties into the proper fields.
Expected behavior
A collection can be created in a command line which includes the blurred image true/false statements and the content warning. The collection can be saved properly.
Related work
We need to lay out what these properties look like. Then we need to verify the system can handle to properties and then create the code which adds in the data. There COULD be extra work needed which ensures previously created objects get updated with content warning data (even if its "no content warning") and re-indexing may need to happen.
Descriptive summary
This ticket describes the need for works to include new properties which include true/false statements to blur on show page and search results as well as to display the content warning on the show page. This ticket is for the models to house the data and for indexing to index the data if needed.
Expected behavior
A collection can be created in a command line which includes the blurred image true/false statements and the content warning. The collection can be saved properly.
Related work
We need to lay out what these properties look like. Then we need to verify the system can handle to properties and then create the code which adds in the data. There COULD be extra work needed which ensures previously created objects get updated with content warning data (even if its "no content warning") and re-indexing may need to happen.