Add Framer Motion animations to core UI components#191
Draft
AdamJ wants to merge 1 commit into
Draft
Conversation
Adds targeted motion to app-layer components where transitions were previously instant: task list add/delete/reorder, active task scale, PWA update/install prompt slide in/out, and a layoutId-based sliding indicator on the mobile nav. Radix-driven overlay animations are untouched. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Gr6SNbo7X9KakMsNrdst8
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
Integrate Framer Motion animations across key app components to enhance user experience with smooth transitions and visual feedback. This includes animated task list operations, active task indicators, PWA prompts, and mobile navigation.
Type of Change
Related Issue
Closes #
Changes Made
Dependencies
motion(v12.40.0) topackage.jsonComponent Updates
src/components/InstallPrompt.tsx
animate-inwith Framer MotionAnimatePresenceandmotion.divsrc/components/PwaUpdatePrompt.tsx
AnimatePresencewithmotion.divsrc/components/MobileNav.tsx
motionimport for layout animationsmotion.divusinglayoutId="mobile-nav-active"src/components/TaskItem.tsx
MotionCardusingmotion.create(Card)src/pages/Index.tsx
AnimatePresencewith per-itemmotion.divCode Quality
Checklist
Documentation
CHANGELOG.mdupdated accordinglyGeneral
mainpnpm test,pnpm lint, andpnpm buildNotes for Reviewers
All animations use consistent easing (
easeOut) and durations (0.15–0.25s) for a cohesive feel. The changes are non-breaking and purely additive—existing functionality remains unchanged. Motion components gracefully degrade if animations are disabled at the OS level viaprefers-reduced-motion.https://claude.ai/code/session_013Gr6SNbo7X9KakMsNrdst8