-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Crossref" field should also work if Autocomplete is disabled #8145
Comments
Thank you for you quick reply. Autocomplete solved the problem, just like you said! However, I think it's weird that the crossref feature doesn't work out of the box. Furthermore it would be nice if the preview layout was also updated according to the merged parent/child entries. |
I changed the title and marked it as feature. Regarding the entry preview see #7378 |
I would suggest a separate preference to enable crossref because of severe performance issues of autocompletion when it comes to large databases. See #6967. And of course, it should work if autocomplete is enabled. |
For anyone wanting so solve this, have a look at FieldEditors in combination with SuggestionProviders |
Hi @Siedlerchr |
StandardField.Crossref has a Field property called SINGLE_ENTRY_LINK, in FieldEditors the getSuggestionProvider is called and the value (the thing which handles the autocomplete) is then passed down to the field type editor Inside SuggestionProvider class there is this isEmpty check. Autocompletion is controlled by AutocompletePreferences |
@Siedlerchr Can you please review my changes? I have created a PR to resolve this issue. |
* added selection box next to the keyword field * added selection box next to the keyword field * Update CHANGELOG.md * Rewrite keywords field: used tags field * Update src/main/java/org/jabref/gui/fieldeditors/KeywordsEditorViewModel.java Co-authored-by: Oliver Kopp <[email protected]> * Fix Suggestion Provider [#8145] * Add context menu for keywordsEditor * Fixed OpenRewrite test issue * Add typed text as first suggestion * Revert "Fix Suggestion Provider" * Remove unused imports * Bind the keywords and tags field * Update CHANGELOG.md * Remove duplicates from the suggestions list * use Labels as a tag view * Add LOGGER.debug * remove chip-view from CSS file * Update CHANGELOG.md --------- Co-authored-by: Oliver Kopp <[email protected]>
JabRef version
Latest development branch build (please note build date below)
Operating system
Windows
Details on version and operating system
Windows 11 Pro (build 22471) | JabRef 5.4--2021-10-11--2e71d5f
Checked with the latest development build
Steps to reproduce the behaviour
Appendix
...
Log File
`It seems nothing is being logged `The text was updated successfully, but these errors were encountered: