JabRef / jabref

Graphical Java application for managing BibTeX and biblatex (.bib) databases
https://devdocs.jabref.org
MIT License
3.54k stars 2.47k forks source link

Add "Do not show AI tabs" to AI tabs #11707

Open ilippert opened 1 week ago

ilippert commented 1 week ago

JabRef 5.16--2024-08-29--70d7c9c Linux 6.10.7-200.fc40.x86_64 amd64 Java 21.0.2 JavaFX 22.0.2+4

I appreciate the developers' integration of AI tools into JabRef, but I like to see the option of opting out (which is already implement within the preferences ui), but in the entry details, the tabs for AI seemingly cannot be removed. For me these are a distraction.

I suggest that users can enable/disable the AI tabs in the preferences, UI, too.

koppor commented 1 week ago

Maybe add a button "disable AI tabs" in these tabs if AI is not activated @InAnYan

@ilippert We had discussion, where to put the settings of showing the tabs. To the other settings of showing/hiding tabs or to the AI. We did not want to double. We placed it to the other tabs

grafik

Manan5994 commented 2 days ago

@koppor, can I pick this one?

github-actions[bot] commented 2 days ago

Welcome to the vibrant world of open-source development with JabRef!

Newcomers, 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! 🚀

ilippert commented 2 days ago

Maybe add a button "disable AI tabs" in these tabs if AI is not activated @InAnYan

If the preferences interface allows links, I would prefer in the AI section a link to the Entry Editor preferences. The reasoning is: a user might have once have AI activated, stored some information; and even after deactivating AI, might want to be able to view said AI generated information.

koppor commented 2 days ago

To solve the issue, add a button on the two tabs:

image

When pressed, the preferences should be changed to not show the two tabs again. And the tabs should be hidden. (You can check how it works in other parts of the code when tabs visibility is changed. IMHO the whole entry editor is hidden then and reinitialized later)

Bonus 1 : Add a tab "Hide 'Related articles' tab" to "Related articles":

image

Bonus 2: Add the privacy agreement functionality and tab hiding functionality to tab "Citation Information"

Bonus 3: Add the privacy agreement functionality and tab hiding functionality to tab "Citation relations"

Bonus 4: Reorder tab settings in entry editor settings following the order in the entry editor

Current ordering does not match at all: 😅

image

You can file separate pull requests for each issue (Remember to create a new branch based on main for each thing you tackle)