feat(vibenet): add copy-address button to account dropdown rows - #117
Open
montycheese wants to merge 1 commit into
Open
feat(vibenet): add copy-address button to account dropdown rows#117montycheese wants to merge 1 commit into
montycheese wants to merge 1 commit into
Conversation
Collaborator
🟡 Heimdall Review Status
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
montycheese
requested review from
danyalprout,
mbeasley-cb and
mbeutt-cb
and removed request for
mbeasley-cb
September 1, 2026 01:12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a click-to-copy address button to each row of the account dropdown (
AccountSwitcher) in the vibenet section. The button sits to the left of the existing Details (info) icon button.Changes
CopyAddressButtoninapp/vibenet/demos/_shared/AccountSwitcher.tsx: an icon-only button that copies the row'saddressvianavigator.clipboard.writeText, then swaps its clipboard glyph to a green check for 2s. Uses the samemorphiconsMorphIconpattern as theinternal-explorerCopyButton, styled to match the adjacent Details button.onDetails/onDeletewere provided), since every account has an address to copy. Details/Delete still render only when their callbacks are supplied.Screenshots
The copy-address button (overlapping-squares icon) now appears to the left of the Details and Delete icons in each account row.
Account dropdown open:
Close-up of a row's action buttons:
Testing
tsc --noEmitreports no errors for the file.internal-explorerCopyButtonpattern.