-
Notifications
You must be signed in to change notification settings - Fork 543
Remove duplicated in-app-wallet and account-abstraction settings UI from /connect layout #5748
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 #5748 +/- ##
=======================================
Coverage 53.01% 53.01%
=======================================
Files 1101 1101
Lines 59079 59079
Branches 4806 4806
=======================================
Hits 31318 31318
Misses 27043 27043
Partials 718 718
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
fd6fa64
to
f1cf2fa
Compare
b5a841c
to
9e731be
Compare
9e731be
to
cf93956
Compare
Merge activity
|
…rom /connect layout (#5748) ## Problem solved Fixes: DASH-630 In-App wallet and Account abstraction settings are already available in project settings layout <!-- start pr-codex --> --- ## PR-Codex overview This PR primarily focuses on refactoring the `AccountAbstractionPage` and `SmartWallets` components by removing the `twAccount` property and associated logic, along with deleting unused configuration files. It streamlines the code and improves maintainability. ### Detailed summary - Deleted files: `page.tsx` and `loading.tsx` in `connect/in-app-wallets/config`. - Removed `twAccount` property from `AccountAbstractionPage` and `SmartWallets` components. - Updated `AccountAbstractionPage` to only fetch `team` and `project` data. - Removed `getValidAccount` function call. - Deleted `Sponsorship Policies` tab and related logic from `SmartWallets`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
cf93956
to
b173ad2
Compare
Problem solved
Fixes: DASH-630
In-App wallet and Account abstraction settings are already available in project settings layout
PR-Codex overview
This PR primarily focuses on removing the
Configuration
section from the in-app wallets feature and refactoring theAccountAbstractionPage
andSmartWallets
components to eliminate the dependency onAccount
andApiKeyService
, streamlining the code.Detailed summary
page.tsx
andloading.tsx
fromconnect/in-app-wallets/config
.Configuration
entry from the routing setup.twAccount
fromAccountAbstractionPage
props.page.tsx
by removinggetValidAccount
.twAccount
fromSmartWalletsProps
interface and its usage inSmartWallets
.Sponsorship Policies
tab fromSmartWallets
component.