Add read-only trip summary widget - #332
Conversation
|
Freshly revalidated this branch on 2026-07-16:
The new widget reads cached Room summaries only; it does not send vehicle commands or trigger live car polling. I am happy to adjust or split the change if a smaller review surface would be preferable. |
Only show cost/100 when every charge in the selected range is priced, surface partial/missing coverage in compact mode, and refresh the widget immediately when currency or TeslaMate units change.
|
Polished this branch for cost honesty and fresher unit/currency labels:
Still fully read-only over cached Room data — no vehicle commands or live car polling. |
Defer trip-widget refresh on unit-of-length cache changes until after summary sync, resolve units from TeslaMate settings in the worker, and refresh the widget when summaries land even if detail sync retries.
Review + polish pass completeSelf-reviewed and pushed follow-up fixes:
Local verification: targeted unit tests + lint green. CI note: please approve the workflow run ( |
Cache unit-of-length during summary sync and stop live-fetching TeslaMate units in the trip widget worker so Room values and labels cannot drift after a unit change.
|
Final correctness pass: trip widget labels now use the unit cached at summary-sync time only (no live settings fetch during widget update). Ready for workflow approval. |
Adds a read-only home screen Trip summary widget backed entirely by cached Room summaries. It never sends vehicle commands or polls the car.
Highlights:
Local verification:
Local setup note: Android SDK, Gradle cache, and build output are backed by an APFS sparsebundle on the external SSD to avoid internal disk pressure.