Skip to content

Issue 13619 Make Citation relations text more clear.#13620

Merged
koppor merged 7 commits into
JabRef:mainfrom
ankamde:issue-13619-Make-citation-relations-text-more-clear
Aug 2, 2025
Merged

Issue 13619 Make Citation relations text more clear.#13620
koppor merged 7 commits into
JabRef:mainfrom
ankamde:issue-13619-Make-citation-relations-text-more-clear

Conversation

@ankamde

@ankamde ankamde commented Jul 31, 2025

Copy link
Copy Markdown
Contributor

Closes #13619

Make Citation Relations tab panes more descriptive.

Steps to test

  1. Start JabRef
  2. Click on "New exmaple library"
  3. Select "Ding_2006"
  4. Select tab "Citatoin relations"
Screenshot From 2025-08-01 15-45-27 Screenshot From 2025-08-01 15-45-20 Screenshot From 2025-08-01 15-42-30 Screenshot From 2025-08-01 15-42-41

Mandatory checks

  • 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)
  • 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.

@ankamde ankamde marked this pull request as ready for review July 31, 2025 14:50
styleLabel(citedByLabel);
Label citingLabel = new Label(Localization.lang("References (cites)"));
styleLabel(citingLabel, Localization.lang("Works cited by the work at hand"));
Label citedByLabel = new Label(Localization.lang("Citations (this paper is cited by)"));

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.

Remove "this paper is" --> consistent with "cites"

Otherwiese,

References (this paper cites)

But this is too long IMHO

@ankamde ankamde requested a review from koppor July 31, 2025 15:01

@koppor koppor 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.

Tried out. Looks fine.

Need to ask @ThiloteE and @subhramit if they also like it.

image

@koppor

koppor commented Jul 31, 2025

Copy link
Copy Markdown
Member

Tooltip screenshots: See PR description

Comment on lines +2814 to +2815
Citations\ (cited\ by)=Citations (cited by)
References\ (cites)=References (cites)

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.

We need an ADR for that. --> new file at https://github.com/JabRef/jabref/tree/main/docs/decisions

Other developers will come with the final wording - we have some internal discussions now.

This is Option 2

Also link to semantic scholar somethow

Option 3 is the thing as it has been

Option 4

DBLP uses "References" and "Cited by"

See https://dblp.org/rec/conf/zeus/VoigtKW21.html

Option 5

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.

Reason: This lead to discussions and surely will lead to discussions in the future, too. And we need to ensure that the discussions to not start from zereo

The ADR needs to be linked from the code (CitationRelationsTab, line 153)

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.

We did it for ourselves - just for rerence: #13621 - no need for you to work on this.

subhramit
subhramit previously approved these changes Jul 31, 2025

@subhramit subhramit 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.

Currently the text and tooltips cover everything we discussed, so IMO this is fine.

@koppor koppor mentioned this pull request Jul 31, 2025
1 task

@koppor koppor 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.

We finally came up with other terms.

Sorry for the additional effort.

styleLabel(citingLabel);
Label citedByLabel = new Label(Localization.lang("Cited By"));
styleLabel(citedByLabel);
Label citingLabel = new Label(Localization.lang("References (cites)"));

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.

Use "References cited in %0".

For %ß use citationkey of of the bib entry. if not available, use Localization.lang("this entry"). You need to do this assignment at another place - constant field.

styleLabel(citedByLabel);
Label citingLabel = new Label(Localization.lang("References (cites)"));
styleLabel(citingLabel, Localization.lang("Works cited by the work at hand"));
Label citedByLabel = new Label(Localization.lang("Citations (cited by)"));

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.

Use "References that cite %0". %0 as above.

Label citedByLabel = new Label(Localization.lang("Cited By"));
styleLabel(citedByLabel);
Label citingLabel = new Label(Localization.lang("References (cites)"));
styleLabel(citingLabel, Localization.lang("Works cited by the work at hand"));

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.

Use

Also called "backward citations"

Label citingLabel = new Label(Localization.lang("References (cites)"));
styleLabel(citingLabel, Localization.lang("Works cited by the work at hand"));
Label citedByLabel = new Label(Localization.lang("Citations (cited by)"));
styleLabel(citedByLabel, Localization.lang("Works citing the work at hand"));

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.

Use

Also called "forward citations"

Comment on lines +2814 to +2815
Citations\ (cited\ by)=Citations (cited by)
References\ (cites)=References (cites)

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.

We did it for ourselves - just for rerence: #13621 - no need for you to work on this.

@koppor koppor removed the status: awaiting-second-review For non-trivial changes label Jul 31, 2025
koppor
koppor previously approved these changes Aug 2, 2025
@koppor koppor enabled auto-merge August 2, 2025 10:23
@trag-bot

trag-bot Bot commented Aug 2, 2025

Copy link
Copy Markdown

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

@koppor koppor added this pull request to the merge queue Aug 2, 2025
Merged via the queue into JabRef:main with commit 796b419 Aug 2, 2025
1 check passed
Siedlerchr added a commit that referenced this pull request Aug 2, 2025
* upstream/main:
  Issue 13619 Make Citation relations text more clear. (#13620)
  Explain how to handle notifications (#13630)
  Fix scope of 'determine issue number' job (#13627)
  Add proper closing (#13626)
  Implement logic orchestration for Git Pull/Push operations (#13518)
  Make pattern for issue number more strict
  Fix "Cannot load file MultiMergeEntries.fxml" (#13624)
  Add Copy markdown to copy citation (#13387)
  Add ADR-0047 (#13621)
  Initial start of implementing a LSP for integrity checks (#13612)
  Refactor merge entries package structure (#13614)
  New Crowdin updates (#13616)
  BibEntry class no longer implements Cloneable (#13615)
  Fix dark mode in {} of Citation Relations tab of the entry editor (#13609)
  Update dependency org.kohsuke:github-api to v2.0-rc.4 (#13611)
  Fix setting of proxy without password (#13605)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make citation relations text more clear

3 participants