Skip to content

Conversation

@jesielviana
Copy link
Contributor

@jesielviana jesielviana commented Oct 17, 2025

References

Fixes

API related PR: DSpace/DSpace#11451

Description

This PR introduces a “Cite” button on the simple item page. When clicked, the button opens a modal or panel that displays the item’s bibliographic references in multiple configurable citation styles.

Demo: https://dspace-dev.lareferencia.info/items/4d66c4fd-6b7e-414f-8d3f-daccc99446fc

Instructions for Reviewers

Access the simple item page and click the “Cite” button to verify that the modal correctly displays the bibliographic data and that citation styles are configurable as expected.
The default citation styles available are APA, MLA, Vancouver, and BibTeX.

List of changes in this PR:

  • Added a “Cite” button to the simple item page UI.
  • Implemented a modal/panel for displaying bibliographic references.
  • Added translations and UI labels for internationalization support.

Include guidance for how to test or review your PR. This may include: steps to reproduce a bug, screenshots or description of a new feature, or reasons behind specific changes.

Checklist

This checklist provides a reminder of what we are going to look for when reviewing your PR. You do not need to complete this checklist prior creating your PR (draft PRs are always welcome).
However, reviewers may request that you complete any actions in this list if you have not done so. If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!

  • My PR is created against the main branch of code (unless it is a backport or is fixing an issue specific to an older branch).
  • My PR is small in size (e.g. less than 1,000 lines of code, not including comments & specs/tests), or I have provided reasons as to why that's not possible.
  • My PR passes ESLint validation using npm run lint
  • My PR doesn't introduce circular dependencies (verified via npm run check-circ-deps)
  • My PR includes TypeDoc comments for all new (or modified) public methods and classes. It also includes TypeDoc for large or complex private methods.
  • My PR passes all specs/tests and includes new/updated specs or tests based on the Code Testing Guide.
  • My PR aligns with Accessibility guidelines if it makes changes to the user interface.
  • My PR uses i18n (internationalization) keys instead of hardcoded English text, to allow for translations.
  • My PR includes details on how to test it. I've provided clear instructions to reviewers on how to successfully test this fix or feature.
  • If my PR includes new libraries/dependencies (in package.json), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.
  • If my PR includes new features or configurations, I've provided basic technical documentation in the PR itself.
  • If my PR fixes an issue ticket, I've linked them together.

@tdonohue tdonohue moved this to 🙋 Needs Reviewers Assigned in DSpace 10.0 Release Oct 17, 2025
@tdonohue
Copy link
Member

I've pulled this over to the 10.0 board in search of volunteers.

However, I wanted to note here that this feature looks similar to an "export" feature that already exists in DSpace-CRIS. So, we may need to analyze it in light of the potential DSpace-CRIS merger. If the merger were to occur, then this code may require updates to align with any code already coming from DSpace-CRIS. I'm hopeful a decision on the merger will be made in the next month.

The export feature from DSpace-CRIS can be seen on their demo site at https://dspacecris-community.test.4science.cloud/entities/publication/9880d9e1-5441-4e14-a6e8-6cf453bc25f9 If you click the "Export" button, you'll see there's options to export to various citation formats like APA, Chicago style, BibTex, etc.

In the meantime, we can still search out some early reviewers and testers.

@atarix83 and @abollini : Also pinging you directly since this may have overlap with a DSpace-CRIS feature, though the display is different in the User Interface. See @jesielviana 's demo at https://dspace-dev.lareferencia.info/items/4d66c4fd-6b7e-414f-8d3f-daccc99446fc where there's a "Cite" link available. You may want to give this a quick review, as maybe there's less overlap with DSpace-CRIS than I'm thinking.

@jesielviana
Copy link
Contributor Author

@tdonohue, thank you for your feedback and for reaching out to the 4Science team. I understand the concern about potential overlap or conflicts with DSpace-CRIS features.

I’m available for any suggestions or help needed during the review process.

ciscocarvalho added a commit to projetos-codic-ibict/ridi-dspace-angular that referenced this pull request Oct 27, 2025
ciscocarvalho added a commit to projetos-codic-ibict/ridi-dspace-angular that referenced this pull request Oct 27, 2025
@github-actions
Copy link

Hi @jesielviana,
Conflicts have been detected against the base branch.
Please resolve these conflicts as soon as you can. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: 🙋 Needs Reviewers Assigned

Development

Successfully merging this pull request may close these issues.

2 participants