-
Notifications
You must be signed in to change notification settings - Fork 400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DASH-634] Remove framer-motion package usage #5773
[DASH-634] Remove framer-motion package usage #5773
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5773 +/- ##
=======================================
Coverage 52.99% 52.99%
=======================================
Files 1102 1102
Lines 59107 59107
Branches 4809 4809
=======================================
Hits 31323 31323
Misses 27066 27066
Partials 718 718
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
Merge activity
|
## Problem solved Note: can't remove the package from package.json because chakra has peer dependency on it <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on refactoring the presentation of components by removing unnecessary animations and simplifying the structure of several components, specifically in the `GuideCard`, `EventsFeed`, and `PermissionsTable`. ### Detailed summary - Changed `guides.map` to use a more concise arrow function syntax. - Removed `index` prop from `GuideCardProps`. - Replaced `AnimatePresence` wrappers with simple `div` elements in `EventsFeed` and `LatestEvents`. - Simplified animation logic in `EventsFeedItem` and `PermissionsItem` by removing motion properties and replacing them with simple list item (`li`) tags. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
56c1aa3
to
4d89116
Compare
Problem solved
Note: can't remove the package from package.json because chakra has peer dependency on it
PR-Codex overview
This PR focuses on refactoring components to simplify the structure and improve readability by removing unnecessary animations and making adjustments to props.
Detailed summary
guides.map
to use a more concise arrow function syntax inguide-showcase.tsx
.index
prop fromGuideCard
interface.AnimatePresence
with a simple<div>
inEventsFeed
,LatestEvents
, andPermissionsTable
.SimpleGrid
components by removing motion properties, usingas="li"
instead.