-
Notifications
You must be signed in to change notification settings - Fork 621
[TOOl-3590] Dashboard: Remove unused components and stories #6406
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
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 #6406 +/- ##
=======================================
Coverage 54.73% 54.73%
=======================================
Files 874 874
Lines 54620 54620
Branches 3722 3722
=======================================
Hits 29895 29895
Misses 24630 24630
Partials 95 95
|
size-limit report 📦
|
Merge activity
|
<!-- start pr-codex -->
## PR-Codex overview
This PR focuses on removing unused components and simplifying the `CouponCard` functionality by streamlining the handling of coupon applications and eliminating the modal for sharing free wallets.
### Detailed summary
- Deleted multiple files related to `share-free-wallets-modal` and analytics components.
- Removed the dynamic import of `LazyShareFreeWalletsModal` in `CouponCard.tsx`.
- Simplified the `onCouponApplied` function signature by removing the `isFreeWalletsCoupon` parameter.
- Eliminated state management for `showShareModal` in `CouponSection`.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
7e914a9 to
b5e02a4
Compare

PR-Codex overview
This PR focuses on removing several components related to the "Share Free Wallets" feature and refactoring the
CouponCardcomponent to simplify its functionality by eliminating unnecessary parameters and state management.Detailed summary
LazyShareFreeWalletsModalinCouponCard.tsx.onCouponAppliedfunction signature by removing theisFreeWalletsCouponparameter.showShareModal.CouponSectioncomponent to remove modal handling logic.