Fix-15195| Remove restart warning dialogs from RelatedArticlesTab and localization#15200
Conversation
Review Summary by QodoRemove restart dialogs from RelatedArticlesTab and cleanup localization
WalkthroughsDescription• Removed restart warning dialogs from RelatedArticlesTab privacy settings • Related articles pane now displays immediately after accepting privacy settings • Cleaned up unused localization keys from properties file • Updated CHANGELOG.md with user-visible changes Diagramflowchart LR
A["User accepts privacy settings"] -->|Previously| B["Restart warning dialog shown"]
A -->|Now| C["Related articles pane displayed immediately"]
D["Localization cleanup"] -->|Removed| E["Unused 'Restart' key"]
D -->|Kept| F["'Restart required' key for preferences"]
File Changes1. jabgui/src/main/java/org/jabref/gui/entryeditor/RelatedArticlesTab.java
|
Code Review by Qodo
1.
|
|
Hey @aidanmcc02! 👋 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. |
CHANGELOG.md
Outdated
|
|
||
| ### Changed | ||
|
|
||
| - We removed the restart prompt when accepting Mr. DLib privacy settings or hiding the Related articles tab in the entry editor. [#15195][https://github.com/JabRef/jabref/issues/15195] |
There was a problem hiding this comment.
1. Broken #15195 changelog link 📘 Rule violation ✓ Correctness
The new changelog entry uses invalid Markdown link syntax for the referenced issue. This makes the issue reference non-clickable and reduces the quality of user-facing release notes.
Agent Prompt
## Issue description
The CHANGELOG entry uses incorrect Markdown link syntax: `[#15195][https://...]`.
## Issue Context
Changelog entries are user-facing text and should be correctly formatted and professional.
## Fix Focus Areas
- CHANGELOG.md[16-16]
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
| Setting\ all\ preferences\ to\ default\ values.=Setting all preferences to default values. | ||
| Could\ not\ import\ preferences=Could not import preferences | ||
| Could\ not\ export\ preferences=Could not export preferences | ||
| Please\ restart\ JabRef\ for\ preferences\ to\ take\ effect.=Please restart JabRef for preferences to take effect. |
There was a problem hiding this comment.
2. Restart-warning key left in locales 📎 Requirement gap ⛯ Reliability
The Please restart JabRef for preferences to take effect. localization entry was removed from the English base file but remains in other locale files, leaving unused/inconsistent localization resources. This violates the requirement to remove localization strings that became unused due to removing the Restart dialog.
Agent Prompt
## Issue description
The English base localization removed the key `Please restart JabRef for preferences to take effect.`, but it remains in other locale files.
## Issue Context
After removing the Restart dialog usage, this key appears unused, so leaving it in non-English locales is inconsistent and violates localization cleanup requirements.
## Fix Focus Areas
- jablib/src/main/resources/l10n/JabRef_en.properties[2639-2646]
- jablib/src/main/resources/l10n/JabRef_de.properties[2606-2609]
- jablib/src/main/resources/l10n/JabRef_*.properties[1-99999]
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
✅ All tests passed ✅🏷️ Commit: 6cb014c Learn more about TestLens at testlens.app. |
…for preference changes. Add listener for recommendations tab visibility in EntryEditor.
|
Ready for review! |
InAnYan
left a comment
There was a problem hiding this comment.
Please only change English properties, so changes for other languages should be removed
Updated with comments |
Which comments? |
I mean I updated my PR with the updates from the PR comment - Please only change English properties, so changes for other languages should be removed |
|
This still needs a review if anyone has time :) |
Closes https://github.com/JabRef/jabref/issues/15195](https://github.com/JabRef/jabref/issues/15195)
Closes #15195
PR Description
In RelatedArticlesTab.java – restart dialog removed on press of 'I agree'. So now the the related-articles pane is shown immediately with no restart prompt.
In JabRef_en.properties – Restart=Restart was removed as it was only used as the title of this dialog.
Also the key
Restart\ required=Restartrequired was kept; it is still used in PreferencesDialogViewModel for the general preferences restart warning.Steps to test
Verification proof:

Checklist
CHANGELOG.mdin a way that can be understood by the average user (if change is visible to the user)