Closed Hemanthghs closed 2 weeks ago
The latest updates on your projects. Learn more about Vercel for Git βοΈ
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
resolute | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Sep 2, 2024 10:23am |
The changes involve enhancements across multiple components and utilities within the frontend application. Key modifications include the addition of new props, such as chainName
, to improve transaction status displays, the introduction of new components for searching transactions, and the implementation of pagination in transaction history. Additionally, new utility functions and constants related to transaction handling and error messaging have been added, expanding the application's capabilities for managing blockchain transactions.
Files | Change Summary |
---|---|
frontend/src/app/(routes)/cosmwasm/components/tx-status/DialogTxExecuteStatus.tsx frontend/src/app/(routes)/cosmwasm/components/tx-status/DialogTxInstantiateStatus.tsx frontend/src/app/(routes)/cosmwasm/components/tx-status/DialogTxUploadCodeStatus.tsx |
Enhanced data retrieval from getChainInfo to include chainName , which is passed to the TxnStatus component for improved transaction status display. |
frontend/src/app/(routes)/transactions/history/SearchTransaction.tsx |
Introduced a new component for searching transactions by hash, managing state and displaying results or errors based on user input. |
frontend/src/app/(routes)/transactions/history/[network]/components/SearchTransactionHash.tsx |
Added an optional handleClearSearch prop for clearing search input, enhancing user experience. |
frontend/src/app/(routes)/transactions/history/[network]/components/Transaction.tsx |
Added isSearchPage prop for conditional rendering, expanded destructuring for improved URL handling. |
frontend/src/app/(routes)/transactions/history/[network]/components/TransactionCard.tsx |
Removed getTypeURLName import, replaced with formattedMsgType , and improved styling for user interaction. |
frontend/src/app/(routes)/transactions/history/[network]/components/TransactionHeader.tsx |
Updated props to include navigation-related properties and improved rendering logic for the "Go back" button and Mintscan link. |
frontend/src/app/(routes)/transactions/history/[network]/components/TransactionHistoryDashboard.tsx |
Introduced pagination functionality to manage transaction history display, including loading states and pagination controls. |
frontend/src/app/(routes)/transactions/history/loaders/TxnsLoading.tsx |
Created a new loading component for transaction data, featuring animated placeholders for better user feedback. |
frontend/src/utils/constants.ts |
Added new constants for message types related to fee granting functionality. |
frontend/src/utils/errors.ts |
Introduced a new error constant for transaction retrieval failures. |
frontend/src/utils/util.ts |
Added a new utility function for generating transaction URLs based on chain name and hash. |
frontend/src/store/features/recent-transactions/recentTransactionsService.tsx |
Introduced a new function for fetching transactions across any chain and updated existing functions for consistency. |
frontend/src/store/features/recent-transactions/recentTransactionsSlice.tsx |
Added a new thunk for fetching transactions from any chain, enhancing error handling and state management. |
frontend/src/txns/authz/revoke.ts |
Changed visibility of msgAuthzRevokeTypeUrl constant to be exported. |
frontend/src/txns/feegrant/revoke.ts |
Changed visibility of revokeTypeUrl constant to be exported. |
frontend/src/components/NewTxnMsg.tsx |
Enhanced message rendering logic to accommodate new message types for transaction handling. |
sequenceDiagram
participant User
participant SearchTransaction
participant TransactionHistoryDashboard
participant TxnsLoading
User->>SearchTransaction: Input transaction hash
SearchTransaction->>TxnsLoading: Show loading state
TxnsLoading-->>SearchTransaction: Loading complete
SearchTransaction->>TransactionHistoryDashboard: Fetch transaction details
TransactionHistoryDashboard-->>User: Display transaction details
π° In a world of blocks and chains,
I hop through data, never in vain.
With new paths to explore,
Transactions galore!
Hooray for changes, letβs celebrate,
A bouncy future, oh, itβs great! π
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
@coderabbitai review
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
Style
Chores