Skip to content

feat: add commitment header copy actions#1026

Open
Florcitaq wants to merge 1 commit into
Commitlabs-Org:masterfrom
Florcitaq:commitment-header-actions-965
Open

feat: add commitment header copy actions#1026
Florcitaq wants to merge 1 commit into
Commitlabs-Org:masterfrom
Florcitaq:commitment-header-actions-965

Conversation

@Florcitaq

Copy link
Copy Markdown

Closes #965

Summary

  • adds copy-id and Stellar Explorer affordances to CommitmentDetailHeader
  • uses the sanitized buildExplorerUrl helper with noopener noreferrer external links
  • adds a transient copied confirmation plus a disabled fallback when Clipboard API is unavailable
  • documents the feature/API in docs/DETAIL_HEADER_COPY.md and links it from README

Tests

  • pnpm exec vitest run src/components/CommitmentDetailHeaderCopy.test.tsx ?
  • pnpm exec eslint src/components/Commitmentdetailheader.tsx src/components/CommitmentDetailHeaderCopy.test.tsx ?
  • npx tsc --noEmit --pretty false fails on existing unrelated syntax errors in src/app/commitments/overview/page.tsx, src/components/CreateCommitmentStepSelectType.tsx, and src/components/MarketplaceHeader/MarketplaceHeader.tsx before this change is type-checked globally.

@vercel

vercel Bot commented Jun 27, 2026

Copy link
Copy Markdown

@Florcitaq is attempting to deploy a commit to the 1nonly's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

Add a copy-to-clipboard and explorer-link affordance to Commitmentdetailheader

1 participant