-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
FIX : generic error dialog and icon in Source Tab parsing #14828
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
Conversation
|
Hey @Preetam1804! 👋 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. |
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||
|
Note that your PR will not be reviewed/accepted until you have gone through the mandatory checks in the description and marked each of them them exactly in the format of |
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
|
You have removed the "Mandatory Checks" section from your pull request description. Please adhere to our pull request template. |
|
@SoapOperaTester Please check if your requirements are met. |
* Fix generic error dialog and icon in Source Tab parsing * removed the comment * removed inline comment * Removed the obselete key from Jabred_en.properties
* upstream/main: (64 commits) New Crowdin updates (JabRef#14862) Make JDK25 available (JabRef#14861) Fix empty entries array when exporting group chat to JSON (JabRef#14814) feat: add right-click copy context menu to AI chat messages (JabRef#14722) FIX : generic error dialog and icon in Source Tab parsing (JabRef#14828) Factor out setup-* actions (JabRef#14859) Link .http files. Update dependency org.postgresql:postgresql to v42.7.9 (JabRef#14857) Add more commands to JabSrv (JabRef#14855) Fix JabRef#14821: Hide identifier action buttons when field is empty (JabRef#14831) Add GH_TOKEN to closed issues/PRs processing step New Crowdin updates (JabRef#14854) New Crowdin updates (JabRef#14849) Chore(deps): Bump jablib/src/main/resources/csl-styles from `0201999` to `f345aa8` (JabRef#14833) Add support for book front covers, again (JabRef#14777) Readd min width to button in new enty dialog (JabRef#14791) Replace plugin impl from jbang plugin (JabRef#14846) Revise AI policy wording Chore(deps): Bump jablib/src/main/resources/csl-locales (JabRef#14677) Update dependency com.konghq:unirest-modules-gson to v4.7.1 (JabRef#14845) ...
User description
Closes #14804
Description
I fixed an issue where a generic "Error Occurred" dialog was shown instead of a specific warning when invalid BibTeX was entered in the Source Tab. This generic error caused the user to lose context and offered no guidance on how to fix the syntax.
Changes made:
Steps to test
Preview
CHANGELOG.mdin a way that is understandable for the average user (if change is visible to the user)PR Type
Bug fix
Description
Replace generic error dialog with specific warning dialog for BibTeX parsing issues
Change dialog title to "Problem with parsing entry" for better context
Add detailed error message explaining the parsing failure and guidance
Use warning icon instead of error icon for improved user experience
Diagram Walkthrough
File Walkthrough
SourceTab.java
Replace generic error with specific warning dialogjabgui/src/main/java/org/jabref/gui/entryeditor/SourceTab.java
showErrorDialogAndWait()withshowWarningDialogAndWait()formultiple entry parsing errors
specific "Problem with parsing entry"
failed because more than one entry was found. Please check your BibTeX
syntax."
icon