-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Add cleanup operation for journal abbreviation #11791
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
Comments
hi, I’m interested in this. Could you please assign this to me? Thank you so much~ |
Refinement of this issue:
Add a new heading "Journal-realted" with a button group
Have Store the setting in the preferences so that after re-opening of the dialog, the same settings are stored. One needs to move org.jabref.gui.journals.UndoableAbbreviator#abbreviate to separate clean up jobs. Implement interface |
The refactoring of |
/assign @tina9452 |
👋 Hey @tina9452, thank you for your interest in this issue! 🎉 We're excited to have you on board. Start by exploring our Contributing guidelines, and don't forget to check out our workspace setup guidelines to get started smoothly. In case you encounter failing tests during development, please check our developer FAQs! Having any questions or issues? Feel free to ask here on GitHub. Need help setting up your local workspace? Join the conversation on JabRef's Gitter chat. And don't hesitate to open a (draft) pull request early on to show the direction it is heading towards. This way, you will receive valuable feedback. Happy coding! 🚀 ⏳ Please note, you will be automatically unassigned if the issue isn't closed within 30 days (by 18 November 2024). A maintainer can also add the "📌 Pinned"" label to prevent automatic unassignment. |
Hello, I am interested in looking into this issue. Can I please be assigned to it? |
I would like to work on this issue as part of a university project. |
/assign-me |
1 similar comment
/assign-me |
I am part of the same group as @GDeane and we are trying to working on the same university assignment but it seems like the assign-me command isn't working. Would anyone be able to assign us please? |
/assign-me |
@GDeane Note that this is a good second issue requiring some knowledge about JabRef. |
📋 Assignment UpdateHi @GDeane, due to inactivity, you have been unassigned from this issue. Next stepsIf you still want to work on this:
|
Still working on it. I am currently in progress understanding the AbbreviateAction.java class and what it depends on, then I plan to understand the flow of 2-3 other CleanupJobs so I can attempt implementation of a AbbreviateJournalCleanup class. Once I have that, I'll attempt to link the AbbreviateJournalCleanup class to the gui in the same way the other cleanups are linked, and test it to make sure all the same behaviour from AbbreviateAction.java still works. |
@koppor Could the pin label be re-added to this issue. Also, I acknowledge that this is a good second issue that I would not normally choose for an introduction to JabRef, and I am indeed finding it quite challenging. For the University project, we were informed good first issues were too simple to choose. |
Please look at the clean up dialog. Think of where it should be placed. IMHO it is a cleanup what can be added as default in the field cleanups below. I think, it will be twenty lines of code maybe at two places to do. Please try to do it in one batch and not here ten minutes there ten minites. If you sit together as team, this can be done within 3 to 10 hours! |
I'm a bit confused what you mean by adding it as a default to the "field cleanups below". Do you mean the Journal Cleanup should be added to the field formatters (e.g. Field name: Journal/Booktitle, Formatter name: Abbreviate Journal Name)? The alternative (from the above comment) would be to add a new heading "Journal-realted" with a button group
and Have No changes as default. |
Yes - add the top four there. The thing of the other check boxes is that they involve more than one field (or internally need more data such as relativizing pahts or rename files) In my view: this field formatter gets in the string and calls the abbreviation function and returns. |
No changes is the field not existinant. You can add a default for IMHO the dialog stores its state across JabRef sessions. Thus, only users using JabRef from scratch will see this change. You can also increase the size of the dialog a bit. You could also introduce three tabs into that dialog: "Miscellaneous", "File-related", and "Field formatters" |
A problem I'm running into is that constructing an
Creating a None of the other implementations of the I've tried moving the logic of Any advice on how to proceed? |
I am reading on GitHub without IDE opened. I don't have links to the classes at hand. I need to guess. I scheduled for next week to dive into this more. |
I managed to figure out a way to do it since this. Based on the way Another way I thought of trying to get a What I did find is that there is precedent for passing parameters to other, non-formatter type CleanupJobs in So far it's going pretty well, the downside is that the journal abbreviation behavior will not be part of the field formatters, but it will be a lot more friendly to making code clean. |
This may help in my situation. E.g., for an article in the Journal of Scientific Computing, I would like to keep the full name of the journal in the reference, but use the citation key based on JSC rather than JoSC. It can be convenient because sometimes I need to switch between the full and short journal names, while I would like to keep the citation key unchanged. |
@JunmingDuan What you describe is another use case: The citation key generator should use the abbreviations. - Did you try |
Is your suggestion for improvement related to a problem? Please describe.
Users usually have a convention to always use abbreviated or unabbreviated journal titles. JabRef should help them enforce this convention using a cleanup operation.
Describe the solution you'd like
Add option to abbreviate/expand the journal title in the Cleanup operation dialog.
The text was updated successfully, but these errors were encountered: