-
-
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
Feature add git workflow for slr search #7625
Conversation
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.
After a very quick first look good work, yet some smaller issues with the mvvm pattern.
src/main/java/org/jabref/gui/slr/ManageStudyDefinitionView.java
Outdated
Show resolved
Hide resolved
src/main/java/org/jabref/gui/slr/ManageStudyDefinitionView.java
Outdated
Show resolved
Hide resolved
src/main/java/org/jabref/gui/slr/ManageStudyDefinitionView.java
Outdated
Show resolved
Hide resolved
} | ||
|
||
@FXML | ||
public void selectStudyDirectory() { |
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.
Logic should go to the viewmodel
src/main/java/org/jabref/gui/slr/ManageStudyDefinitionView.java
Outdated
Show resolved
Hide resolved
src/main/java/org/jabref/gui/slr/ManageStudyDefinitionView.java
Outdated
Show resolved
Hide resolved
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.
LGTM.
Is it possible to make git management opt-in? I think most of our users don't use git.
src/main/java/org/jabref/gui/slr/ManageStudyDefinitionView.java
Outdated
Show resolved
Hide resolved
src/main/java/org/jabref/gui/slr/ManageStudyDefinitionView.java
Outdated
Show resolved
Hide resolved
src/main/java/org/jabref/gui/slr/ManageStudyDefinitionView.java
Outdated
Show resolved
Hide resolved
Maybe, we can just omit the "git push" thing. And the other things should "just work", because jgit is used instead of a local git configuration. - We opted for using git, because it provides us a history of the searches out of the box. We did not want to implement a new version-control system. 😇 |
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.
Took a deeper look into your code. Most of it looks good though i have some remarks on code style.
src/main/java/org/jabref/gui/slr/ManageStudyDefinitionView.java
Outdated
Show resolved
Hide resolved
src/main/java/org/jabref/gui/slr/ManageStudyDefinitionView.java
Outdated
Show resolved
Hide resolved
…kflow-for-slr-search * upstream/main: (31 commits) New translations JabRef_en.properties (German) (#7868) Fix test "higherTrustLevelWins()" (#7866) Change WM_CLASS to jabref (#7858) [Bot] Update CSL styles (#7865) Add unit test to four test classes (#7651) Fix IEEE test (#7852) New Crowdin updates (#7859) Fix markdown syntax of ADRs add missing l10n (#7857) New Crowdin updates (#7847) Bump mockito-core from 3.11.1 to 3.11.2 (#7856) Bump checkstyle from 8.43 to 8.44 (#7855) Fix for issue #4652: Add Find Unlinked Files Filter based on Date (#7846) Fix for entering a backslash in the custom entry preview dialog (#7851) Fixed INSPIREFetcherTest Fixed TitleFetcherTest Ignore baeldung.com and tldrlegal.com from out link checks New Crowdin updates (#7845) New Crowdin updates (#7843) Refactoring and addition of unit tests (#7597) ... # Conflicts: # src/main/resources/l10n/JabRef_en.properties
This PR adds Toolbar actions for starting a new SLR and continuing an existing SLR.
Besides the documentation this PR is complete.
I will create a documentation parallel to this one sometime this week.
Toolbar entries:
![image](https://user-images.githubusercontent.com/43381984/114556948-7dbd7700-9c69-11eb-8804-59e75fbbf240.png)
Starting new study UI:
![image](https://user-images.githubusercontent.com/43381984/114557003-87df7580-9c69-11eb-97de-17825d681f75.png)
TODO: Add & Update documentation: JabRef/user-documentation#333
CHANGELOG.md
described in a way that is understandable for the average user (if applicable)