Repository navigation
Say since when a parked vehicle has not moved: its latest trip's end - #429
Merged
Merged
Conversation
The state's headline says "Parked since 18 Nov, 18:44", from the end of the vehicle's latest trip, which holds for every make and needs nothing guessed: where the source tells no sleep, it is what says how long the vehicle was left. Not since the engine's reading, which a source that reconnects reads again as new though the vehicle never moved. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 25 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
5 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.
The state's headline said "Parked", but not since when. For a parked car, how long it has not moved is what matters most; a source that tells no sleep gave no way to know it.
Changes
end.before) of the vehicle's latest trip, read with the trips list's first page (useTrips, newest first, from its cache). It holds for every make and needs nothing guessed. Not since the engine reading'sfetched_at: a source that reconnects readsstoppedagain as a new value, though the vehicle never moved. Charging and driving are said as before; no trip known, "Parked" alone.Screenshots
A car parked since yesterday evening, its charge done, checked a minute ago.
Taken on Vite's dev server, the API answered by Playwright from the reference responses (
internal/api/testdata), timestamps moved to now. The tiles still repeat their freshness: #427 handles that, independently.Tests
task unit-web: lint, Vitest (2033 tests, a new case: parked without a trip, since its latest trip, and charging), audit, build: passed.Closes #428
🤖 Generated with Claude Code