feat: add SuccessDialog component for transaction completion #192
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
SuccessDialogmodal, 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
SuccessDialogmodal incomponents/ui/murphy/Txn-Feedback/success-dialog.tsx, featuring celebratory visuals, transaction details (amount, token, recipient), signature copy functionality, and explorer link integration.SuccessDialogPreviewfor demonstration and documentation purposes.Documentation and Registry Integration
content/docs/onchainkit/Txn-Feedback/success-dialog.mdxwith usage examples, props table, feature highlights, and customization tips for the success dialog.SuccessDialoginpublic/r/success-dialog.json,registry/components/success-dialog.json, and updatedregistry.jsonfor discoverability and installation via the UI registry. [1] [2] [3]Exports and Imports
SuccessDialoginto 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.