Skip to content

Conversation

@vvm1004
Copy link

@vvm1004 vvm1004 commented Sep 4, 2025

This pull request introduces a new reusable UI component for displaying pending blockchain transactions, along with documentation and integration into the main UI exports. The main changes include the addition of the TxnPendingIndicator component, a preview/demo component, and comprehensive documentation for usage and customization.

New Pending Transaction Indicator Component

  • Added the TxnPendingIndicator component in components/ui/murphy/Txn-Feedback/txn-pending-indicator.tsx, which displays a global, collapsible indicator showing pending transactions, elapsed time, and supports cancellation and position customization.
  • Created a preview/demo component TxnPendingIndicatorPreview in components/txn-pending-indication-preview.tsx for testing and showcasing the indicator's features, including adding, batching, and clearing transactions, as well as changing its position.

Documentation and Integration

  • Added a detailed MDX documentation page (content/docs/onchainkit/Txn-Feedback/txn-pending-indicator.mdx) covering installation, usage, props, features, and customization of the pending transaction indicator.
  • Exported the new component from the main Murphy UI index (components/ui/murphy/index.tsx) for easy usage throughout the codebase. [1] [2]
  • Registered the new documentation section in the meta file to make it discoverable in the docs sidebar (content/docs/onchainkit/meta.json).

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