Repository navigation
fix(ui): tile text wraps, clearer tile states, short chart dates - #447
Merged
Merged
Conversation
…t mode
Dashboard, statistics and trip log tiles cut their labels and values
short with an ellipsis ("CLIMATE CONT...", "71% · Act..."), which no
tooltip can rescue on a phone. Labels now wrap to two lines and values
wrap balanced, so a reading keeps its unit. A single word too long for
the tile is hyphenated by the page's language and only falls back to an
ellipsis where the browser lacks hyphenation for it. The tile's inner
gap drops from 1rem to 0.75rem to give the text room next to a larger
chevron.
The page now carries the interface language in <html lang>, which the
hyphenation needs and screen readers use; it was always "en".
On tablets the trip log stacks each trip as on phones, so the route
gets a row of its own and the totals sit two to a row.
Readings use tabular figures, and light mode gives cards a faint shadow
(--shadow-card) so white cards stand off the pale page.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The lights tile turned red whenever the lights were off, which is how a parked car should be; it is now neutral, and green while lights are on. Find my car read "-" when idle, which looked like missing data; it reads Off. The maintenance tile showed a bare count; it now names the worst state (Overdue, Due soon, OK) as the maintenance page does, with the items in its tooltip as before. The maintenance item fixture moves to services/__tests__ so the store and card specs share it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A month of full dates (10/09/2026) crowded the x axis on a phone. The ticks now read "10 Sep", with the year only when the period runs into another one. Tooltips keep the full date. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Polish from a design review of the app at phone, tablet and desktop widths. Nothing about the layout, the colours or how anything works changes; this fixes what read as cut off, broken or unclear.
Tiles and cards
<html lang>follows the interface language. It was alwaysen, so Dutch pages were read out in an English voice and could not be hyphenated.--shadow-card, none in dark mode), so white cards stand out from the pale page.Dashboard states
Statistics
10/09/2026, with the year added when the period spans two years. Tooltips keep the full date.Test plan
pnpm exec vitest run: 860 tests pass. New specs cover the lights, find my car and maintenance tiles, the axis date format, andlangfollowing the locale.pnpm lintandpnpm type-checkare clean.🤖 Generated with Claude Code