Cover images download: New toggle button in quick settings#15322
Conversation
|
Hey @jonas-ee! 👋 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. |
Review Summary by QodoAdd cover images download toggle to quick settings
WalkthroughsDescription• Added toggle button for cover images download in quick settings • Binds toggle to existing preview preferences property • Added localization string for new toggle button • Updated changelog with feature description Diagramflowchart LR
QS["Quick Settings UI"] -->|adds| CIT["Cover Images Toggle"]
CIT -->|binds to| PP["Preview Preferences"]
L10N["Localization"] -->|provides label| CIT
CHANGELOG["CHANGELOG.md"] -->|documents| QS
File Changes1. jabgui/src/main/java/org/jabref/gui/welcome/components/QuickSettings.java
|
Code Review by Qodo
1. Duplicate cover download label
|
|
This was part of the #javaland session by @Maran23. https://meine.doag.org/events/javaland/2026/agenda/#agendaId.7512 |
|
@jonas-ee: It should be possible to do ./gradlew :jabgui:run from the command line (or go to the respective IntelliJ task) |
This comment has been minimized.
This comment has been minimized.
It worked now. I think Intellij just need some time to set up everything. I successfully retested changing the setting manually. I did not test the actual preview cause I have not figured out how to create a library that would load an image yet. Also added a screenshot. |
Concerning the Code Review by Qodo:
|
This comment has been minimized.
This comment has been minimized.
The PR is linked in this case 😅 |
✅ All tests passed ✅🏷️ Commit: 9055d1e Learn more about TestLens at testlens.app. |
I see. Done. |
|
Publicity posts:
@jonas-ee: I didn't find you on LinkedIn and Mastodon. Please comment so that I can link you (if you want ^^) All in all: Thank you for taking part - and the follow-ups in this PR! |
https://www.linkedin.com/in/jonas-haarz-036694153/ |
Related issues and pull requests
Closes a private issue of @koppor
PR Description
This is the result of a mob programming session at Javaland. The setting to download cover images should be show as a toggle button on the initial tab. This is done to make users aware of this opt-in feature.
Steps to test
To test this you need to start the application and check if there is a new toggle button on the tab that opens when you open the application. The same setting can also be accessed via the settings menu and changing that settings should also change the new toggle button and vice versa. You could also check if the document preview shows the cover images but this would require a document to generate a preview for and might be out of scope for this issue.
Checklist
CHANGELOG.mdin a way that can be understood by the average user (if change is visible to the user)