Repository navigation
feat(mobile): a thin line under the top bar while the data is fetched - #845
Merged
Merged
Conversation
On a phone with the menu shut nothing showed the car's data being fetched: the menu's Refresh, which turns meanwhile, is out of sight. A 2px line in the accent colour now runs along the top bar's bottom edge while a fetch is out (vehicleStore.loading, which the Refresh button turns on too: coming back to the tab, a reconnect, a push, the first load), fast at first and ever slower, then fills the bar and fades once the data is in. It goes the moment the menu opens, which has the turning button instead; a desktop has that button in view all the time and no top bar. Without motion it is a steady line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
joszz
enabled auto-merge
December 1, 2026 18:12
joszz
force-pushed
the
feat/mobile-refresh-bar
branch
from
December 1, 2026 18:12
3789f1c to
97b43fa
Compare
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.
On a phone with the menu shut, nothing showed the car's data being fetched: the menu's Refresh button, which turns meanwhile, is out of sight. Now a thin line runs under the top bar, as YouTube does along its top.
What it does
vehicleStore.loadingis on, the same signal that turns the Refresh button: coming back to the tab, a reconnect, a push notification, a trip ending, the first load, and a refresh pressed in the menu that is still running when the menu shuts.--color-primary) over the top bar's bottom border.RefreshBar.vue, CSS inshell.css, animated withtransformonly).Testing
pnpm checkpasses. New specs: the bar's phases (idle, running, filling and fading, running again during a fade, running from the start when the menu shuts mid-fetch), and inApp.specthat it shows only while the menu is shut.🤖 Generated with Claude Code