feat: add transaction progress steps component and documentation #196
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 visualizing multi-step transaction progress, along with supporting documentation, type definitions, and registry integration. The main focus is on the new
TxnProgressStepscomponent, which provides both horizontal and vertical layouts and supports various step states (pending, active, completed, error). The changes also include documentation for usage and customization, type definitions for transaction steps, and registry entries to make the component installable and discoverable.New Transaction Progress UI Component
TxnProgressStepsReact component incomponents/ui/murphy/Txn-Feedback/txn-progress-steps.tsx, supporting horizontal/vertical layouts and multiple step states for transaction workflows.components/txn-progress-steps-preview.tsx) showcasing the component's features, including step simulation and error handling.content/docs/onchainkit/Txn-Feedback/txn-progress-steps.mdx, including installation instructions, usage examples, props, and customization options.Type Definitions
types/transaction/index.ts, including theTxnStepinterface used by the component.Registry Integration
registry.json,public/r/txn-progress-steps.json, andregistry/components/txn-progress-steps.jsonfor discoverability and installation via the UI registry. [1] [2] [3]components/ui/murphy/index.tsxto includeTxnProgressStepsfor easier import throughout the codebase. [1] [2]Documentation Navigation
content/docs/onchainkit/meta.jsonto add "Txn-Feedback" to the documentation navigation for better discoverability.