issues
search
CodeforAustralia
/
heritage-near-me
🔎 Heritage Near Me web app prototype
23
stars
6
forks
source link
Create search page
#99
Closed
techieshark
closed
8 years ago
techieshark
commented
8 years ago
Note that:
search icon in nav bar is marked as active
search is operating on site name but displaying story name
a preview of all matches is shown
Elm:
[x] add Search screen Location and Action type
[x] add Search screen to router
[x] handle location/action changes in updateModel and updateAction
[x] add port / signal change in screen to JS through that
[x] handle SearchScreen in Elm's main view code
[x] handle SearchScreen in Elm's navigation view code
Backend:
[x] SQL function to search stories
[x] SQL to search site names
[ ] Add SQL function to search suburbs by text
[ ] Add SQL function to search by text + location (incorporating proximity into search result ordering)
HTML/CSS:
[x] Add interface in HTML
[x] Style w/ CSS
JS:
[x] as user types, send query to to DB
[x] when results return, update search interface HTML
or:
[ ] implement in JS with something like
https://twitter.github.io/typeahead.js/
See also:
http://fusejs.io/
Note that:
Elm:
Backend:
HTML/CSS:
JS:
See also: