Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv
- Correct fallback window height (786 → 768) in JabRefGUI. [#14295](https://github.com/JabRef/jabref/pull/14295)
- We fixed localization of the "New Entries" dialog. [#14455](https://github.com/JabRef/jabref/pull/14455)
- We fixed an issue where keybindings could not be edited and saved. [#14237](https://github.com/JabRef/jabref/issues/14237)
- Fixed the entry-table tooltip appearing oversized when preview was enabled. The tooltip now adapts to its content. [#12351](https://github.com/JabRef/jabref/issues/12351)

### Removed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import org.jabref.model.entry.BibEntry;

public class MainTableTooltip extends Tooltip {

private final PreviewViewer preview;
private final GuiPreferences preferences;
private final VBox tooltipContent = new VBox();
Expand All @@ -22,15 +21,25 @@ public class MainTableTooltip extends Tooltip {
public MainTableTooltip(DialogService dialogService, GuiPreferences preferences, ThemeManager themeManager, TaskExecutor taskExecutor) {
this.preferences = preferences;
this.preview = new PreviewViewer(dialogService, preferences, themeManager, taskExecutor);
this.tooltipContent.getChildren().addAll(fieldValueLabel, preview);

fieldValueLabel.setWrapText(true);
fieldValueLabel.setMaxWidth(450);

tooltipContent.getChildren().addAll(fieldValueLabel, preview);
tooltipContent.setSpacing(5);

this.setMaxWidth(500);
this.setWrapText(true);
}

public Tooltip createTooltip(BibDatabaseContext databaseContext, BibEntry entry, String fieldValue) {
fieldValueLabel.setText(fieldValue + "\n");
fieldValueLabel.setText(fieldValue);

if (preferences.getPreviewPreferences().shouldShowPreviewEntryTableTooltip()) {
preview.setLayout(preferences.getPreviewPreferences().getSelectedPreviewLayout());
preview.setDatabaseContext(databaseContext);
preview.setEntry(entry);
preview.setMaxHeight(200);
this.setGraphic(tooltipContent);
} else {
this.setGraphic(fieldValueLabel);
Expand Down
2 changes: 1 addition & 1 deletion jablib/src/main/resources/csl-locales
Submodule csl-locales updated 66 files
+1 −1 Gemfile
+247 −255 locales-af-ZA.xml
+197 −205 locales-ar.xml
+38 −53 locales-bal-PK.xml
+222 −230 locales-bg-BG.xml
+38 −53 locales-brh-PK.xml
+247 −255 locales-ca-AD.xml
+248 −256 locales-cs-CZ.xml
+243 −251 locales-cy-GB.xml
+244 −252 locales-da-DK.xml
+249 −256 locales-de-AT.xml
+252 −260 locales-de-CH.xml
+247 −255 locales-de-DE.xml
+243 −251 locales-el-GR.xml
+2 −1 locales-en-GB.xml
+2 −1 locales-en-US.xml
+243 −251 locales-es-CL.xml
+243 −251 locales-es-ES.xml
+250 −258 locales-es-MX.xml
+243 −251 locales-et-EE.xml
+243 −251 locales-eu.xml
+244 −252 locales-fa-IR.xml
+243 −251 locales-fi-FI.xml
+377 −504 locales-fr-CA.xml
+15 −14 locales-fr-FR.xml
+244 −254 locales-gl-ES.xml
+243 −253 locales-he-IL.xml
+263 −271 locales-hi-IN.xml
+244 −252 locales-hr-HR.xml
+243 −251 locales-hu-HU.xml
+250 −258 locales-id-ID.xml
+243 −251 locales-is-IS.xml
+264 −272 locales-it-IT.xml
+408 −367 locales-ja-JP.xml
+243 −251 locales-km-KH.xml
+243 −251 locales-ko-KR.xml
+243 −251 locales-la.xml
+264 −272 locales-lij-IT.xml
+246 −253 locales-lt-LT.xml
+267 −274 locales-lv-LV.xml
+243 −251 locales-mn-MN.xml
+50 −67 locales-ms-MY.xml
+218 −226 locales-nb-NO.xml
+243 −251 locales-nl-NL.xml
+217 −225 locales-nn-NO.xml
+38 −54 locales-pa-PK.xml
+239 −247 locales-pl-PL.xml
+266 −273 locales-pt-BR.xml
+279 −287 locales-pt-PT.xml
+240 −248 locales-ro-RO.xml
+225 −234 locales-ru-RU.xml
+243 −251 locales-sk-SK.xml
+243 −251 locales-sl-SI.xml
+0 −622 locales-sr-Latn-RS.xml
+244 −252 locales-sr-RS.xml
+243 −251 locales-sv-SE.xml
+244 −252 locales-th-TH.xml
+352 −364 locales-tr-TR.xml
+266 −381 locales-uk-UA.xml
+418 −431 locales-vi-VN.xml
+109 −120 locales-zh-CN.xml
+206 −213 locales-zh-TW.xml
+4 −8 locales.json
+1 −1 spec/locales_spec.rb
+1 −1 spec/repository_spec.rb
+0 −363 util/sort_terms.py
2 changes: 1 addition & 1 deletion jablib/src/main/resources/csl-styles
Submodule csl-styles updated 97 files
+0 −17 .github/PULL_REQUEST_TEMPLATE.md
+4 −3 acta-universitatis-agriculturae-sueciae.csl
+0 −211 american-journal-of-roentgenology.csl
+14 −62 american-society-of-civil-engineers.csl
+215 −246 associacao-brasileira-de-normas-tecnicas-ufrgs-initials.csl
+348 −661 associacao-brasileira-de-normas-tecnicas-ufrgs-note-initials-with-ibid.csl
+115 −135 associacao-brasileira-de-normas-tecnicas-unirio-eipp.csl
+50 −63 barbara-budrich.csl
+1 −2 bern-university-of-applied-sciences-school-of-agricultural-forest-and-food-sciences-hafl.csl
+13 −37 bio-protocol.csl
+0 −166 bioethics.csl
+36 −42 council-of-science-editors-alphabetical.csl
+2 −6 council-of-science-editors-author-date.csl
+0 −248 council-of-science-editors-numeric-alphabetical-8th-edition.csl
+2 −2 dependent/abi-technik.csl
+17 −0 dependent/american-journal-of-roentgenology.csl
+3 −3 dependent/angelaki.csl
+19 −0 dependent/bioethics.csl
+0 −18 dependent/book-history.csl
+3 −3 dependent/college-and-research-libraries.csl
+0 −19 dependent/european-medieval-drama.csl
+1 −1 dependent/history-australia.csl
+0 −18 dependent/information-and-culture.csl
+0 −15 dependent/interfaces-a-journal-of-medieval-european-literature.csl
+0 −17 dependent/journal-of-analytical-toxicology.csl
+0 −22 dependent/journal-of-medieval-latin.csl
+0 −21 dependent/leeds-medieval-studies.csl
+0 −19 dependent/manuscripta.csl
+1 −6 dependent/mediaeval-studies.csl
+0 −17 dependent/medicina-y-seguridad-del-trabajo.csl
+0 −19 dependent/medium-aevum.csl
+0 −19 dependent/new-medieval-literatures.csl
+0 −22 dependent/nottingham-medieval-studies.csl
+3 −4 dependent/ostrava-journal-of-english-philology.csl
+0 −18 dependent/pecia.csl
+0 −16 dependent/pmla.csl
+15 −0 dependent/revista-medica-del-instituto-mexicano-del-seguro-social.csl
+0 −22 dependent/sacris-erudiri.csl
+1 −6 dependent/speculum.csl
+1 −1 dependent/terrorism-and-political-violence.csl
+3 −6 dependent/the-journal-of-medieval-and-early-modern-studies.csl
+3 −3 dependent/the-library.csl
+0 −22 dependent/the-mediaeval-journal.csl
+0 −21 dependent/viator.csl
+0 −19 dependent/yearbook-of-langland-studies.csl
+0 −279 deutsches-archaologisches-institut-romisch-germanische-kommission-author-date.csl
+73 −141 ethnobiology-and-conservation.csl
+422 −0 eu-interinstitutional-style-1st-edition.csl
+0 −555 eu-interinstitutional-style.csl
+102 −136 european-journal-of-international-law.csl
+2 −2 gost-r-7-0-5-2008-numeric.csl
+30 −42 harvard-bournemouth-university.csl
+3 −3 harvard-cite-them-right-no-et-al.csl
+3 −3 harvard-cite-them-right.csl
+0 −466 hochschule-der-kunste-bern-musikforschung.csl
+100 −118 hochschule-fur-soziale-arbeit-fhnw.csl
+0 −251 hochschule-rheinmain-wiesbaden-business-school-gesundheitsokonomie.csl
+369 −618 instituto-brasileiro-de-informacao-em-ciencia-e-tecnologia-abnt-initials.csl
+368 −617 instituto-brasileiro-de-informacao-em-ciencia-e-tecnologia-abnt.csl
+0 −1,738 instituto-universitario-militar.csl
+79 −150 instrumenta-patristica-et-mediaevalia.csl
+224 −210 iso690-author-date-cs.csl
+148 −0 journal-of-analytical-toxicology.csl
+3 −4 journal-of-emerging-investigators.csl
+134 −184 journal-of-mammalogy.csl
+796 −0 modern-language-association-6th-edition-note.csl
+80 −69 modern-language-association-annotated-bibliography.csl
+62 −49 modern-language-association-no-url.csl
+62 −49 modern-language-association-notes-no-url.csl
+80 −69 modern-language-association-notes.csl
+80 −69 modern-language-association.csl
+0 −2,977 new-harts-rules-author-date.csl
+0 −3,202 new-harts-rules-notes-initials-publisher.csl
+0 −3,202 new-harts-rules-notes-initials.csl
+0 −3,191 new-harts-rules-notes-no-url.csl
+0 −3,202 new-harts-rules-notes-publisher.csl
+0 −3,201 new-harts-rules-notes.csl
+0 −2,454 new-harts-rules-numbered.csl
+354 −0 new-harts-rules-the-oxford-style-guide-author-date.csl
+439 −0 new-harts-rules-the-oxford-style-guide.csl
+49 −71 opuscula.csl
+476 −59 oxford-university-press-note.csl
+1 −1 peter-lang-social-sciences.csl
+0 −417 pontificia-universidade-catolica-do-parana-abnt.csl
+113 −86 population.csl
+0 −212 preventive-nutrition-and-food-science.csl
+2 −7 renamed-styles.json
+0 −169 revista-de-derecho-de-la-universidad-austral-de-chile.csl
+0 −423 revista-medica-del-instituto-mexicano-del-seguro-social.csl
+2 −2 springer-vancouver.csl
+1 −1 textual-cultures.csl
+0 −185 the-british-journal-of-social-work.csl
+1 −1 the-faseb-journal.csl
+0 −254 universitas-gadjah-mada-doctoral-program-in-pharmaceutical-sciences.csl
+0 −262 universite-gustave-eiffel-arts-numeriques-et-cultures-visuelles.csl
+2 −2 uniwersytet-gdanski-kulturoznawstwo-autor-rok.csl
+53 −78 zitierguide-leitfaden-zum-fachgerechten-zitieren-in-rechtswissenschaftlichen-arbeiten.csl
Loading