Skip to content

Citation key generator and Linked files #11368

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

Open
NeymanDmitry opened this issue Jun 10, 2024 · 13 comments · May be fixed by #12624
Open

Citation key generator and Linked files #11368

NeymanDmitry opened this issue Jun 10, 2024 · 13 comments · May be fixed by #12624

Comments

@NeymanDmitry
Copy link

A tabular construct similar to "Key patterns" is sometimes required for "Linked files (Filename format pattern)".

Some examples:

  1. Book file names are not always long enough and can be fully described in the "title" including also the date and first author:

2024_Medium-length_book_title_ (author's_last_name)

  1. When considering a “PhD thesis” since titles can be quite long, you can limit yourself to the first few words of the “title” and add a note that this is a [PhD thesis], like here:

2024_A_few_words_from_the_title_...[PhD_thesis](author's_last_name)


For the examples discussed above, it is necessary to change the “Filename format pattern” pattern each time, although there is no such problem for “Key patterns” due to the tabular design.

@Siedlerchr
Copy link
Member

Thanks for the suggestion, indeed:
Just adding some context for others who want to work on this:

Preferences -> Linked Files currently looks like this:
grafik

It should have a similar UI:
grafik

Code hints:

Create new Preferences, similar to CitationKeyPatternPreferences with a list of Patterns. Take a look at. AbstractCitationKeyPatterns
FileUtil.createFileNameFromPattern - Current method for generating the filename based on a pattern.
HInt, create a method simliar to the citattion key generat to get the pattern:
CitationKeyPattern citationKeyPattern = citeKeyPattern.getValue(entryType);

@Naaeeen
Copy link

Naaeeen commented Oct 9, 2024

Hello, my name is Nathan, and I’m a student at the Australian National University. As part of my semester course, my team of five has been tasked with contributing to an open-source software project. I would like to take on this issue and contribute to the project. Could you please assign me to it?

Copy link
Contributor

👋 Hey @priyanshu16095, 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 90 days (by 22 May 2025). A maintainer can also add the "📌 Pinned"" label to prevent automatic unassignment.

@priyanshu16095
Copy link
Contributor

/unassign-me

1 similar comment
@priyanshu16095
Copy link
Contributor

/unassign-me

@github-actions github-actions bot removed the 📍 Assigned Assigned by assign-issue-action (or manually assigned) label Feb 23, 2025
Copy link
Contributor

👋 Hey @priyanshu16095, you've been automatically unassigned from this issue due to inactivity.

Note

If you'd like to be re-assigned, just leave another comment or ask a maintainer to assign you again.
If you're still actively working on the issue, let us know by commenting, and we can pin it to prevent automatic unassignment.

@priyanshu16095
Copy link
Contributor

/assign-me

@github-actions github-actions bot added the 📍 Assigned Assigned by assign-issue-action (or manually assigned) label Mar 2, 2025
Copy link
Contributor

github-actions bot commented Mar 2, 2025

👋 Hey @priyanshu16095, 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 45 days (by 16 April 2025). A maintainer can also add the "📌 Pinned"" label to prevent automatic unassignment.

@priyanshu16095 priyanshu16095 linked a pull request Mar 5, 2025 that will close this issue
6 tasks
@github-actions github-actions bot removed the 📍 Assigned Assigned by assign-issue-action (or manually assigned) label Mar 17, 2025
Copy link
Contributor

📋 Assignment Update

Hi @priyanshu16095, you are no longer assigned to this issue.

Next steps

If you still want to work on this:

  • Comment with /assign-me to request reassignment
  • Ask a maintainer to assign you again
  • If you're making progress, a maintainer can add the pin label to prevent future automatic unassignment

@priyanshu16095
Copy link
Contributor

/assign-me

Copy link
Contributor

⚠️ Reassignment Blocked

Hi @priyanshu16095, you cannot assign yourself to this issue again.

Note

Since you were previously unassigned from this issue, a maintainer needs to approve your reassignment.

Please ask a maintainer to assign you if you'd like to continue working on this issue.

@koppor
Copy link
Member

koppor commented Mar 17, 2025

/assign @priyanshu16095

@github-actions github-actions bot added the 📍 Assigned Assigned by assign-issue-action (or manually assigned) label Mar 17, 2025
Copy link
Contributor

👋 Hey @priyanshu16095, 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 there is not a (draft) pull request within 14 days (by 31 March 2025).

@koppor koppor moved this from Free to take to Assigned in Candidates for University Projects Mar 17, 2025
@koppor koppor moved this from Assigned to In Progress in Candidates for University Projects Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Status: Normal priority
Development

Successfully merging a pull request may close this issue.

5 participants