feat: add transaction feedback toast component with simulation and document #193
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 toast component for displaying real-time transaction status feedback in the UI. The main addition is the
TxnFeedbackToastcomponent, which provides visual notifications for each step of a transaction, including loading, success, and error states. The component is documented and registered for use in the design system, and supporting types have been added for type safety and extensibility.New Transaction Feedback Toast Component
TxnFeedbackToastcomponent incomponents/ui/murphy/Txn-Feedback/txn-feedback-toast.tsx, which displays transaction status updates (preparing, signing, sending, confirming, success, error) with appropriate icons, colors, and actions like retry or copy signature.components/txn-feedback-toast-preview.tsx) to showcase the toast and its various states, including controls for simulating transaction flows.types/transaction/index.tsxto ensure strong typing and future extensibility.Documentation and Registry Integration
content/docs/onchainkit/Txn-Feedback/txn-feedback-toast.mdx) with usage examples, installation instructions, and prop tables for the new toast component.public/r/txn-feedback-toast.json,registry/components/txn-feedback-toast.json, andregistry.json) for discoverability and installation. [1] [2] [3]components/ui/murphy/index.tsxto include the new toast component, making it available for import throughout the project. [1] [2]Meta and Navigation Updates