HSLdevcom/jore4

As a planner, I want to search for stops using the name of a stop

Opened this issue · 0 comments

As a planner, I want to search for stops using the name of a stop

Currently the search is only searching by label (H2003), so we want that it also searches by name variations (translations, long and short names)
For example

    nameFin: 'Pohjoisesplanadi',
    nameSwe: 'Norraesplanaden',
    nameFinLong: 'Pohjoisesplanadi (pitkä)',
    nameSweLong: 'Norraesplanaden (lång)',

Flow

  • Type search word in to search
  • Click search button
  • All the stops should be in the result list that has label or any name variation matching the search criteria

Main search field:
Should search stop labels and all name variations (translations, long and short names)

Sort results by label alphabetically

NOTE: Use stops_database

Task list:

MVP search criteria in Figma:
https://www.figma.com/file/dsNMixsO1558hCX0XzRDrc/Bus-stops-%7C-JORE-4.0-UX?node-id=1216%3A65709&t=aPb33BhAjkcMaWeT-1

https://www.figma.com/file/dsNMixsO1558hCX0XzRDrc/Bus-stops-%7C-JORE-4.0-UX?node-id=733%3A36713&t=aPb33BhAjkcMaWeT-1