-
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
[SDK] Feature: Allow hiding the link profiles button #5799
[SDK] Feature: Allow hiding the link profiles button #5799
Conversation
🦋 Changeset detectedLatest commit: 90e2b97 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
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. |
size-limit report 📦
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5799 +/- ##
==========================================
+ Coverage 53.01% 53.20% +0.19%
==========================================
Files 1101 1101
Lines 59096 59095 -1
Branches 4813 4816 +3
==========================================
+ Hits 31329 31444 +115
+ Misses 27049 26934 -115
+ Partials 718 717 -1
*This pull request uses carry forward flags. Click here to find out more.
|
Merge activity
|
## Problem solved Short description of the bug fixed or feature added <!-- start pr-codex --> --- ## PR-Codex overview This PR introduces a feature to hide the "Linked Profiles" button in the `ConnectButton` Details Modal based on the `allowLinkingProfiles` option. It also includes tests for the `ManageWalletScreen` to ensure the button's visibility behaves as expected. ### Detailed summary - Added `manageWallet` option in `ConnectButtonProps` to configure wallet management. - Updated `ManageWalletScreen` to conditionally render the linked profiles button based on `allowLinkingProfiles`. - Created tests for `ManageWalletScreen` to verify button visibility based on `allowLinkingProfiles` settings. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
7003766
to
90e2b97
Compare
Problem solved
Short description of the bug fixed or feature added
PR-Codex overview
This PR introduces the ability to hide the "Linked Profiles" button in the
ConnectButton
Details Modal by adding a configuration option. It also updates theManageWalletScreen
to reflect this change and includes tests to ensure the functionality works as expected.Detailed summary
allowLinkingProfiles
option tomanageWallet
inConnectButtonProps.ts
.ManageWalletScreen
to conditionally render the linked profiles button based onallowLinkingProfiles
.ManageWalletScreen
to verify button visibility based onallowLinkingProfiles
.