Skip to content

Add read-only trip summary widget#332

Open
raykellyjr wants to merge 5 commits into
vide:mainfrom
raykellyjr:feat/trip-summary-widget
Open

Add read-only trip summary widget#332
raykellyjr wants to merge 5 commits into
vide:mainfrom
raykellyjr:feat/trip-summary-widget

Conversation

@raykellyjr

@raykellyjr raykellyjr commented Jul 9, 2026

Copy link
Copy Markdown

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:

  • Vehicle selection with reconfigurable 7/30/90-day ranges
  • Distance, drives, driving days, energy, efficiency, charging cost, and cost per 100 distance units
  • Same-length previous-period distance comparison
  • Honest charging-cost coverage labels for missing, partial, and complete price data
  • Periodic/offline updates plus refresh after successful data sync
  • Trips deep-linking without live car polling
  • Cached TeslaMate unit and currency handling
  • Localized widget copy in English, Catalan, German, Spanish, Italian, and Chinese
  • Formatter and date-range unit coverage

Local verification:

  • git diff --check
  • ./gradlew :app:testDebugUnitTest :app:lintDebug :app:assembleDebug

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.

@raykellyjr raykellyjr marked this pull request as ready for review July 9, 2026 03:32
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.

1 participant