-
-
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
Add group dialog directory structure option #10991
Conversation
- Add radio button ´Directory Structure´ in the add group form - When selected you can browse and upload a local directory - A group with the same name as the local directory will be aotumatically created. - Add a validator to ensure that the browsed path is a directory.
- 4 new tests that validate the correcteness of "dirGroupFilePathValidator" - Put an entry in CHANGELOG.md for our added functionality.
Test: findMissingLocalizationKeys() FAILED Added: Please\ provide\ a\ valid\ directory=Please provide a valid directory To: JabRef_en.properties
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.
Thank you for working on this. I miss tests for nested folders and folder addition and removal during a run of JabRef.
Not sure, if it is related - but there is an aux parser exception at the beginning
|
@eggestig and @AntonSederlin May we ask whether you intend to continue on this? 😅 |
Hi @koppor! I have not been recieving any notifications for all of your updates it seems, I apologize for the late reply. We would have loved to continue, but unfortunately our course has ended and I do believe most of us are quite busy with other courses right now. So we will unfortunately not be continuing (I would possibly be able to continue if there was a guide or some hints towards how to create subgroup(s) without needing a dialogue window). Also for clarification, we are aware that sub groups are not created (only the top-level group is). We struggled with finding a way of calling the creation of multiple groups with group dialogue window*, as mentioned in the pull request. So we decided we would push what we could make, which was the creation of the radiobutton For the future, if someone plans on continuing, all that is left is to figure out how to create subgroups from that single dialogue window, after which it is easy to simply create the subgroups with the selected root directory as the hierarchy recursively. Again, I apologize for the late reply! |
@eggestig Thank you for the update! In future, I will make more use of the mention feature to ensure that contributors are notified!
I think, one needs to implement a I will close the PR and hope some other group will work on this issue. |
This is an initial and partial solution to issue #10930.
Given a directory we want to mirror the hierarchy and automatically create groups and subgroups accordingly.
To partially address this issue, we added a new radio button in the "add group dialog" that allows a user to browse a local directory, import it, and then automatically create a group with the same name, see screenshot below.
As of now:
If you import the directory Related_Work_Collection/Quantum_Computing, only the group Quantum_Computing will be created automatically as this is the selected directory.
Future work:
If you import the directory Related_Work_Collection/Quantum_Computing, also recursively add every potential child directory inside Quantum_Computing as subgroups.
Problems:
As we tried to tackle this issue we struggled with creating sub groups recursively as this appears to require an even deeper understanding of the project architecture and thus decided to leave this to future work.
Mandatory checks
CHANGELOG.md
described in a way that is understandable for the average user (if applicable)