-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Refine 'Update with bibliographic information' logic (Fixes #14185) #14947
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
Conversation
|
Hey @kammari-ashritha! 👋 Thank you for contributing to JabRef! We have automated checks in place, based on which you will soon get feedback if any of them are failing. We also use Qodo for review assistance. It will update your pull request description with a review help and offer suggestions to improve the pull request. After all automated checks pass, a maintainer will also review your contribution. Once that happens, you can go through their comments in the "Files changed" tab and act on them, or reply to the conversation if you have further inputs. You can read about the whole pull request process in our contribution guide. Please ensure that your pull request is in line with our AI Usage Policy and make necessary disclosures. |
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
5eacee9 to
a005057
Compare
|
@koppor I have fixed the localization keys and resolved the conflicts. All unit tests are now passing (green). Ready for review! |
Please also address #14947 (comment) |
|
@koppor I have updated the PR description to strictly follow the standard template and included all mandatory checklist items. The description is now manually formatted. Ready for review. |
Please go through the checklist and either finish the TODO or mark it as n/a. See the temple. |
|
@koppor I have updated the checklist. I marked the TODO items as n/a ([/]) because they are not applicable to this specific change. Ready for review. |
Nice. Next time do it straight from the beginning! |
|
Understood. I will ensure to follow the guidelines strictly from the start in future contributions. Thanks for your patience. |
jabgui/src/main/java/org/jabref/gui/importer/actions/UpdateWithWebInfoAction.java
Show resolved
Hide resolved
acfc21d to
30e9c66
Compare
|
@koppor I have updated the code to use the executableProperty binding as requested. The Unit Tests and Binaries are all passing (Green). The JBang failures seem unrelated to my changes in UpdateWithWebInfoAction.java. Ready for final review! |
jabgui/src/main/java/org/jabref/gui/importer/actions/UpdateWithWebInfoAction.java
Outdated
Show resolved
Hide resolved
jabgui/src/main/java/org/jabref/gui/importer/actions/UpdateWithWebInfoAction.java
Outdated
Show resolved
Hide resolved
|
@koppor Thank you for the review. I have refactored the code to use getFirst() and wrapped the source name in Localization.lang("Original") to ensure proper translation support. Ready for merge. |
It's ready for review - however, it's not. See comments of the bot. Plesae check |
jabgui/src/main/java/org/jabref/gui/importer/actions/UpdateWithWebInfoAction.java
Outdated
Show resolved
Hide resolved
jabgui/src/main/java/org/jabref/gui/importer/actions/UpdateWithWebInfoAction.java
Outdated
Show resolved
Hide resolved
|
@koppor I have removed var and used explicit types (Set). I also added the missing Original=Original key to JabRef_en.properties to fix the localization test. I am fully committed to completing this task correctly. Ready for review. |
|
You committed your code on the For this pull request, this is OK. For subsequent pull requests, please start with a different branch with a proper branch name. See CONTRIBUTING.md for more details. |
2acde33 to
71252c7
Compare
|
@koppor I tried the application using this pr, and found that the logic is ok. Some comments in the code seem suspicious, and you commented on them here #14947 (comment). |
5e95198 to
33754e6
Compare
|
Hey, we noticed that you force-pushed your changes. Force pushing is a bad practice when working together on a project (mainly because it is not supported well by GitHub itself). Commits are lost and comments on commits lose their context, thus making it harder to review changes. When the pull request is getting integrated into In future, please avoid that. For now, you can continue working. |
|
JUnit tests of You can then run these tests in IntelliJ to reproduce the failing tests locally. We offer a quick test running howto in the section Final build system checks in our setup guide. |
Comes with more code reading. What you could have seen that a |
|
Yeah that is true. |
|
@ZiadAbdElFatah Can you re-create the PR? I think, you are using AI more properly than @kammari-ashritha . I am not patient enough to comment again. |
|
@kammari-ashritha At first, your PR looked promising, but then it lost quality.
I cannot work on that basis. The PR makes the impression, you are guiding an AI, but not checking its result. |
Ok sure. |
|
@kammari-ashritha You can try another issue if you want. |

Closes #14185
I implemented the logic to update bibliographic information using entry data (Title/Author) via the
MultiMergeEntriesView. This adds a new action to the "Lookup" menu and renames the existing identifier-based action for clarity.Steps to test
Attention is All You Need, Author:Vaswani).Screenshots
Mandatory checks
CHANGELOG.mdin a way that is understandable for the average user (if change is visible to the user)