jabref icon indicating copy to clipboard operation
jabref copied to clipboard

Support multiple customized preview styles

Open koppor opened this issue 5 months ago • 30 comments

⚠️ This issue takes time and NOT a one-shot LLM prompt - you need to 🧠 ⚠️

Currently JabRef allows exactly one customized preview style alongside a fixed list of CSL preview styles. The customized style uses the custom export filter syntax.

Image

Wish: Allow users to create and manage multiple customized preview styles.

Changes required:

  1. Preference UI — "Available" panel: Split into two tabs: "CSL" and "Customized"
  2. Customized preview editor: Show the editor below the lists whenever a customized style is selected (either in "Available" or in the active list on the right)
  3. Naming: Allow each customized style to be named
  4. Preferences: Update storage to support multiple customized styles, including migration of existing single-style preferences and tests

Documentation to update:

  • [Entry preview setup](https://docs.jabref.org/setup/preview) → [source](https://github.com/JabRef/user-documentation/blob/main/en/setup/preview.md)
  • [Custom export filters](https://docs.jabref.org/collaborative-work/export/customexports) (if syntax/preference structure is referenced) → [source](https://github.com/JabRef/user-documentation/blob/main/en/collaborative-work/export/customexports.md)

Related code:

  • Preview preferences: org.jabref.logic.preview.PreviewPreferences
  • Preferences UI: org.jabref.gui.preferences.preview (PreviewTab, PreviewTabViewModel)
  • https://github.com/JabRef/jabref/pull/5062 - this was the initial rewrite of the code - with a nice UX

koppor avatar Jun 24 '26 08:06 koppor

I would like to work on it

thesauravpoddar avatar Jun 24 '26 08:06 thesauravpoddar

/assign-me

thesauravpoddar avatar Jun 24 '26 16:06 thesauravpoddar

@thesauravpoddar you have consecutively assigned yourself to four issues without submitting a PR for the first, second, third or fourth. Please note that hogging issues for the sake of blocking them is not the right conduct in open-source projects, but progressively taking up work as you finish existing assignments is. Un-assigning you from the rest of the issues.

cc @koppor should we gate our assignment limit based on good xth issues instead of just good firsts?

subhramit avatar Jun 24 '26 19:06 subhramit

@thesauravpoddar you have consecutively assigned yourself to four issues without submitting a PR for the first, second, third or fourth. Please note that hogging issues for the sake of blocking them is not the right conduct in open-source projects, but progressively taking up work as you finish existing assignments is. Un-assigning you from the rest of the issues.

cc @koppor should we gate our assignment limit based on good xth issues instead of just good firsts?

Okay understood and i am working on pr of those issues

thesauravpoddar avatar Jun 24 '26 19:06 thesauravpoddar

Okay understood and i am working on pr of those issues

And please use 🧠 for that.

koppor avatar Jun 24 '26 22:06 koppor

hi there , i would like to work on it

santhosh290605 avatar Jun 26 '26 11:06 santhosh290605

can I work on this one?

dvinit avatar Jun 26 '26 16:06 dvinit

/assign-me

Al-Zaytoun avatar Jun 28 '26 23:06 Al-Zaytoun

⚠️ Issue Already Assigned

Hi @Al-Zaytoun, this issue is currently assigned to @thesauravpoddar.

[!NOTE] If no progress is made within 14 days, the issue will be automatically unassigned.

Options for contributors
  • Wait for availability: The issue may become available if auto-unassigned
  • Collaborate: You can ask the assignee if they want help
  • Maintainer assistance: A maintainer can add you as co-assignee if appropriate

jabref-machine avatar Jun 28 '26 23:06 jabref-machine

/assign-me

akilan590 avatar Jul 02 '26 13:07 akilan590

⚠️ Issue Already Assigned

Hi @akilan590, this issue is currently assigned to @thesauravpoddar.

[!NOTE] If no progress is made within 14 days, the issue will be automatically unassigned.

Options for contributors
  • Wait for availability: The issue may become available if auto-unassigned
  • Collaborate: You can ask the assignee if they want help
  • Maintainer assistance: A maintainer can add you as co-assignee if appropriate

jabref-machine avatar Jul 02 '26 13:07 jabref-machine

@akilan590 @Al-Zaytoun @dvinit I think you should search a project communicating in a language you understand. "assigned" doesn't seem to be term you know.

koppor avatar Jul 02 '26 20:07 koppor

@koppor Apologies, I misread what @subhramit was saying. I thought he was unassigning @thesauravpoddar from this specific issue.

Al-Zaytoun avatar Jul 03 '26 15:07 Al-Zaytoun

/unassign @thesauravpoddar

koppor avatar Jul 03 '26 19:07 koppor

/assign @Al-Zaytoun

koppor avatar Jul 03 '26 19:07 koppor

👋 Hey @Al-Zaytoun, thank you for your interest in this issue! 🎉

We're excited to have you on board. Start by exploring our Contributing guidelines, and set up your local development workspace by following the steps in our workspace setup guidelines to get started smoothly.

For questions on JabRef functionality, you can consult the JabRef Guru. For questions related to the codebase, please start using DeepWiki.

In case you encounter failing tests during development, please check our developer FAQs!

Still facing issues or having more questions? Feel free to ask here on GitHub or on JabRef's Gitter chat. Please don't hesitate to open a (draft) pull request early on to show the direction you are heading towards if unsure.

Happy coding! 🚀

jabref-machine avatar Jul 03 '26 19:07 jabref-machine

Apologies @koppor I misread that it was assigned, but the status of the issue at right side under projects was showing 'free' at that time.

dvinit avatar Jul 04 '26 14:07 dvinit

In this issue, it was chaos. Multiple contributors "fighting" for assignment although being assigned. And the assignee doing nothing. I just picked a random person and hope he will move forward.

koppor avatar Jul 04 '26 16:07 koppor

I am still working on this issue, if any maintainer is wondering why there hasn't been any updates yet.

Al-Zaytoun avatar Jul 08 '26 23:07 Al-Zaytoun

A pull request addressing the issue has been created. You can try out the pull request by following the steps at How to try out any JabRef pull request?.

For any feedback, add a comment to the pull request at https://github.com/JabRef/jabref/pull/16220.

github-actions[bot] avatar Jul 09 '26 19:07 github-actions[bot]