Skip to content

Feat/account copy qr - #695

Open
2xburnt wants to merge 3 commits into
ping-pub:masterfrom
burnt-labs:feat/account-copy-qr
Open

Feat/account copy qr#695
2xburnt wants to merge 3 commits into
ping-pub:masterfrom
burnt-labs:feat/account-copy-qr

Conversation

@2xburnt

@2xburnt 2xburnt commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

This pull request enhances the account details page by adding convenient copy-to-clipboard features for addresses, public keys, and transaction hashes, as well as a modal to display the account address as a QR code. It also improves the UI for better accessibility and user experience.

UI/UX Improvements:

Copy-to-Clipboard Functionality:

Accessibility Enhancements:

These changes collectively make it easier for users to interact with and share key account information, while also improving accessibility and the overall user experience.

2xburnt and others added 2 commits July 27, 2026 19:51
Let users copy account and transaction hashes and open a QR dialog for the account address.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cd7b57bf0f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

<table class="table w-full text-sm">
<tbody>
<template v-for="(value, key) in account" :key="key">
<template v-if="key === 'pub_key' && value && typeof value === 'object'">

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve non-single-key public keys

When the account uses a multisig public key, pub_key is an object with fields such as threshold and public_keys, rather than a scalar key. This branch intercepts every object-valued pub_key, so those fields are no longer rendered by DynamicComponent; the page instead displays a blank key and the copy action writes undefined. Restrict this layout to public-key types that actually contain key, and retain the generic rendering path for other key structures.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed — the specialized pubkey/copy layout now only applies when pub_key has a string key. Multisig and other structured keys fall through to DynamicComponent again.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant