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 | Nov 12, 2024 5:17am |
The pull request introduces several enhancements across multiple components related to multisig transaction handling. Key modifications include the addition of new optional props (disableBroadcast
and isOverview
) to several components, adjustments to transaction sorting logic, and the integration of transaction count management. The signTransaction
function is updated to accommodate a new parameter for managing transaction sequences. These changes collectively improve the control flow and user interface for handling transactions in the multisig context.
File | Change Summary |
---|---|
frontend/src/app/(routes)/multisig/components/common/BroadCastTxn.tsx |
Added disableBroadcast and isOverview props to BroadCastTxnProps . Updated btnOnClick logic to navigate based on isOverview . |
frontend/src/app/(routes)/multisig/components/common/SignTxn.tsx |
Introduced isOverview prop in SignTxnProps . Added transaction count retrieval using useAppSelector . Updated signTheTx to include toBeBroadcastedCount . |
frontend/src/app/(routes)/multisig/components/common/TxnsCard.tsx |
Added disableBroadcast and isOverview props. Updated rendering logic for transaction handling. Modified confirmation dialog message. |
frontend/src/app/(routes)/multisig/components/multisig-account/DialogConfirmDelete.tsx |
Centered description text by adding text-center class. |
frontend/src/app/(routes)/multisig/components/multisig-account/Transactions.tsx |
Enhanced transaction sorting and filtering. Introduced sortedTxns array for improved rendering. Added disableBroadcast prop to TxnsCard . |
frontend/src/app/(routes)/multisig/components/multisig-dashboard/RecentTransactions.tsx |
Updated button visibility logic based on transaction count. Added isOverview prop to TxnsCard . |
frontend/src/app/(routes)/multisig/utils/multisigSigning.ts |
Updated signTransaction function to include toBeBroadcastedCount parameter for sequence management. |
frontend/src/components/common/CustomButton.tsx |
Enhanced button styling based on btnDisabled prop. |
frontend/src/store/features/multisig/multisigSlice.ts |
Modified signTransaction thunk to include toBeBroadcastedCount parameter. |
frontend/src/types/multisig.d.ts |
Added signed_at property to Txn interface for tracking signing timestamps. |
Objective | Addressed | Explanation |
---|---|---|
Add offchain sequence management for multisig accounts (#1448) | β |
BroadCastTxn
component's changes regarding the isOverview
prop are related to the SignTxn
component, which also incorporates the isOverview
prop, indicating a shared functionality in handling transaction states.π In the land of multisig, where transactions flow,
New props and logic help us to grow.
With buttons that guide and counts that align,
Each click brings us closer, all in good time.
So hop along, friends, letβs broadcast with glee,
For the future of signing is bright as can be! π
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?
Closes #1448
Summary by CodeRabbit
Release Notes
New Features
disableBroadcast
andisOverview
in various transaction components, enhancing user control and navigation.Transactions
component for better organization.signed_at
property in the transaction interface.Bug Fixes
CustomButton
component to provide clearer feedback when disabled.User Interface Improvements
RecentTransactions
to show only when multiple transactions exist.