Add compare button to duplicates in Citation relations tab
I think it would be nice if we added a compare button to the duplicates in the citation relations tab. The compare button will open the "Possible duplicate entries" window.
It will look something like this:
For more context: The duplication detection in the citation relations tab was implemented in this PR https://github.com/JabRef/jabref/pull/11186
@AbdAlRahmanGad Nice idea! Helps to see if JabRef works right - and also helps to add missing data to JabRef (if available)
@koppor I wish to work on this issue with a teammate for university assignment.
I had a query, I see that gui/entryeditor/citationrelationtab/CitationRelationsTab.java (shown below) has the code for rendering the citation list. Where can I find the UI files for the same? So that I can add a compare button along with the link button.
.map(localEntry -> new CitationRelationItem(entr, localEntry, true)) // duplicate entry
.orElseGet(() -> new CitationRelationItem(entr, false)))
Welcome to the vibrant world of open-source development with JabRef!
Newcomers, we're excited to have you on board. Start by exploring our Contributing guidelines, and don't forget to check out our workspace setup guidelines to get started smoothly.
Having any questions or issues? Feel free to ask here on GitHub. Need help setting up your local workspace? Join the conversation on JabRef's Gitter chat. And don't hesitate to open a (draft) pull request early on to show the direction it is heading towards. This way, you will receive valuable feedback.
Happy coding! 🚀
The UI is direclty construced in CitationRelationsTab getPaneAndStartSearch