sul-dlss / SearchWorks

SearchWorks (Stanford University Libraries)
http://searchworks.stanford.edu
Other
48 stars 10 forks source link

Add link to view items listed in Earthworks #4312

Open thatbudakguy opened 2 months ago

thatbudakguy commented 2 months ago

https://github.com/sul-dlss/earthworks/issues/310 will add the reverse of this (links from Earthworks to Searchworks), so it seemed prudent to have the link work both ways!

Release metadata seems to already be available in the page context (because it's used to render the schema.org metadata for records, which notes that they are available in Earthworks where appropriate):

  "includedInDataCatalog": {
    "@type": "DataCatalog",
    "name": "https://earthworks.stanford.edu"
  }

Purl bd285ct9109 is currently listed in both platforms.

We could add a simple link to the metadata (like we do for the purl), but it might be more visible/useful to render some sort of context box, like we do for collection links:

Screenshot 2024-07-09 at 13 57 07

As such, this might require some design.

jcoyne commented 2 months ago

It might be helpful to look at items that are also in an exhibit like https://searchworks.stanford.edu/view/10784397

dbranchini commented 1 month ago

Design is complete:

https://www.figma.com/design/nkgg905s5FyXoyPZjVMco0/EarthWorks?node-id=1047-233728&t=AVFT2SNIYGQ4LQKi-4

Screenshot 2024-07-26 at 1 05 07 PM

(NOTE: we also moved the PURL/SDR link into this same box. If it can't be done as part of this ticket, then maybe we create another ticket.)