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

issue-639: Current day warnings widget #737

Merged
merged 37 commits into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
2450e6d
issue-639: Warning icons added.
stembitf Dec 10, 2024
92dd088
issue-639: First draft of small warnings widget layout.
stembitf Dec 10, 2024
99700ab
issue-639: First draft of all needed files.
stembitf Dec 10, 2024
fd02ebd
issue-639: First draft of all needed files.
stembitf Dec 10, 2024
38eadc0
issue-639: Some renaming done for clarification.
stembitf Dec 10, 2024
b242dd9
issue-639: Separate base class for warnings widgets.
stembitf Dec 10, 2024
c28295c
Merge branch 'android-main' into feature/issue-639-current-day-warnin…
stembitf Dec 11, 2024
07e3bd8
issue-639: Code cleanup.
stembitf Dec 11, 2024
7ecb3aa
issue-639: First draft of methods in BaseWarningsWidgetProvider. Some…
stembitf Dec 12, 2024
3016e09
issue-639: Warning widget working to some extent.
stembitf Dec 13, 2024
1e9da51
issue-639: more weather icon mapping
stembitf Dec 13, 2024
3542c35
issue-639: Warning widget working basically.
stembitf Dec 16, 2024
115c2ad
issue-639: Favorite locations taken into use for warning widget.
stembitf Dec 16, 2024
f65d4e4
issue-639: Separate update scheduling for warning widgets.
stembitf Dec 17, 2024
ad56c8c
issue-639: Attempt of new small widget layout, which fills cells.
stembitf Dec 17, 2024
0b6081c
Revert "issue-639: Attempt of new small widget layout, which fills ce…
stembitf Dec 17, 2024
b1014d9
issue-639: Warning titles
stembitf Dec 17, 2024
9df97eb
issue-639: Text color handling for different themes
stembitf Dec 17, 2024
fb63cff
issue-639: UI changes and widget reset.
stembitf Dec 17, 2024
6ead16b
issue-639: start date added when needed for single warning.
stembitf Dec 18, 2024
ddf1205
issue-639: Fix for scheduled widget updates.
stembitf Dec 18, 2024
b82f996
issue-639: Clearing widget updates changed.
stembitf Dec 18, 2024
ece0ee7
issue-639: Widget setup and widget disable changes.
stembitf Dec 18, 2024
d0e4ca7
issue-639: Show only warnings which are valid now.
stembitf Dec 19, 2024
e5524a2
issue-639: Filtering code extracted to methods
stembitf Dec 19, 2024
2bd2b8c
issue-639: New icon for sea wind with direction and intensity.
stembitf Dec 19, 2024
4a2fc6c
issue-639: Merged main, fixed conflicts
geosaaga Dec 20, 2024
3de1c88
issue-639: Renamed xml-v31 files according to new naming
geosaaga Dec 20, 2024
2a57ad7
issue-639: Merged main, fixed conflicts
geosaaga Jan 17, 2025
bf6ee38
issue-639: Some fixes for things lost in merge
geosaaga Jan 20, 2025
09f135d
issue-639: Layout and warning priority improvements
geosaaga Jan 21, 2025
d603a51
issue-639: Merged main, fixed conflicts
geosaaga Jan 21, 2025
6a2297f
issue-639: More layout and functional fixes to warnings widget
geosaaga Jan 22, 2025
23a9918
issue-639: Refactored data models and data fetching logic
geosaaga Jan 22, 2025
1a02233
issue-639: Improved warning widget error handling
geosaaga Jan 22, 2025
67b4292
issue-639: More refactoring and fixes
geosaaga Jan 23, 2025
9265eab
issue-639: Fixed isValidDate() to use Europe/Helsinki timezone for wa…
geosaaga Jan 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 15 additions & 8 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,9 @@
<receiver android:name=".SmallForecastWidgetProvider" android:label="@string/small_widget" android:exported="false">
<intent-filter>
<action android:name="fi.fmi.mobileweather.AUTO_UPDATE" />
</intent-filter>
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data android:name="android.appwidget.provider" android:resource="@xml/small_widget_provider_info" />
<meta-data android:name="android.appwidget.provider" android:resource="@xml/small_forecast_widget_provider_info" />
</receiver>
<activity android:name=".SmallForecastWidgetConfigurationActivity" android:exported="false">
<intent-filter>
Expand All @@ -79,11 +77,9 @@
<receiver android:name=".MediumForecastWidgetProvider" android:label="@string/medium_widget" android:exported="false">
<intent-filter>
<action android:name="fi.fmi.mobileweather.AUTO_UPDATE" />
</intent-filter>
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data android:name="android.appwidget.provider" android:resource="@xml/medium_widget_provider_info" />
<meta-data android:name="android.appwidget.provider" android:resource="@xml/medium_forecast_widget_provider_info" />
</receiver>
<activity android:name=".MediumForecastWidgetConfigurationActivity" android:exported="false">
<intent-filter>
Expand All @@ -94,13 +90,24 @@
<receiver android:name=".LargeForecastWidgetProvider" android:label="@string/large_widget" android:exported="false">
<intent-filter>
<action android:name="fi.fmi.mobileweather.AUTO_UPDATE" />
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data android:name="android.appwidget.provider" android:resource="@xml/large_forecast_widget_provider_info" />
</receiver>
<activity android:name=".LargeForecastWidgetConfigurationActivity" android:exported="false">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
</intent-filter>
</activity>

<receiver android:name=".SmallWarningsWidgetProvider" android:label="@string/small_warnings_widget" android:exported="false">
<intent-filter>
<action android:name="fi.fmi.mobileweather.AUTO_UPDATE" />
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data android:name="android.appwidget.provider" android:resource="@xml/large_widget_provider_info" />
<meta-data android:name="android.appwidget.provider" android:resource="@xml/small_warnings_widget_provider_info" />
</receiver>
<activity android:name=".LargeForecastWidgetConfigurationActivity" android:exported="false">
<activity android:name=".SmallWarningsWidgetConfigurationActivity" android:exported="false">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
</intent-filter>
Expand Down
Loading