Skip to content
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

Add edition to imprint and new thesis fields #1696

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

tmorrell
Copy link
Contributor

@tmorrell tmorrell commented Mar 19, 2024

❤️ Thank you for your contribution!

Description

This PR adds new fields to the imprint and thesis sections.

  • Edition is important to characterize books
  • The awarding department and type of thesis are both important to identify a specific thesis

This is a breaking change for thesis, since the thesis field was structured differently from the other publication custom fields and wasn't set up to support additional subfields. This change makes the thesis field consistent with the others, but will require current v12 users of this field to do an upgrade. I'm not sure what's needed to support that or if folks will think it's worth it.

Screenshot 2024-03-19 at 9 46 27 PM

Checklist

Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:

Third-party code

If you've added third-party code (copy/pasted or new dependencies), please reach out to an architect.

Reminder

By using GitHub, you have already agreed to the GitHub’s Terms of Service including that:

  1. You license your contribution under the same terms as the current repository’s license.
  2. You agree that you have the right to license your contribution under the current repository’s license.

@lnielsen
Copy link
Member

lnielsen commented Apr 4, 2024

@tmorrell Can you bring it up in the next telecon? In principle I don't see issues with adding the fields. It might have some impact on the serializers to use the new fields (e.g. book edition in citation formats) but better let people agree on first if they want the fields.

},
}


IMPRINT_NAMESPACE = {
# Imprint
"imprint": None,
"imprint": "",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was the change to mutable value done on purpose?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. Nope, just my copy of the code was older. I've fixed it.

@ntarocco
Copy link
Contributor

@tmorrell thank you for this change. As briefly mentioned during our last discussion, we will also need to have the following fields:

  • Date of submission to the university
  • Thesis Defence Date

Do you think these are fields that can be added to the default implementation, as many might need the same? Or they are too specific and we should go for new custom fields instead?

@tmorrell
Copy link
Contributor Author

We will definitely need Thesis Defense Date soon, but I'm not sure how best to implement it since I don't think there is custom field dates js widget. We basically need https://github.com/inveniosoftware/invenio-rdm-records/blob/12576835186dc837df7cdf20d905452eeab8291e/invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/fields/PublicationDateField/PublicationDateField.js, but I'm not sure how to get that working within custom fields.

So if you've got some suggestions how to implement it, I think they would be good additions to the default.

Copy link
Contributor

This PR was automatically marked as stale.

@github-actions github-actions bot added the stale label Jun 19, 2024
@tmorrell tmorrell removed the stale label Jun 19, 2024
Copy link
Contributor

github-actions bot commented Sep 1, 2024

This PR was automatically marked as stale.

@github-actions github-actions bot added the stale label Sep 1, 2024
@tmorrell tmorrell removed the stale label Sep 4, 2024
Copy link
Contributor

github-actions bot commented Nov 4, 2024

This PR was automatically marked as stale.

@github-actions github-actions bot added the stale label Nov 4, 2024
@tmorrell tmorrell removed the stale label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Triage 📥
Development

Successfully merging this pull request may close these issues.

4 participants