-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding new MODS fields as per Metadata Interest Group mappings #5
Conversation
I've just tested and this appears to work as expected. |
This is failing travis and I'm guessing due to the dependency on the various taxonomy configs which don't exist here. Did you mean to add them @Natkeeran |
My guess is that the updates to controlled access terms needs to merge first. |
Relies on Islandora/controlled_access_terms#35 |
@Natkeeran the merge conflicts are, as far as i can tell, due to the addition of the weight field at the spots where your changes began. They're not too hard to resolve. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the novel! I did a lot of the same thing:
- most single-valued fields should be multi-valued
- some fields need to be translated
- would it be ok to mark some of these as "auto-create" i.e. you don't have to add the term to the taxonomy before entering it here? I think this will increase ease of use in general and people can lock them down if they know what they're doing. We can discuss the general principle and the fields that aren't included in this PR as a later date, and if you want to push all "auto-create" suggestions to that time, that's fine with me.
The other question is whether we will be able to pre-populate some vocabularies but i should probably take that to the Controlled Access Terms PR.
Thanks for your patience, this is a lot of great work. Thank you for reading the messy MIG documentation.
config/install/field.field.node.islandora_object.field_dewey_classification.yml
Show resolved
Hide resolved
config/install/field.field.node.islandora_object.field_edition.yml
Outdated
Show resolved
Hide resolved
config/install/field.field.node.islandora_object.field_form.yml
Outdated
Show resolved
Hide resolved
config/install/field.field.node.islandora_object.field_form.yml
Outdated
Show resolved
Hide resolved
config/install/field.field.node.islandora_object.field_place_published.yml
Outdated
Show resolved
Hide resolved
config/install/field.field.node.islandora_object.field_subjects_name.yml
Outdated
Show resolved
Hide resolved
config/install/field.storage.node.field_place_published_country.yml
Outdated
Show resolved
Hide resolved
@rosiel thank you for the feedback. Just getting to this one. I will make the requested changes. |
I've made all the requested changes. The vocabs have been made translatable, thus whether field is transtlable or not does not seem matter. |
Hoping this gets reviewed before the next release! |
@Natkeeran, we need updates to Islandora/controlled_access_terms#35 approved and merged before we can do this one. |
I know there is a big thread of discussion about what needs to be adjusted on that ^^ PR. Let me see if I can go through and summarize them. |
@seth-shaw-unlv oh, right. Thank you. |
I've made the changes to controlled_access_terms as per Seth's suggestions. Mainly, moving the country vocab and fields into a sub module. The only thing that I am considering adding would be add a hook to create an rdf entry for place_country field when the module gets installed. However, that can be a separate PR. |
I've just tested this PR and it appears to be functioning as expected. |
config/install/field.field.node.islandora_object.field_table_of_contents.yml
Outdated
Show resolved
Hide resolved
config/install/field.field.node.islandora_object.field_note.yml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As per the Slack discussion, we should use text_long
instead of string_long
for 'Note' and 'Table of Contents'.
config/install/core.entity_form_display.node.islandora_object.default.yml
Outdated
Show resolved
Hide resolved
config/install/core.entity_form_display.node.islandora_object.default.yml
Outdated
Show resolved
Hide resolved
config/install/core.entity_view_display.node.islandora_object.binary.yml
Outdated
Show resolved
Hide resolved
config/install/core.entity_view_display.node.islandora_object.default.yml
Outdated
Show resolved
Hide resolved
config/install/core.entity_view_display.node.islandora_object.open_seadragon.yml
Outdated
Show resolved
Hide resolved
config/install/core.entity_view_display.node.islandora_object.pdfjs.yml
Outdated
Show resolved
Hide resolved
config/install/core.entity_view_display.node.islandora_object.binary.yml
Outdated
Show resolved
Hide resolved
config/install/core.entity_view_display.node.islandora_object.default.yml
Outdated
Show resolved
Hide resolved
config/install/core.entity_view_display.node.islandora_object.open_seadragon.yml
Outdated
Show resolved
Hide resolved
config/install/core.entity_view_display.node.islandora_object.pdfjs.yml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GitHub Issue: (link)
What does this Pull Request do?
This PR adds various fields needed for a default MODS form as per the above noted ticket.
How should this be tested?
Interested parties
Tag (@ mention) interested parties or, if unsure, @Islandora-CLAW/committers