Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Bookmark search + enhancements #2567

Merged
merged 3 commits into from
Jul 22, 2016
Merged

Bookmark search + enhancements #2567

merged 3 commits into from
Jul 22, 2016

Conversation

aekeus
Copy link
Member

@aekeus aekeus commented Jul 18, 2016

  • Searches existing bookmarks on character input
  • Cancelled when search text is cleared
  • Provides clear button in search box
  • Clear search text of folder select change
  • Sorts search results
  • Highlights search results in currently selected folder

Closes #995

aekeus added 3 commits July 18, 2016 12:43
  * Searches existing bookmarks on character input
  * Cancelled when search text is cleared
  * Added clear icon to search box when text is present
  * Cleared search box when folder selected
  * Sorted search results by title
  * Highlighted search results that are in the currently selected folder
Instead of choosing the first truthy of customTitle, title or location
concatenate the values to form a single string to match against.
// it as selected
if (this.props.inSelectedFolder) {
className += ' selected'
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A better way to do this is with cx which allows you to selectively include or exclude css styles with a boolean expression. You can find some uses in the same file.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do in a follow up as I'm going to merge this separately.

@bbondy
Copy link
Member

bbondy commented Jul 22, 2016

Great work, a couple of review comments here and I posted a couple of follow ups here:
#2652
and
#2651

Thanks for doing this. Merging!

@bbondy bbondy merged commit 8f422cf into master Jul 22, 2016
@luixxiul luixxiul added this to the 0.11.2dev milestone Jul 22, 2016
@bbondy bbondy deleted the bookmark-search-enhancements branch September 23, 2016 00:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants