You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3e971ba
Browse filesBrowse the repository at this point in the historyBrowse files
feat: a reading says whether the car measured it or a model guessed it
The dashboard formatted nullable floats straight out of the snapshot, which
worked only because every figure on it happened to be a vehicle reading. That
stops being true with the next feature: adaptive range, the climate share and
the speed comparison are models, and they have to arrive on screen visibly
different from the state of charge.
DashboardReadings maps the snapshot into EVHardware's Provenanced carrier —
vehicle signals measured, trip totals derived from them, nothing zero when it is
missing — and ProvenanceText draws the difference in text rather than colour: a
band for an estimate, an em dash for a gap, and the reason for that gap in the
reading's content description and in the diagnostics report, where there is room
for a sentence. An unrecognised firmware now says it was never taught to read
the signal instead of implying the car went quiet.
Verified on the API 28 1920x720 emulator, which exposes no car service: every
field renders its em dash with its unit intact and the trip controls stay
disabled, with no crash in logcat.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: app/src/main/res/values-fr/strings.xml
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,5 +38,18 @@
38
38
<stringname="diagnostics_no_log">Aucune entrée pour le moment.</string>
39
39
<stringname="diagnostics_properties">Propriétés énergie du véhicule</string>
40
40
<stringname="diagnostics_properties_hint">Ce que le véhicule répond pour chaque propriété en lecture seule. Une propriété déclarée par le firmware mais jamais publiée est signalée indisponible et affichée par un tiret cadratin sur le tableau de bord, jamais par zéro.</string>
41
+
<stringname="provenance_measured">mesuré par le véhicule</string>
42
+
<stringname="provenance_derived">calculé à partir des mesures véhicule</string>
43
+
<stringname="provenance_estimated">estimé par un modèle</string>
0 commit comments