-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Added "Add example entry" and "Import existing PDFs" when a library is empty #12741
base: main
Are you sure you want to change the base?
Conversation
-Ensures button is hidden when entries exist but are filtered -Add listeners to track database and table entry changes
-used localization -added styles for button
…e-12662 # Conflicts: # src/main/java/org/jabref/gui/maintable/MainTable.java
-checks if directory exists -triggers search for unlinked files ( if directory exists ) -Shows notification and open library properties ( if directory doesn't exist)
dialogService.showWarningDialogAndWait( | ||
Localization.lang("File directory is not set or does not exist!"), |
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.
The warning message ends with an exclamation mark, which should be avoided in UI messages as per guidelines. Should end with a period instead.
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.
Used Key which was already defined in properties , Should i update ?
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.
Yes, please. Do it in a separate PR so that we can integrate this fast.
If you feel uncomfortable to create a new branch based on main
, you can use git town hack
.
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 noticed that this message was originally used in an Error Dialog, while the review comment specifically refers to a Warning message. Should I still proceed with making this a global change and remove the exclamation mark?
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.
Also , After reviewing the properties file, I found that many messages contain exclamation marks. Should I update all of them for consistency ?
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.
Yes, but please think whether it could be critical error, then leave the !
.
…e-12662 # Conflicts: # src/main/java/org/jabref/gui/Base.css
dialogService.showWarningDialogAndWait( | ||
Localization.lang("File directory is not set or does not exist!"), |
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.
Yes, but please think whether it could be critical error, then leave the !
.
@@ -2875,6 +2875,12 @@ Editor\ related=Editor related | |||
Title\ related=Title related | |||
Entry\ fields=Entry fields | |||
Please\ configure\ a\ file\ directory=Please configure a file directory | |||
Add\ example\ entry=Add example entry | |||
No\ content\ in\ table=No content in table |
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.
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.
Currently the following message is defined in control.properties ( javafx ) .
and fetched using ControlResources.getString("TableView.noContent") .
For consistency i used Localization.lang and hence had to add it in properties .
- Removed Unnecessary comments - Used withField for BibEntry instead of setField
-updating with period
👋 Hey! As a free user, you're receiving reviews for every 5th PR. Upgrade to get reviews on every pull request and boost your code quality! Learn more here 🚀 |
Hey , Could you please explain in detail about the global prefs checks . Thanks |
Closes #12662
Mandatory checks
CHANGELOG.md
described in a way that is understandable for the average user (if change is visible to the user)