Skip to content
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

Develop Logic to Generate Filenames Based on Patterns for Linked Files #2

Closed
Naaeeen opened this issue Oct 18, 2024 · 0 comments · Fixed by #4
Closed

Develop Logic to Generate Filenames Based on Patterns for Linked Files #2

Naaeeen opened this issue Oct 18, 2024 · 0 comments · Fixed by #4

Comments

@Naaeeen
Copy link
Owner

Naaeeen commented Oct 18, 2024

Description:
Create the logic needed to generate filenames based on the patterns defined in the "Linked Files" UI. The logic will allow patterns like {year}_{title}_{author} to be applied dynamically when users link files to entries.

  • Objective:
    Implement a method similar to FileUtil.createFileNameFromPattern, ensuring it reflects the tabular structure defined in the UI.

  • Tasks:

    1. Implement a new method, similar to AbstractCitationKeyPatterns.
    2. Integrate pattern fetching logic (LinkedFilesPatternfilePattern.getValue(entryType)).
    3. Ensure smooth switching between patterns without user disruption.
Naaeeen added a commit that referenced this issue Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant