Skip to content

[enhancement]: a "Copy link" button for a proven transaction #22

Closed

Description

@samjay8

Context

When the browser verifier proves a transaction, the page address becomes #tx=<hash>, and opening that address proves it again. The only way to share it today is to copy the address bar.

Scope

  • In site/app.js, next to the "Download this proof" link, add a Copy link button that copies location.href with navigator.clipboard.writeText.
  • Confirm in place: the button reads "Copied" for two seconds, announced to screen readers (aria-live).
  • If the clipboard is unavailable (an insecure context or a denied permission), show the link in a read-only, pre-selected text field instead of failing silently.

Out of scope: Short links or any server.

Done when

  • Proving a transaction shows the button; clicking it copies the #tx= link.
  • It works by keyboard, and the confirmation is announced.
  • The fallback appears when navigator.clipboard is missing. Screenshots of both in the PR.

Comment to be assigned before starting. Read CONTRIBUTING.md for the checks this repository runs.

Activity

  1. added
    enhancement
    good first issue
    complexity:trivial
    Stellar Wave
    area/site
    on Oct 26, 2026
  2. sparkysolutions10-pixel commented on Oct 26, 2026

    @sparkysolutions10-pixel
    Contributor

    Hi @samjay8, I would like to work on this issue. I will add the "Copy link" button in site/app.js next to the proof download link, copy location.href via navigator.clipboard.writeText with a 2-second "Copied" aria-live confirmation, and include a read-only selectable fallback for insecure/denied contexts. Could you please assign this to me? Thanks!

  3. samjay8 commented on Oct 29, 2026

    @samjay8
    ContributorAuthor

    @sparkysolutions10-pixel assigned to you, go ahead. Open a PR that says Closes #22; once CI and the checks pass it will be reviewed and merged.

  4. added 2 commits that reference this issue on Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Stellar Wavearea/sitecomplexity:trivialenhancementgood first issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions