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

Revising Search bar on frontpage of HERACLES #11

Open
pbr6cornell opened this issue Jun 5, 2015 · 1 comment
Open

Revising Search bar on frontpage of HERACLES #11

pbr6cornell opened this issue Jun 5, 2015 · 1 comment

Comments

@pbr6cornell
Copy link

I'm struggling with the useability of the searchbar on the front page of HERACLES. I'd prefer to see a searchable combobox, whereby I could either point-and-click to choose a cohort that exists from a dropdown, or I could begin typing into the textbox and have it do a simple substring match. as it stands, it appears the autocomplete is based on some sort of logic associated with requiring to type the first characters in a work in the cohort name or something else that isn't intuitive to me.

charhart pushed a commit that referenced this issue Jun 24, 2015
…ext box, less restrictive tokenizing, better highlighting of matched terms
@charhart
Copy link
Contributor

I made some improvements in this area. I have deployed to nlp01 if you want to test @jduke99

Improvements are:

  • Once cohorts are loaded in cache, giving focus to the textbox will show the entire list (it may take a few seconds to load in cache the first time)
  • Make the whole thing wider
  • Add many more returned results 5=>50 (limit height of dropdown)
  • Tokenize on non-alphanumeric vs. Tokenize on spaces
  • Style matches with underlines

charhart pushed a commit that referenced this issue Aug 5, 2015
* master:
  Remove localhost as default
  remove empty message to prevent initial load weirdness
  remove forced focus
  #11, also some js linting, attempts to show all cohorts on focus  of text box, less restrictive tokenizing, better highlighting of matched terms
  #12 add option to run in background

# Conflicts:
#	index.html
#	src/js/heracles-analysis.js
#	viewer.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants