Skip to content

Add support for searching csl preview styles by short title#13728

Merged
Siedlerchr merged 4 commits into
mainfrom
shorttitlecsl
Aug 22, 2025
Merged

Add support for searching csl preview styles by short title#13728
Siedlerchr merged 4 commits into
mainfrom
shorttitlecsl

Conversation

@Siedlerchr

@Siedlerchr Siedlerchr commented Aug 21, 2025

Copy link
Copy Markdown
Member

Fixes https://github.com/JabRef/jabref-issue-melting-pot/issues/1026
Make @InAnYan happy :)

Steps to test

Delete gradle config cache
Regenerate citation catalog json
Run jabref and search for apa in preview -> style is found

Mandatory checks

grafik
  • I own the copyright of the code submitted and I license it under the MIT license
  • Change in CHANGELOG.md described in a way that is understandable for the average user (if change is visible to the user)
  • Tests created for changes (if applicable)
  • Manually tested changed features in running JabRef (always required)
  • [x[ Screenshots added in PR description (if change is visible to the user)
  • Checked developer's documentation: Is the information available and up to date? If not, I outlined it in this pull request.
  • Checked documentation: Is the information available and up to date? If not, I created an issue at https://github.com/JabRef/user-documentation/issues or, even better, I submitted a pull request to the documentation repository.

@Siedlerchr Siedlerchr added the status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Aug 21, 2025
Comment thread build-support/src/test/java/CitationStyleCatalogGeneratorTest.java
@Siedlerchr

Siedlerchr commented Aug 21, 2025

Copy link
Copy Markdown
Member Author

Ah my submodule was not updated correctly

@trag-bot

trag-bot Bot commented Aug 21, 2025

Copy link
Copy Markdown

@trag-bot didn't find any issues in the code! ✅✨

@InAnYan InAnYan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool! Didn't think that this would be that easy to solve

@Siedlerchr Siedlerchr added this pull request to the merge queue Aug 22, 2025
Merged via the queue into main with commit 1cdbcfa Aug 22, 2025
2 checks passed
@Siedlerchr Siedlerchr deleted the shorttitlecsl branch August 22, 2025 06:35
@InAnYan

InAnYan commented Aug 22, 2025

Copy link
Copy Markdown
Member
image

Doh, it's optional! But in code it's required always

@Siedlerchr

Copy link
Copy Markdown
Member Author

Yes it's optional but if not found it's empty

@koppor

koppor commented Aug 22, 2025

Copy link
Copy Markdown
Member

Yes it's optional but if not found it's empty

The issue is of no gradlew clean is called.

@Siedlerchr

Copy link
Copy Markdown
Member Author

onlyIf {!cslCatalogJson.get().asFile.exists()}

because of this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants