From 1add0bebec91480713f60897d7bb9425f5037369 Mon Sep 17 00:00:00 2001
From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com>
Date: Thu, 9 Jul 2026 14:56:00 -0400
Subject: [PATCH] feat(wallet): tuck manual URI under an "Advanced" disclosure
(Bitcoin Connect D5)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
When FEATURE_BITCOIN_CONNECT is on, "Connect wallet" is the primary path and the
raw Wallet Connect URI field collapses under an "Advanced — paste a connection
manually" disclosure (backup, de-emphasized). When the flag is off, the
controller forces the disclosure open and hides its summary, so the URI field
shows plainly exactly as before (no behavior change). Default-zap field stays
always visible. Adds a small token-based rotating-caret style for the summary.
Still LOCAL (flag ON for testing); not pushed, not deployed.
Co-Authored-By: Claude Opus 4.8
---
components/profile-modal.html | 29 +++++++++++------
css/tailwind.source.css | 19 ++++++++++++
js/ui/profileModal/ProfileWalletController.js | 31 ++++++++++++++-----
3 files changed, 62 insertions(+), 17 deletions(-)
diff --git a/components/profile-modal.html b/components/profile-modal.html
index e0932ba2..4a430a12 100644
--- a/components/profile-modal.html
+++ b/components/profile-modal.html
@@ -885,15 +885,26 @@