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

Building creation / street search improvements #738

Open
luytena opened this issue Apr 3, 2024 · 2 comments
Open

Building creation / street search improvements #738

luytena opened this issue Apr 3, 2024 · 2 comments
Assignees

Comments

@luytena
Copy link
Contributor

luytena commented Apr 3, 2024

Building creation

  • Remove locality name as an input field, getStreet only uses the PLZ
  • Display the locality name in the street search options
  • Use the locality returned in the getStreet response for the addBuildingToConstructionProject request

Street validation

  • Make the street input required through a validation check

Multilingual street search

  • Make a first request using the language selected in eBau
  • If no streets are found, try the other available languages
  • Display the street results using the language(s) where results were found (concatenating if results for multiple languages are found)
  • Continue further search requests with the same language (for example when continuing typing)
@derrabauke
Copy link
Contributor

derrabauke commented Apr 4, 2024

Notes for Building creation & Street validation
image

@derrabauke
Copy link
Contributor

derrabauke commented Apr 4, 2024

Notes for Multilingual street search

  • cache for last successful street search results, only as long as on the current route
  • assume a municipality only covers one language
  • first request with primary language and if empty, try with other languages enables for that canton, ignore duplicates for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants