jabref icon indicating copy to clipboard operation
jabref copied to clipboard

Add compare button to duplicates in Citation relations tab

Open AbdAlRahmanGad opened this issue 1 year ago • 4 comments

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: Screenshot 2024-04-14 at 10 51 47 AM

For more context: The duplication detection in the citation relations tab was implemented in this PR https://github.com/JabRef/jabref/pull/11186

AbdAlRahmanGad avatar Apr 14 '24 09:04 AbdAlRahmanGad

@AbdAlRahmanGad Nice idea! Helps to see if JabRef works right - and also helps to add missing data to JabRef (if available)

koppor avatar Apr 15 '24 13:04 koppor

@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)))
                

harshithap2000 avatar Jun 13 '24 09:06 harshithap2000

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! 🚀

github-actions[bot] avatar Jun 13 '24 10:06 github-actions[bot]

The UI is direclty construced in CitationRelationsTab getPaneAndStartSearch

Siedlerchr avatar Jun 13 '24 10:06 Siedlerchr