-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Custom DOI base address fix #7569
Conversation
} catch (IOException e) { | ||
dialogService.showErrorDialogAndWait(Localization.lang("Unable to open link."), e); | ||
} | ||
} | ||
}); | ||
} | ||
|
||
private void openCustomDOI(String link) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I saw that this method is a duplicate of the one in the Entry Editor. To avoid code duplication, I think it could be useful to extract this method to a static method in JabRefDesktop and then call that. You would need to pass the prefs as parameter then
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick follow up, just an idea to avoid code duplication. You don't need a changelog entry, as it's just a follow up to your other fix and not yet in a release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick follow up! Looks good to me!
* upstream/main: Main instead of master Custom DOI base address fix (#7569) Change export to save (#7518) Bump unoloader from 7.1.1 to 7.1.2 (#7609) Bump org.beryx.jlink from 2.23.5 to 2.23.6 (#7610) Bump com.adarshr.test-logger from 2.1.1 to 3.0.0 (#7611) Bump libreoffice from 7.1.1 to 7.1.2 (#7612) Squashed 'buildres/csl/csl-styles/' changes from e1acabe..bfa3b6d (#7603) Rename master to main
As mentioned in
Fixes #7337 the option to choose custom DOI base address did not propagate to
LibraryTab
and this PR aims to solve exactly that. In the process I refactoredLinkedIdentifierColumn
so that it usesOpenUrlAction
as well.CHANGELOG.md
described in a way that is understandable for the average user (if applicable)