Skip to content

Add Meteo-France provider and update UI/layout - #229

Open
popolecool wants to merge 1 commit into
bmaroti9:masterfrom
popolecool:master
Open

Add Meteo-France provider and update UI/layout#229
popolecool wants to merge 1 commit into
bmaroti9:masterfrom
popolecool:master

Conversation

@popolecool

@popolecool popolecool commented Jun 19, 2026

Copy link
Copy Markdown

Add full Meteo‑France support and various UI/build updates.

  • Add new decoder for Meteo‑France (lib/decoders/decode_mf.dart) with forecast, observation, rain, 15-min precipitation and alert parsing.
  • Include meteo-france in the provider list and update api_key_example.dart (notes + key rename).
  • Add timezone service and tests; add unit tests for new decoders and timezone service.
  • Refactor daily.dart layout and styling (fitting text, spacing, sizing, expanded/collapsed day cards, icons) to improve responsiveness.
  • Force androidx.glance versions in android/build.gradle.kts and add new Gradle properties flags in android/gradle.properties; update pubspec.yaml.

These changes add a new weather provider, improve the daily UI, and stabilize Android dependency resolution.

demo-video-here -->https://www.youtube.com/watch?v=ZwvK7-_gaso

Add full Meteo‑France support and various UI/build updates.

- Add new decoder for Meteo‑France (lib/decoders/decode_mf.dart) with forecast, observation, rain, 15-min precipitation and alert parsing.
- Include meteo-france in the provider list and update api_key_example.dart (notes + key rename).
- Add timezone service and tests; add unit tests for new decoders and timezone service.
- Refactor daily.dart layout and styling (fitting text, spacing, sizing, expanded/collapsed day cards, icons) to improve responsiveness.
- Force androidx.glance versions in android/build.gradle.kts and add new Gradle properties flags in android/gradle.properties; update pubspec.yaml.

These changes add a new weather provider, improve the daily UI, and stabilize Android dependency resolution.
@bmaroti9

Copy link
Copy Markdown
Owner

Hi!
Sorry for not acknowledging this pr for a while. It looks really promising, having another provider is a nice addition, especially because this isn't just taking the data through open-meteo.
I also really appreciate how you kept the formatting and maybe questionable namings i used all around the rest of the app.
I've just came back to the project after a long while for the first time, bumped all versions, fixed all build errors, and resolved all the breaking changes. This unfortunately introduced some merge conflicts here, so i'd really appreciate it if you rebased this against main. Sorry for the inconvenience, i didn't think there would be this many conflicts when i bumped them, and since you know this code the best, i think it'd be better if you did the resolving.

One thing that caught my eye is that you added the api key at the top of the decoding file, which obviously can't stay like that for production. If you'd share the place you got it, i could get another on and add it to the actual app api_key.dart file, that is not on github.

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

Successfully merging this pull request may close these issues.

2 participants