Repository navigation
feat(viewer): sentence-case labels and native motion - #12
Merged
Merged
Conversation
…eep links and keyboard nav
fix: viewer polish from the deferred list
Contributor
|
🎉 This PR is included in version 0.1.0-rc.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Contributor
|
🎉 This PR is included in version 0.1.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
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.
Depends on #11 (merge that first; this diff then shrinks to the commits here).
Typography. Section, legend, lens and group-frame labels drop the uppercase + 0.12em tracking style: inspector sections are 13px semibold, captions and group labels 12.5px medium muted.
Motion (Web Animations API, no dependency; single file 629 KB of the 700 KB budget). One module,
src/motion/, with the easing and duration vocabulary. anime.js was tried first and dropped: most of the code was cleanup after its inline style commits, and it cost ~36 KB.serveanimate only new nodes and edges (ids shown are kept in sessionStorage next to the camera); the chrome stays still./, Enter/Space, ArrowDown) they appear instantly.el.animate(…, { fill: 'backwards' }): hidden through its stagger delay, nothing inline once done, so dim/focus emphasis stays pure CSS, even mid-intro. Edges draw withpathLength=1and an animatedstroke-dashoffset; the arrowhead waits until the line arrives.role=statusregion, so switching between "disconnected" and "errors" is still announced.Tests. E2E runs with reduced motion by default;
e2e/motion.spec.tscovers the intro settling cleanly, per-element settling, emphasis after the intro, pointer vs keyboard popovers, export mid-intro and reduced motion;serve.spec.tscovers new-only reveal on live reload. The reduced-motion camera test now checks frame by frame instead of after a 20ms sleep (it flaked under load). Visual baselines regenerated on CI (Linux).