Skip to content

Instantly share code, notes, and snippets.

@joseph-ravenwolfe
Created December 18, 2019 15:27
Show Gist options
  • Save joseph-ravenwolfe/997a142de22f44f7b2fc30ea2e4c79f2 to your computer and use it in GitHub Desktop.
Save joseph-ravenwolfe/997a142de22f44f7b2fc30ea2e4c79f2 to your computer and use it in GitHub Desktop.
Search Page
Search Page
Small Search Box
On Click -> Expanded Search
Expanded Search
Enter Text -> Category Suggestions
Press Escape -> Small Search Box
All Categories
Category Suggestions
Select Category -> Field Suggestions
Continue Typing -> Category Suggestions
Backspace -> Category Suggestions
Delete All Text -> Expanded Search
Searchbox with Text
Suggested Category List*
Field Suggestions
Select Field -> Searchbox with Category and Field
Continue Typing -> Field Suggestions
Backspace -> Category Suggestions
Delete All Text -> Expanded Search
Searchbox with Category
Suggested Field List*
Field Search
Continue Typing -> Searchbox with Category and Field
Press Enter -> Results Page
Backspace -> Field Suggestions
Delete All Text -> Expanded Search
Searchbox with Category and Field
Field Matchers*
Results Page
function render(model){
let current_state_name = model.active_states[0].name;
return $("h1",
{style: {color: "darkBlue"}},
`The current state is: ${current_state_name}`);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment