feat: weather widget v61 + OS widget#555
Conversation
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f1c0986bfb
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
@piotr-iohk it needs update here too |
|
a |
Co-authored-by: Philipp Walter <philippwalter@pm.me>
Co-authored-by: Philipp Walter <philippwalter@pm.me>
|
I'll polish Blocks and the other widgets in a stacked PR iphone-16.mp4iphone-se.mp4 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e85b8070dd
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
…y even if the weather UI was never shown this session


This PR:
Description
The in-app card collapses to a hero glyph (☀️/⛅/⛈️) with the condition title, description, and one big green fee metric. The four legacy show/hide toggles become a single-select
WeatherDisplayMetric— Current Fee (fiat), Current Fee (sats), or Next Block Inclusion — matching the Figma. Existing on-disk preferences from older builds decode to the default metric.The new
BitkitWeatherWidget(Small + Medium) mirrors the in-app options through thegroup.bitkitApp Group viaWeatherHomeScreenWidgetOptionsStore, refreshes every ~2 minutes, and falls back to a directmempool.spacefetch when the cache is empty so the widget renders before the user opens the app.OS widget localization is handled by sharing
LocalizeHelpers.swiftwith the widget target.LanguageManagermirrors the selected language into the App Group and reloads all widget timelines on change;LocalizationHelperreads from the App Group first so the extension picks up the in-app selection. Localization keys align with bitkit-android (reuseswidgets__weather__current_fee/next_block, adds sharedwidgets__widget__displayand threecondition__*__short_titlevariants).Linked Issues/Tasks
FIGMA
Screenshot / Video
in-app-widget.mp4
translations.mp4
update-from-master.mp4
restore-from-android.mp4
change-currency.mp4
QA Notes
Manual Tests
regression:restore from Android backup withweatherPreferences: corresponding metric is selected (showCurrentFee→ fiat;showNextBlockFeeonly → next-block).regression:Install over main version