-
-
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
Delete entry should ask to delete linked files #10509
Comments
Hi there, I'd like to help with this issue. Could you please assign it to me? I'll take a look and work on resolving the problem. If you have any specific information or steps you'd like me to follow, please feel free to share them. Thank you! |
As a general advice for newcomers: check out Contributing for a start. Also, guidelines for setting up a local workspace is worth having a look at. Feel free to ask here at GitHub, if you have any issue related questions. If you have questions about how to setup your workspace use JabRef's Gitter chat. Try to open a (draft) pull-request early on, so that people can see you are working on the issue and so that they can see the direction the pull request is heading towards. This way, you will likely receive valuable feedback. |
Maybe it is possible to implement this as (non-default) preference? +1 for Pop-ups are evil. |
Hi @shawn-jj, do you mind if I take a try locally as I am aslo interested in this issue ? |
@1911-revo Usually, we try to only have one student (or one group of students that know each other) working on one issue at a time to prevent issues with grading. You might wanna check out our good first issues projects page. |
First time delete of entry:
Second time deletion of entry:
The preference should also be shown in JabRef's preference dialog. |
I'm sorry that I cannot share this issue with you😔 (guess you are also on comp2100 assignment?) |
Note, that this issue might be connected to the first problem described here: |
@shawn-jj Please also try to craft JUnit test cases. Even without them, is there a timeline you can share with us? |
I sincerely apologize for the recent slowdown in progress. I have been occupied with other assignments last week, but I've successfully completed them. As a result, I can now put my full attention to resolving this issue. My goal is to have it resolved within the next week or two, and I will also add JUnit tests. I want to express my gratitude for your patience during this time.🥺 Thank you! |
@shawn-jj Sure thing. I'll be on vacation from Thursday onwards (for three weeks), let's see, how it goes. Others are still around 😅. An example test was crafted at https://github.com/u74981018/jabref/blob/issue_9798/src/test/java/org/jabref/AutomaticRelinkTest.java (as part of #10526). |
@koppor @tobiasdiez @shawn-jj can you please give more details about this issue Delete entry should ask to delete linked files #10509 |
@Dalvishubham Maybe you are not familiar with GitHub's UI. On the right side you see two things: a) the issue is reserved and b) there is already a PR on that. The PR is nearly done. Thus, no need to work here. |
Is your suggestion for improvement related to a problem? Please describe.
If you have an entry with a linked file and you delete the entry, then most likely you also want to remove the linked files to keep your pdfs in sync with your entries.
Describe the solution you'd like
If there is a linked file, ask the user to also delete it.
Context
jabref/src/main/java/org/jabref/gui/LibraryTab.java
Lines 454 to 456 in 4e79f1a
The text was updated successfully, but these errors were encountered: