Skip to content

Conversation

@vvm1004
Copy link

@vvm1004 vvm1004 commented Aug 19, 2025

This pull request introduces a new reusable UI component for linking directly to Solana transaction details on the Solana Explorer. The TxnExplorerLink button is now available for use, and the documentation and registry have been updated to support and showcase this component.

New Component Addition

  • Added TxnExplorerLink React component in components/ui/murphy/Txn-Feedback/txn-explorer-link.tsx, providing a customizable button that opens a transaction on Solana Explorer in a new tab. It supports cluster selection, button variants, sizes, icons, and custom content.

Documentation and Registry Integration

  • Created a comprehensive documentation page at content/docs/onchainkit/Txn-Feedback/txn-explorer-link.mdx with usage examples, props table, customization guides, and explorer feature explanations.
  • Registered the new block in public/r/txn-explorer-link.json, registry/components/txn-explorer-link.json, and added it to the main registry in registry.json for discoverability and installation. [1] [2] [3]
  • Updated the meta documentation index in content/docs/onchainkit/meta.json to include the new "Txn-Feedback" section.

Exports and Imports

  • Exported TxnExplorerLink from the Murphy UI index (components/ui/murphy/index.tsx) for easy import throughout the codebase. [1] [2]

These changes make it simple for developers to add direct Solana Explorer links for transaction feedback in their applications.

@vvm1004 vvm1004 force-pushed the feat/Txn-Explorer-Link branch from 9ae9ede to 058ac4a Compare August 19, 2025 08:51
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