feat(widget): implement home screen widget and fix Google Sheets range synchronization

- Add SatieaAppWidgetProvider with last meal recap, daily summary, and 1-tap logging shortcuts
- Implement reactive UDF quick-log action in MealViewModel and MainActivity
- Safeguard widget updates against concurrency with debounced SupervisorJob scope
- Migrate Google Sheets tab names automatically and encode range URLs per RFC 3986
- Add unit tests for widget UI model formatting and range encoding
This commit is contained in:
bleackstorm committed 2026-11-11 09:48:50 +01:00
1 parent 3d1d0f43e7
commit 1d6e9a3752
17 files changed
+708 -23

No files matched your search

+12
View File
@@ -41,6 +41,18 @@
</intent-filter>
</receiver>
<receiver
android:name=".widget.SatieaAppWidgetProvider"
android:exported="true"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/satiea_widget_info" />
</receiver>
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.fileprovider"