Skip to content
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

Prototype Implement better search user interface #341 #8356

Open
wants to merge 103 commits into
base: main
Choose a base branch
from

Conversation

dmadoery
Copy link

@dmadoery dmadoery commented Dec 22, 2021

The issue was to implement a better search #Issue 341. JabRef#341
It was mentioned to implement something like this:

image

The following things have been added:

  • The branch refine-search from Add support for Lucene as search syntax #8206 has been added in order to have lucene syntax support.
  • Added popover for the GlobalSearchBar to simplify the lucene search called DropdownMenu
  • Added recent search list into the popover
  • Added visual feedback for Search Query validity. (GlobalSearchBar is green for a valid Query and red for invalid query).
  • Pressing buttons in the DropDownMenu adds a new SearchItem to the searchItemList in SearchFieldSynchronizer and
    synchronizes with the GlobalSearchBar.
  • Added intern textfield in DropDownMenu in order to autocomplete the typed searchstrings. With an add, search and delete button you are able to add the typed string to the GlobalSearchBar, with the search-button you can search your global repository and with the delete button you can delete the whole searchstring .
  • Removed RegexButton.

Recent Prototype looking like this:

image

Current problems:

  • Removed the ChipView prototype as it's not working.

  • Bracket logic (AND^-1/OR^-1) not working properly yet.

  • YearRange Slider input (yearrange:) doesn't search correctly.

  • Recent search also considers invalid search queries.

  • Change in CHANGELOG.md described in a way that is understandable for the average user (if applicable)

  • Tests created for changes (if applicable)

  • Manually tested changed features in running JabRef (always required)

  • Screenshots added in PR description (for UI changes)

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

koppor and others added 30 commits November 1, 2021 16:34
Add Lucene functionality to SearchBar
- Fixed odd behaviour where dropdown reapppears when repeatedly clicking search bar
- Removed detachable attrubute (for now?)
- Corrected Checkstyle
- Added test method to author button (dont allow attributes without search terms)
- Fixed odd behaviour where dropdown reapppears when repeatedly clicking search bar
- Removed detachable attrubute (for now?)
- Corrected Checkstyle
- Buttons dont allow adding attributes when prior ones are empty
Corrected some minor formatting errors
Also modified RecentSearch such that empty strings do not get added to
the list.
@koppor
Copy link
Member

koppor commented Dec 23, 2021

This depends on #8206 (the first commits by @koppor originate from that PR)

@ryan-carpenter
Copy link

* Removed RegexButton.

😨 Regex searching is extremely useful. I can understand the need for a search builder, but please don't take this away.

@koppor koppor changed the title Prototype Implement better Search #341 Prototype Implement better search user interface #341 Aug 28, 2024
@koppor koppor modified the milestones: 6.0-beta, 6.0 Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants