jabref icon indicating copy to clipboard operation
jabref copied to clipboard

Groups tree diff should show removed, modified, and added groups.

Open koppor opened this issue 3 months ago • 10 comments

Follow-up to https://github.com/JabRef/jabref/pull/16569

I just opened Chocolate.bib from https://github.com/JabRef/jabref-demonstration-libraries/blob/main/chocolate/Chocolate.bib

I changed Cooper_2007 and I got ALSO group change

Image

koppor avatar Aug 28 '26 10:08 koppor

is it possible that one of the groups' logic had some auto filter that initially matched this entry, but after your edit it didn't?

subhramit avatar Aug 28 '26 10:08 subhramit

Ah okay there is no metadata diff in the screenshot...that is weird

subhramit avatar Aug 28 '26 10:08 subhramit

I tried to reproduce this with the main branch and the merge commit from #16569 815034b15c but cannot trigger the group change

My steps were:

  1. Put Chocolate.bib into a separate empty folder.
  2. Used Git -> Commit in JabRef to initialize Git and create the initial commit.
  3. Changed Cooper_2007.
  4. Saved the library.
  5. Opened the Git commit dialog again and clicked Show diff.

The dialog only showed the entry change.

Image

Could you share the steps you used for the issue?

wanling0000 avatar Aug 31 '26 17:08 wanling0000

/assign

r1shabhsharma05 avatar Sep 03 '26 04:09 r1shabhsharma05

@rish0000-dot One more spam you will be banned. Read contributing.md before you assign yourself

pluto-han avatar Sep 03 '26 07:09 pluto-han

The change is OK

Image
 0 AllEntriesGroup:;
+1 StaticGroup:imported entries\;0\;1\;\;\;\;;
 1 SearchGroup:Entries without a group\;0\;groups !=~ .+\;0\;1\;1\;\;\;\;;

However, the diff dialog should show that a group was added.

koppor avatar Sep 03 '26 08:09 koppor

Added to milestone just so that we don't release partially working feature

subhramit avatar Sep 03 '26 12:09 subhramit

/assign-me

esthermichelle avatar Sep 05 '26 09:09 esthermichelle

👋 Hey @esthermichelle, 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. When using AI tools, please use them as an assistant rather than simply copying their output. See Don't paste the AI, please.. 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 Sep 05 '26 09:09 jabref-machine

We think that this issue was fixed. Please head to https://builds.jabref.org/main to download a development build and try it out.

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

github-actions[bot] avatar Sep 06 '26 16:09 github-actions[bot]