Search feature rebased to current develop branch
- No longer part of the viewer
- Has its own controller: Search
- Own page: page_search.html
Expand/collapse functionality for searchbar
Fix: Added missing  watch
Use clearSearch callback for actual collapse
Introduce show_search boolean in class Hypothesis
Don't show facet menu when collapsed
Added space between hits
Fix disappearing text in searchbar
Added moz and webkit box-sizing for VS
Highlight in annotation's body for text search results
Removed debug messages
Introducing highlightText field for annotations
- Original search highlighting modified the text field
- It was a permanent change, it is no longer that way.
- Annotation directive using a mode attribute, to differentiate between viewer and search display
- We show highlighted text only for search results
- It can be used for other differences
fix: missing highlightText field
fix: last commit was not a complete fix
Minor: indent
Sign in does not work under jquery 1.9.0 so reverting back to 1.8.3
Removed collapse ng class from replies in search page
scope.open was not reinitialized for new searches. Using annotation._open instead
Maginifying glass only when inactive
Removed 'tag' facet (currently not implemented)
Moved visualsearch.css to lib/visualsearch.css
common.scss contains our overrides for it.