-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Better search #332
Better search #332
Conversation
# Conflicts: # build.gradle # build.xml # src/main/java/net/sf/jabref/BasePanel.java # src/main/java/net/sf/jabref/EntryEditor.java # src/main/java/net/sf/jabref/EntryEditorTab.java # src/main/java/net/sf/jabref/JabRefFrame.java # src/main/java/net/sf/jabref/JabRefPreferences.java # src/main/java/net/sf/jabref/SearchManager2.java # src/main/java/net/sf/jabref/autocompleter/AbstractAutoCompleter.java # src/main/java/net/sf/jabref/autocompleter/CrossrefAutoCompleter.java # src/main/java/net/sf/jabref/autocompleter/DefaultAutoCompleter.java # src/main/java/net/sf/jabref/autocompleter/EntireFieldAutoCompleter.java # src/main/java/net/sf/jabref/autocompleter/NameFieldAutoCompleter.java # src/main/java/net/sf/jabref/gui/AutoCompleteListener.java # src/main/java/net/sf/jabref/gui/MainTable.java # src/main/java/net/sf/jabref/gui/MainTableSelectionListener.java
This reverts commit ae50ac4.
This reverts commit 77d9875.
This reverts commit 570cac4.
Conflicts: CHANGELOG src/main/java/net/sf/jabref/Globals.java src/main/java/net/sf/jabref/JabRefPreferences.java src/main/java/net/sf/jabref/exporter/layout/LayoutEntry.java src/main/java/net/sf/jabref/gui/BasePanel.java src/main/java/net/sf/jabref/gui/IncrementalSearcher.java src/main/java/net/sf/jabref/gui/JabRefFrame.java src/main/java/net/sf/jabref/gui/PreviewPanel.java src/main/java/net/sf/jabref/gui/SearchManager.java src/main/java/net/sf/jabref/gui/entryeditor/EntryEditor.java src/main/java/net/sf/jabref/gui/entryeditor/EntryEditorTab.java src/main/java/net/sf/jabref/gui/fieldeditors/JTextAreaWithHighlighting.java src/main/java/net/sf/jabref/logic/autocompleter/AbstractAutoCompleter.java src/main/java/net/sf/jabref/logic/autocompleter/AutoCompleter.java src/main/java/net/sf/jabref/logic/autocompleter/AutoCompleterFactory.java
Conflicts: CHANGELOG src/main/java/net/sf/jabref/gui/SearchManager.java
Revert changes resulting from running the code formater of eclipse
… a toolbar using icons for the search options, adding a field stating the search results, search results are shown after each change of the search parameters
…g search window. TODO: settings menu, some TODOs in the code in which other classes want to listen to search changes.
…ntries are found or not. White search bar.
# Conflicts: # CHANGELOG # src/main/java/net/sf/jabref/SearchManagerNoGUI.java # src/main/java/net/sf/jabref/gui/JabRefFrame.java # src/main/java/net/sf/jabref/gui/PreviewPanel.java # src/main/java/net/sf/jabref/gui/SearchManager.java # src/main/java/net/sf/jabref/gui/entryeditor/EntryEditor.java # src/main/java/net/sf/jabref/gui/fieldeditors/TextArea.java # src/main/java/net/sf/jabref/gui/fieldeditors/TextField.java # src/main/java/net/sf/jabref/logic/search/describer/ContainsAndRegexBasedSearchRuleDescriber.java # src/main/java/net/sf/jabref/logic/search/describer/GrammarBasedSearchRuleDescriber.java # src/main/java/net/sf/jabref/util/ManageKeywordsAction.java # src/main/java/net/sf/jabref/util/Util.java # src/test/java/net/sf/jabref/gui/autocompleter/AutoCompleterTest.java
… the search field.
…e EDT thread where it should have been executed. This is probably still an issue at the moment! Nevertheless, this fixes the preview bug. And does cleanup of the PreviewPanel class, fixing additional bugs with it.
Fixed all existing issues. Please test it again as this uncovers a lot of issues that are related to the search in other components.... |
👍 |
Works good on my site. I don't use groups 😇. The only thing I noticed is an issue with the key/value-search I expected
and
To reveal the same results. However, I have to add an
Maybe, that's a really different issue. |
And this is not introduced by this PR ;-) |
This is why you have to read the HELP file ;) Btw. when hovering over the search query, you get a description what will be searched for. |
I like the indication of the advanced search. Possibly, we could use a really different icon? I think, we only use colors for changing the background, not the font itself. If we decide to really change the color, it should be more like black or something. Red is a signal color and is typically used to indicate that something is wrong. See also the highlighting in the box if nothing is found. Quick rendering proposal: Mirror the glass so that the circle is shown at the upper right corner. Do not change the color at all. Or use one of following icons: |
Changing
Hence, I leave it at red for the moment. |
Permalinks did not work here. Damn it, I can't find the torch here again. Will try later on again and send a screenshot ;) |
…it lost and put into the entry editor field. This is extremely annoying.
Your suggested color would also be ok. I do not like it when the icon changes. This is confusing. |
I think we can merge this in. The problem by combining group selection and search is a much bigger effort which at the moment there is not time for. The current improvements should be good enough. Search is on my machine (i7, 8gb ram, ssd) very very fast, even with a 6800-entry-bibtex-file it is still usable with only short wait times. The problem is not the search itself, but the GUI updates associated with it. This may be optimized later on if an issue arises. |
LGTM 👍 |
This PR is intended to work on the search capability.
It includes #307 and should include #162.
There is an ongoing discussion of features at #104 (comment).
CTRL+f
multiple times. The view changed (behavior due to old JabRef behavior, I would like to have that removed).