Add consistency check dialog box#13081
Conversation
|
Looks ok so far. Please add a changelog entry! |
|
@Bha2912 Please fix localization - see https://devdocs.jabref.org/code-howtos/localization.html for help |
| Task<BibliographyConsistencyCheck.Result> task = new Task<>() { | ||
| protected BibliographyConsistencyCheck.Result call() throws Exception { | ||
| BibDatabaseContext databaseContext = stateManager.getActiveDatabase() | ||
| .orElseThrow(() -> new NullPointerException("Database null")); |
There was a problem hiding this comment.
Using exceptions for control flow is not recommended. Instead, handle the absence of a database more gracefully without throwing a NullPointerException.
There was a problem hiding this comment.
Jsut use get() or - even better: stateManager.getActiveDatabase().ifpresent( ...)
|
@trag-bot didn't find any issues in the code! ✅✨ |
|
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. |
|
Superseded by #13181 |


Closes #12487
This PR introduce GUI dialog box that will show consistency check result with progress e.g 1 entry out of 123456...
Screenshot
Mandatory checks
CHANGELOG.mddescribed in a way that is understandable for the average user (if change is visible to the user)