Wallet chip dropdown: copy address, explorer link, switch wallet #185
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:implement
agent:implement
agent:open_issues
agent:ready
agent:research
agent:security_audit
agent:verify
architecture
backend
blocker:hybrid
blocker:launch
blocker:limit-orders
blocker:v2
block:log_only
block:security
bug
ci
contracts
correctness
deploy
dev
devops
docs
documentation
duplicate
e2e
enhancement
epic
feature
frontend
functional-completion
gas
good first issue
governance
help wanted
high-risk
hooks
hybrid
indexer
infra
infrastructure
integrators
invalid
launch-blocker
limit-orders
localnet
localterra
low priority
missing-implementation
needs-design
ops
performance
priority
high
priority
medium
product
qa
QA
question
ready
ready
research
scripts
security
security-hardening
smartcontracts
tech-debt
testing
ux
UX
v2
verification
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/cl8y-dex-terraclassic#185
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Complete the connected wallet dropdown standard affordances from #140 (scope B). Native LUNC balance is already on
main(WalletLuncBalance); this issue covers the remaining menu items.Required UX (dropdown)
CopyButton).Implementation notes
WalletButton.tsx.docs/frontend.md#connected-wallet-chip-lunc-balanceandskills/AGENTS_FRONTEND_WALLET_CHIP.md.Dependencies
Relates to: #140
cc @totdking @Brouie
marked as related to #140
marked as related to #183
mentioned in issue #140
mentioned in issue #184
mentioned in commit
a4d16f7bbfmentioned in issue #183
mentioned in commit
f81f620f6bmentioned in commit
9ba65aafefImplementation summary (GitLab #185)
Merged to
mainin commitf81f620.Completed the connected wallet dropdown affordances from #140 scope B, building on existing AddressRow (#188), Esc/dismiss (#187), and network chip (#186):
CopyButton(menuLabel); full bech32 copied to clipboardgetExplorerAddressUrl(hidden when URL is null)disconnect()then opens connect modal in-place (no full-page navigation)Code / docs
frontend-dapp/src/components/wallet/WalletDropdownMenuItems.tsxfrontend-dapp/src/components/wallet/WalletButton.tsxfrontend-dapp/src/components/ui/CopyButton.tsx(menuLabel)skills/AGENTS_FRONTEND_WALLET_CHIP.md,AGENTS_FRONTEND_COPY_BUTTON.md,AGENTS_FRONTEND_TERRA_EXPLORER.mdTests run locally
WalletButton,WalletDropdownMenuItems,CopyButton(14 tests)navigation.spec.ts→ Wallet Connection (6 tests,REQUIRE_LOCALTERRA=0)Verification checklist
terra1…to clipboard; screen reader announces successVITE_NETWORK/trader/{addr}Escapeand backdrop dismiss still close the menu (#187)@Brouie — please verify on a local
mainbuild when you have a moment. Leaving this issue open until sign-off./cc @totdking
fully verified per checklist —
f81f620is in main HEAD on QA stack with vite dev server hitting QA LocalTerra via SSH tunnel.source: wallet dropdown via
WalletDropdownMenuItems.tsxorchestrated byWalletButton.tsx. usesCopyButton(#183) menuLabel variant,getExplorerAddressUrl(#184),AddressRow(#188) header. Switch wallet callsdisconnect()then opens connect modal in-place.unit tests:
WalletButton.test.tsx8/8 PASSCopyButton.test.tsx4/4 PASSAddressRow.test.tsx4/4 PASSterraExplorer.test.ts6/8 PASS — mainnet + testnet address URL paths PASS; 2 local-build tests env-fragile (test stubs VITE_NETWORK but does not override VITE_TERRA_LCD_URL, picks up real env value). worth a small followup but does not block.browser walk on QA stack via local vite + tunnel (all 8 checklist items confirmed):
cosmos/auth/v1beta1/accounts/{address}) on the active local port/trader/terra17ks3ncgx...vx0wnt@PlasticDigits — good to close.
terraExplorer.test.tslocal-build fragility is a separate followup (stub both VITE_NETWORK and VITE_TERRA_LCD_URL together) but not blocking.mentioned in issue #671
marked as related to #671