Repository navigation
fix(ui): phone header polish: no empty dashboard row, a clearer period, info in the top bar - #766
Merged
Merged
Conversation
…d, info in the top bar - On a touch phone the dashboard's title row showed nothing: the title is in the top bar, a long press replaces Edit layout and the top bar's refresh button spins. The empty row and its gap are hidden, so the first card starts 12 px under the top bar instead of 68 px. A row that still has a caption or a visible action stays, so the statistics keep their period and filters. Any phone row left with nothing in it is hidden as well. - The period (Statistics, Map, Trip log, Charge history, trip editor) reads as what the whole page shows: semibold, in the text colour, behind a calendar in the accent colour, instead of a muted line. - The heading and its info button form one block. On a phone both go to the top bar, the info button as a small mark raised off the heading's top right. On a desktop it sits right beside the heading. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
joszz
enabled auto-merge
November 25, 2026 22:05
joszz
added a commit
that referenced
this pull request
Nov 26, 2026
The edit-mode row of the car diagram and the location map carried a top margin the row outside edit mode does not have, left over from an older edit mode. It used to fold into the title row's own margin, so nothing showed. Since #766 hides that row on a touch phone, every card dropped 24 px the moment a long press started editing. The row is now spaced the same in both modes, and a test compares them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Follow-up to #764, after using it on a phone.
What changes
editMode.cssonly hides a row with no caption and no visible action, so Statistics keeps its period and Filters. A narrow window with a mouse keeps Edit layout and its row. Inmain.css, any phone row left with no caption and no actions is hidden too.calendar-daysicon in the accent colour in front. Before, it was a muted line.ViewHeaderputs theh1and its (i) button in one.view-header__titleblock and moves the whole block to the top bar on phones. The (i) shows as a small mark raised off the heading's top right, with a 28 px tap area. On desktop it sits right beside the heading.Checks
pnpm checkpasses (lint, type check, format, 2068 unit tests).ViewHeader.spec.tsnow covers the info button moving to the top bar and opening its modal from there.🤖 Generated with Claude Code