Skip to content
This repository has been archived by the owner on Mar 24, 2020. It is now read-only.

Object level view #413

Closed
gamontoya opened this issue Mar 20, 2018 · 16 comments
Closed

Object level view #413

gamontoya opened this issue Mar 20, 2018 · 16 comments

Comments

@gamontoya
Copy link

gamontoya commented Mar 20, 2018

Descriptive summary

  • As a user, when I click to view an object, I should see a grey generic image with a banner that explains the restriction.
  • As a user, when viewing an object, I should see the Access note below the generic image and other displayed metadata.b

Expected behavior

The banner note should say:

Restricted View
Content not available. Access may granted for research purposes at the discretion of the UC San Diego Library. For more information please contact the Digital Library Development Program at dlp@ucsd.edu

Notes:

  • The specific program can vary depending on the collection (can it be auto-populated based on the owning program?)
  • AddThis widget can stay.

Example View

banner


Reference

Full specifications

@VivianChu
Copy link
Member

@gamontoya - The single object view has been updated to display the restricted note. Attached is the screen shot for my local environment. I created a PR and waited for it to get reviewed.
objectviewmetadataonly

@gamontoya
Copy link
Author

@VivianChu Yay! Good job.

@VivianChu
Copy link
Member

@gamontoya - The update for simple object has been deployed to qa. Could you review it? Thanks
For example
http://libraryqa.ucsd.edu/dc/object/bb9591785q
http://libraryqa.ucsd.edu/dc/object/bb1844273v
http://libraryqa.ucsd.edu/dc/object/bb72371287

@gamontoya
Copy link
Author

@VivianChu Those three examples look good. Where is the program information being pulled from on the banner?

Digital Library Development Program at dlp@ucsd.edu

From the attribution note or is it hard coded?

@VivianChu
Copy link
Member

@gamontoya - It is hard coded. I don't see that value from attribution note - http://lib-hydrahead-qa:8983/solr/blacklight/select?q=bb9591785q&wt=xml&debugQuery=true

@gamontoya
Copy link
Author

gamontoya commented Apr 24, 2018

@VivianChu It's in otherNote_json_tesim

<arr name="otherNote_json_tesim">
<str>{"id":"b","type":"local attribution","value":"Special Collections \u0026 Archives, 
UC San Diego, La Jolla, 92093-0175 (https://lib.ucsd.edu/sca)","displayLabel":"digital 
object made available by","internalOnly":""}</str>

So I don't think it should be hard coded. In this case, the value is wrong in your hard coded example.

@VivianChu
Copy link
Member

@gamontoya - Would the value be this instead
Restricted View
Content not available. Access may granted for research purposes at the discretion of the UC San Diego Library. For more information please contact the Special Collections \u0026 Archives,
UC San Diego, La Jolla, 92093-0175 (https://lib.ucsd.edu/sca)

@VivianChu
Copy link
Member

@gamontoya - The view has been updated for my local damspas with the value from the attribution note. Attached is the screen shot. Does it look correct to you?
The attribution for this record is {"id":"_","type":"local attribution","value":"Digital Library Development Program, UC San Diego, La Jolla, 92093-0175 (https://lib.ucsd.edu/digital-library)","displayLabel":"digital object made available by","internalOnly":""}
simpleobjupdate

@gamontoya
Copy link
Author

gamontoya commented Apr 25, 2018

The text should read:

Content not available. Access may granted for research purposes at the discretion of the UC San Diego Library. For more information please contact the Digital Library Development Program at dlp@ucsd.edu

Again, the above program name will change depending on the Program listed in the attribution note for the object.

@VivianChu
Copy link
Member

@gamontoya - @gamontoya - The update for program name has been deployed to qa. Could you review it again? Thanks
For example
http://libraryqa.ucsd.edu/dc/object/bb9591785q
http://libraryqa.ucsd.edu/dc/object/bb1844273v
http://libraryqa.ucsd.edu/dc/object/bb72371287

@gamontoya
Copy link
Author

@VivianChu They look fine, but once again, if I sign in, I should be able to see the objects and download the derivative and master. If these rules are not yet implemented, let me know.

@gamontoya
Copy link
Author

@VivianChu I take that back. The email for Special Collections is wrong. It's using the DLP email. Can you not pull the correct email for Special Collections from the attribution note?

@VivianChu
Copy link
Member

@gamontoya - I don't see email for Special Collections from the attribute note.
http://lib-hydrahead-qa:8983/solr/blacklight/select?q=id:bb9591785q&wt=xml&debugQuery=true
{"id":"b","type":"local attribution","value":"Special Collections \u0026 Archives, UC San Diego, La Jolla, 92093-0175 (https://lib.ucsd.edu/sca)","displayLabel":"digital object made available by","internalOnly":""}
Which email should I use in this case?
I just updated the rule for the object and will deploy it to qa for you to review again when the build is done.

@gamontoya
Copy link
Author

@VivianChu Okay, we'll have the following use cases:

@VivianChu
Copy link
Member

@gamontoya - The email and the rule update for simple object has been deployed to qa. Could you review it again? Thanks
For example
http://libraryqa.ucsd.edu/dc/object/bb9591785q
http://libraryqa.ucsd.edu/dc/object/bb1844273v
http://libraryqa.ucsd.edu/dc/object/bb72371287

@gamontoya
Copy link
Author

@VivianChu The banners for all three are missing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants