TheDevPath/Navi

Style search feature for map view

Aperta

#181 aperta il 28 feb 2018

 (4 commenti) (0 reazioni) (2 assegnatari)JavaScript (63 fork)auto 404
MVP Priorityenhancementfrontendhelp wantednext

Metriche repository

Star
 (53 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Style scrollable list of input predictions for better user experience:

  • bold place name or search query
  • treat address as sub value and place under place name
  • scrollable list should be hidden by default in primary map view; just search input available

On focus (user clicks on input box):

  • [obsolete] hamburger icon (#179) should be replaced with a return icon which on click returns user to primary map view
  • unhide / overlay scrollable list with default search history (cached search only if user isn't logged on) as options.

On input (user types a search query):

  • scrollable list updates with predictions, include search history options that match current input along with result of input prediction

On submit (user hits enter or clicks on resulting options):

  • update map to location of selection and add marker at the location

Guida contributor