Closed VivianChu closed 4 years ago
Thanks @mcritchlow for reviewing. @hjsyoo already reviewed on QA. https://github.com/ucsdlib/damspas/issues/632#issuecomment-542932437
@VivianChu This adjustment looks good.
@VivianChu I looks good and I just have a little question. Maybe we also need a test to validate cite this work
are displayed for ldcp
collections while preferred_citation_note
are displayed for dlp
collections?
@lsitu For clarification, Cite This Work should be the displayed label for all objects regardless of Unit/Repository. Unit should only affect the relative placement of Note:Preferred citation. https://github.com/ucsdlib/damsmanager/issues/368#issuecomment-542347090
@hjsyoo Thank for the clarification. Is it only the label change to Cite this Work
for all objects for Note:Preferred citation
? What do you mean for Unit should only affect the relative placement of Note:Preferred citation
? It seems like the implementation may not reflect it.
@lsitu Sorry about the confusion. I should have updated the specs, and will do so now. The related ticket, https://github.com/ucsdlib/damsmanager/issues/368, has new specs as discussed at the last dams-wg meeting, so the name of the ticket is currently misleading. To summarize https://github.com/ucsdlib/damspas/issues/632 and https://github.com/ucsdlib/damsmanager/issues/368, we would like the DAMS elements to be re-ordered as indicated in https://docs.google.com/spreadsheets/d/1n7REAqpt2vh_BQWXFhTbAyVQY5kI7JPOuBAhg8WYTmU/edit#gid=0, which I updated just now with better color-coding (I didn't touch the order of elements). In a nutshell, the elements for all objects and collections should be in the order indicated on the spreadsheet, noting the following conditional: 1) if the Unit is RDC, then Note:Preferred Citation should be placed near the top. 2) If Unit is non-RDC, then Note:Preferred Citation should be located near the bottom. 3) Both Notes should have the label, "Cite This Work".
@lsitu - You mentioned "the implementation may not reflect it". I did use the conditional statement to check for the unit and place the Note:Preferred Citation to different place.
@hjsyoo @VivianChu Thanks for the clarification. I think it looks good and I can merge it. 👍
But the context of using dams:preferredCitationNote
and Note:preferred citation
that @VivianChu mentioned above is confusing.
@arwenhutt Can you confirm that dams:preferredCitationNote is no longer used? I'm familiar with Note:preferred citation, but not dams:preferredCitationNote, if they are two different fields.
@VivianChu I am moving forward to merge the PR now. I think we can create another ticket to cleanup the codes for dams:preferredCitationNote
when needed.
Thanks @lsitu - Sounds good.
Note from @arwenhutt : I think I can confirm that we don't use dams:preferredCitationNote currently. ...There could be old data, but we are currently using the "Note:preferred citation"
References #632, https://github.com/ucsdlib/damsmanager/issues/368
Local Checklist
master
branch?What does this PR do?
Re-ordering of DAMS elements in the UI.
Where should a reviewer start?
It's deployed to qa
Manual testing steps?
For example //rdc object http://libraryqa.ucsd.edu/dc/object/bb04139816 http://libraryqa.ucsd.edu/dc/object/bb2018464v
//non-rdc object http://libraryqa.ucsd.edu/dc/object/bb5157099g http://libraryqa.ucsd.edu/dc/object/bb1574705v http://libraryqa.ucsd.edu/dc/object/bb2083712b
@ucsdlib/developers - please review