Skip to content

applets/weather: Improve access to the location picker

Ismael Asensio requested to merge work/iasensio/weather-station-picker into master

The current settings page to configure a weather station is mostly empty space, but it still launches an external dialog to pick a new location.

We can instead, have the station picker directly in the config page, so the workflow to select a new location is much more straighforward.

Now that the picker is more prominent also polish some details:

  • Add placeholder texts when there is no search in progress
  • Port the placeholder to Kiriami.PlaceholderMessage component
  • Make the busy indicator more responsive to user typing
  • Clear the list when the search field gets empty
  • Separate Location and Provider labels: it prevents long strings that overflow and force the form layout into narrow/"mobile" mode

@teams/vdg

BEFORE AFTER
No location selected weather_before_empty weatherpciker-empty
Picking a new location weather_before_picking weatherpciker-picking
Location selected weather_before_normal weatherpciker-normal
Edited by Ismael Asensio

Merge request reports