Location results should also show state AND country names for better clarity
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UX |
Fix Committed
|
Medium
|
Christina Li | ||
Ubuntu Weather App |
Fix Released
|
Medium
|
Martin Borho |
Bug Description
This bug has been updated to include COUNTRY names.
Current:
At the moment it displays abbreviation of the country. Eg. Portugal is PT and Australia is AU. This makes it difficult to select the right place where multiple countries have the same city name.
Desired:
- Display full country name
For example searching Lisbon in Portgual, should be:
Lisbon, Portgual not Lisbon, PT
=======
When using the "add location" feature in the weather app, it does not differentiate between cities in different states. It is common for a US state to have city/town that shares the name of a city/town in another state. For example, there are at least a dozen states that have a city/town called 'Springfield'. In this situation the list of cities shows multiple identical entries; the user has to guess which one is appropriate
To reproduce:
1) Launch weather app
2) Swipe up from bottom to reveal the "Edit" button
3) Tap "Add City"
4) In the search box, search for "Springfield"
Expected results:
Search results differentiate between different towns with the same name, e.g. "Springfield, Massachusetts, USA" and "Springfield, Missouri, USA"
Actual results:
Search results contain multiple "Springfield, US" entries.
Related branches
- Raúl Yeguas: Approve
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
-
Diff: 678 lines (+350/-152)5 files modifiedcomponents/AddLocationSheet.qml (+23/-26)
components/CountryCodes.js (+253/-0)
components/LocationManagerSheet.qml (+64/-11)
resources/images/search_item@8.svg (+0/-105)
tests/autopilot/ubuntu_weather_app/tests/test_locationmanager.py (+10/-10)
Changed in ubuntu-weather-app: | |
status: | Confirmed → Triaged |
importance: | Undecided → Medium |
Changed in ubuntu-weather-app: | |
status: | Fix Committed → Fix Released |
This is very similar to https:/ /bugs.launchpad .net/ubuntu- clock-app/ +bug/1197436 in the clock app. Hence I thought if the weather app has the same issue and it does.