Skip to content

Conversation

@vvm1004
Copy link

@vvm1004 vvm1004 commented Aug 19, 2025

This pull request introduces a new reusable UI component for displaying a success dialog after a blockchain transaction completes. The changes include the implementation of the SuccessDialog modal, its integration into the component registry and exports, and comprehensive documentation for usage and customization. The dialog provides celebratory feedback, transaction details, and explorer integration, enhancing user experience for transaction workflows.

New Success Dialog Component

  • Implemented the SuccessDialog modal in components/ui/murphy/Txn-Feedback/success-dialog.tsx, featuring celebratory visuals, transaction details (amount, token, recipient), signature copy functionality, and explorer link integration.
  • Added a preview component SuccessDialogPreview for demonstration and documentation purposes.

Documentation and Registry Integration

  • Added a new documentation page content/docs/onchainkit/Txn-Feedback/success-dialog.mdx with usage examples, props table, feature highlights, and customization tips for the success dialog.
  • Registered the SuccessDialog in public/r/success-dialog.json, registry/components/success-dialog.json, and updated registry.json for discoverability and installation via the UI registry. [1] [2] [3]
  • Updated the documentation meta to include the new "Txn-Feedback" section.

Exports and Imports

  • Integrated SuccessDialog into the Murphy UI exports and imports for easy usage across the codebase (components/ui/murphy/index.tsx). [1] [2]

These changes collectively provide a polished, reusable, and well-documented modal for transaction success feedback in blockchain applications.

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