Repository navigation
Springs: .snappy for pull-to-reset and the XP thumb, .spring for the book hint - #258
Merged
Merged
Conversation
github-actions
Bot
force-pushed
the
claude/swiftui-inspired-animations-gx49h3
branch
2 times, most recently
from
October 25, 2026 21:52
43cc4e9 to
7a59192
Compare
…book hint - Pull-to-reset: the pill follows the finger exactly while pulling (no 0.2s lag behind the drag) and snaps back on SwiftUI's .snappy spring when let go - About card XP timeline: the thumb slides to the picked year on .snappy - Book pager hint: slides in and out on the plain .spring (no overshoot) Category chips stay as they are: they only fade colours, which a spring doesn't change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01338GnpBVYaeSWchNovce1E
github-actions
Bot
force-pushed
the
claude/swiftui-inspired-animations-gx49h3
branch
from
October 25, 2026 22:33
7a59192 to
72aef5f
Compare
darkmastermindz
marked this pull request as ready for review
October 26, 2026 00:26
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.
Summary
Follow-up to #256. It puts the two spring presets that #256 defined but didn't use,
.snappyand.spring, where SwiftUI would use them: quick, direct feedback on controls gets.snappy, and plain movement gets.spring. Pull-to-reset also stops trailing behind the finger while you drag.Related Issue
Follow-up to #256.
Changes Made
Animation BOM
.snappyis SwiftUI's preset with duration 0.5 and bounce 0.15, settling in 0.73s..springis the classic default, with response 0.55 and no bounce, settling in 0.82s.main)PullToRefresh.vuetransform 0.2s easeapplied even mid-drag, so the pill trailed about 0.2s behind the fingeris-pullingclass)PullToRefresh.vuetransform 0.2s ease.snappyspring: a quick return with a hint of overshoot.opacity 0.2s easeis unchanged.linear():cubic-bezier(0.2, 0.9, 0.3, 1.05)AboutCard.vueleft 0.2s ease.snappyspringtransition: none). Nolinear():cubic-bezier(0.2, 0.9, 0.3, 1.05)BookPager.vuetransform 0.4s ease.spring(no overshoot).opacity 0.4s easeis unchanged.transition: none). Nolinear():cubic-bezier(0.25, 0.1, 0.25, 1)AboutCard.vuebackground-colorandcolorover0.15s easeAboutCard.vueHow to Test
npm test: all 272 tests pass.npx nuxt build: the build passes.npm run devon a phone, or with touch emulation:I checked rows 1 and 2 on an emulated Pixel 7. Mid-drag the pill sat exactly at the pull distance with no transform transition, and on release it went back on the
.snappytransition.Additional Notes
The coin rim from #257 is not part of this PR: it was dropped because its pattern strobed while the coin spun.
Generated by Claude Code