Add support for book front covers#14330
Conversation
…book-front-cover-10120
…ded experimental "covers" subfolder
Hey @bblhd!Thank you for contributing to JabRef! Your help is truly appreciated ❤️. We have automatic checks in place, based on which you will soon get automated feedback if any of them are failing. We also use TragBot with custom rules that scans your changes and provides some preliminary comments, before a maintainer takes a look. TragBot is still learning, and may not always be accurate. In the "Files changed" tab, you can go through its comments and just click on "Resolve conversation" if you are sure that it is incorrect, or comment on the conversation if you are doubtful. Please re-check our contribution guide in case of any other doubts related to our contribution workflow. |
|
I have attempted to unmodify submodules without success, both in the past and currently, though I was unaware how much of a problem it was. I've tried all suggested fixes unsuccessfully, either commit ids are not found or the commands have no effect at all. It seems to be something wrong with my version of git or my repository. For context, I'm using git version 2.51.2_1, on linux, with a basic command line and no IDE. In theory, this could be fixed by creating a new branch and pull request, but the contributors guide specifically requests not to. Does anyone know how to solve this? Commit: bb58664 |
Fixed this by doing submodule checkout in IntelliJ IDEA, unsure what exactly the issue was, but submodules are now unmodified from main. |
0b644fd to
2c61ef3
Compare
|
I apologise for force pushing, the only difference was a single incorrect author email in the previous commit I pushed. |
|
Hi, bblhd! Thank you for looking into this feature. This is a very good issue for the first contribution! |
…d to use that instead of preference based directory
|
While the PR was in progress, a new version of JabRef has been released. You have to merge |
|
There is a failing check on merge: https://github.com/JabRef/jabref/actions/runs/20642230526/job/59275496096 |
|
Yep, they do seem relevant: |
This reverts commit 0ad7003.
|
They are failing on Windows |
This reverts commit 0ad7003.
|
I reverted the PR for now due to the failng window tests, you can re-create it or re.open this one |
|
Very strange the failing test did not show up in CI on this PR |
Yeah that is on us. This PR was one of them 😄 |
@koppor lets make a new workflow based on an old idea - File system related classes touched in a commit => jablib windows test runs |
I think these are actually test errors, as in the test assumes not windows so it fails, but the functionality is correct. These were both tests I changed, so I will make sure they're correct and open a new PR |
Closes #10120
This pull request adds support for cover images which can display in the preview of entries. It also allows new entries to automatically download cover images from either "https://bookcover.longitood.com" or "https://covers.openlibrary.org", and preferences to control downloading behaviour. Key changes are:
PreviewViewerto display imagesBookCoverFetcherclass to download cover imagesNewEntryViewModelto do cover fetchingFilePreferencesandLinkedFilesTabSteps to test
Mandatory checks
CHANGELOG.mdin a way that is understandable for the average user (if change is visible to the user)Images