Repository navigation
tackroom view: a rail on Overview where every harness hangs its nameplate - #327
Conversation
…late, crooked or fallen by its state
|
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 59 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. |
|
Sorry @yourconscience, you've used your own review budget of 250,000 diff characters for the last 7 days. You can request another review in 3 days and 21 hours by commenting |
Reviewer's GuideUIAdd the Overview harness rail, including its state-based nameplates, interactions and animations, responsive layout, and hook graphic.
DocumentationDocument the new Overview rail and describe how its plates reflect harness state and behave across screen sizes.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Graphify review 
2 possible issues to check · High impact
Overview now shows enabled harnesses as interactive nameplates whose appearance follows each harness's sync state.
2 possible issues we couldn't confirm
- When no harnesses are enabled, the rail keeps counting plates from earlier renders, so its row layout can be wrong ·
internal/app/web/app.js:697 - On phones and long rails, the rail and floor lines stop at the visible edge, so plates scrolled past it hang over blank background ·
internal/app/web/style.css:465
They don't change the score.
What this review covered
- We didn't review 2 files that aren't source code, such as docs, config, images, or generated or third-party code.
- 3 of 3 changed files inspected. This is scope, not a correctness guarantee.
Code graph · 225 functions depend on this change
- 2 functions became more coupled.
renderOverview()(1 callers),harnessRail()(1 callers). - 57 of 57 test files are affected by this change.
- Gate, test list and every flagged function: in the Graphify check.
Reviewed 1ee8203 · Full report in the Graphify check
What and why
Something to smile at in
tackroom view. Under the Overview headline there is now a wall rail, as in a tack room, where every enabled harness hangs its nameplate, and how the plate hangs is its state:A plate swings once when it first shows, when the pointer nudges it, and when the inventory is read again; a plate whose state changed moves at once (it slips, drops, or is hung back). The state is the same
harnessStatethe rows below use, so the rail cannot say something else. Clicking a crooked plate opens Sync; a fallen one goes to its conflict or config.Every move is one Web Animation that ends by itself: no timers, and nothing moves with
prefers-reduced-motion. From 900px the plates hang in rows of equal length (ten harnesses: five and five); on a phone, or when more than two rows would be needed, the rail is one row that scrolls sideways and fades out on the right.It costs height: 232px on a desktop with ten harnesses, 118px on a phone.
How I checked it
A throwaway home with ten harnesses staged in all four states, served by
tackroom viewon a loopback port and opened in a browser at 1280px (light and dark) and at phone width.Measured the plates' rotation over time: the swing on load, the swing on hover (about 6 degrees, settling in 1.3 s), and a state change (a harness fixed on disk, then a config save: its plate went from crooked to straight and the others rippled). No animation is left running afterwards.
Not checked:
prefers-reduced-motionin a browser, a tap on a real phone.No unit tests added or deleted.
go test ./...andgo vet ./...passI can explain this change without an AI tool
Summary by Sourcery
Add a state-aware animated harness rail to the Overview view.
New Features:
Enhancements:
Documentation: