-
-
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
Rename General File Directory to Library-Specific File Directory #12037
Rename General File Directory to Library-Specific File Directory #12037
Conversation
…to "Library File Directory"
… that were previously missed.
…c File Directory". Have followed convention for "User-Specific File Directory" where this is referred to outside of UI prompts as "Library File Directory"
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 think the name of variables and UI text should be consistent. Please add “specific“ where appropriate!
src/main/java/org/jabref/gui/libraryproperties/general/GeneralPropertiesViewModel.java
Show resolved
Hide resolved
generalFileDirectory.ifPresent(fileDirs::add); | ||
|
||
// fileDirs.isEmpty() is true after these two if there are no directories set in the BIB file itself: | ||
// 1) no user-specific file directory set (in the metadata of the bib file) and | ||
// 2) no general file directory is set (in the metadata of the bib file) | ||
// 2) no library file directory is set (in the metadata of the bib file) |
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.
When reading this, I think. everywhere, the “-specific“ should be added. Also in constants, getters, ...
…ary-specific File Directory'
… library-specific file directory
1. removed unused general file directory key 2. made Library-specific file directory key all-lowercase per unit test requirements.
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.
Looks good! Can you add a CHANGELOG.md entry, too?
@@ -65,6 +65,7 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv | |||
- We changed instances of 'Search Selected' to 'Search Pre-configured' in Web Search Preferences UI. [#11871](https://github.com/JabRef/jabref/pull/11871) | |||
- We added a new CSS style class `main-table` for the main table. [#11881](https://github.com/JabRef/jabref/pull/11881) | |||
- When renaming a file, the old extension is now used if there is none provided in the new name. [#11903](https://github.com/JabRef/jabref/issues/11903) | |||
- We changed the name of the library-based file directory from 'General File Directory' to 'Library-specific File Directory' per issue [#571](https://github.com/koppor/jabref/issues/571) |
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.
@koppor I had already added a CHANGELOG.md entry. Please let me know if this needs to be adjusted.
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.
Ah, my mobile client kind of hid it. Thank you for the quick note!
Describe the changes you have made here: what, why, ..
Per issue koppor#571, there was a request to rename "general file directory" to "Library-specific file directory". This has been updated in the following places:
Screenshots of the change reflected in the UI:
Documentation updates:
User Docs: see Docs PR#535
Developer Docs: this file makes reference to the general file directory and requires updating.
Lines in question are:
Mandatory checks
CHANGELOG.md
described in a way that is understandable for the average user (if applicable)