Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Integrate transaction builder and update routing #1404

Merged
merged 6 commits into from
Sep 2, 2024

Conversation

Hemanthghs
Copy link
Collaborator

@Hemanthghs Hemanthghs commented Aug 28, 2024

Summary by CodeRabbit

  • New Features

    • Introduced a transaction builder interface for multisig transactions.
    • Added a dedicated page for viewing transaction history.
    • Enhanced routing for transaction-related views, including builder and history paths.
    • Implemented loading and error components for better user feedback during transactions.
  • Bug Fixes

    • Updated navigation paths for the "Transactions" menu item to improve routing accuracy.
  • Documentation

    • Added a description for the transaction builder functionality to clarify its purpose.

Copy link

vercel bot commented Aug 28, 2024

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 11:38am

Copy link
Contributor

coderabbitai bot commented Aug 28, 2024

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

The changes introduce enhancements to the transaction building and history features within a blockchain application. Key modifications include the addition of a isMultisig prop in various components to support multisignature transactions, updates to asset retrieval logic, and the introduction of new hooks and components for better routing and state management. The overall structure is refined to improve user navigation and functionality across transaction-related features.

Changes

Files Change Summary
frontend/src/app/(routes)/multisig/[network]/[address]/[create-txn]/PageTxnBuilder.tsx Added isMultisig prop to PageTxnBuilderEntry component.
frontend/src/app/(routes)/multisig/components/multisig-account/MultisigAccount.tsx Modified getAllAssets function call to include a third parameter, true.
frontend/src/app/(routes)/transactions/builder/[network]/PageMultiops.tsx Introduced PageMultiops component for transaction building, managing state and network validation.
frontend/src/app/(routes)/transactions/builder/[network]/page.tsx New component for multi-operations page, integrating PageMultiops with network parameter.
frontend/src/app/(routes)/transactions/builder/page.tsx New "Transaction Builder" page component managing wallet connectivity and network selection.
frontend/src/app/(routes)/transactions/history/[network]/[hash]/page.tsx New component for displaying transaction details based on URL parameters.
frontend/src/app/(routes)/transactions/history/[network]/components/History.tsx New History component to display transaction history based on network validation.
frontend/src/app/(routes)/transactions/history/[network]/page.tsx New wallet connection page component for transaction history route.
frontend/src/app/(routes)/transactions/history/error.tsx Introduced a simple error component for error handling.
frontend/src/app/(routes)/transactions/history/loading.tsx New loading component for displaying loading state.
frontend/src/app/(routes)/transactions/history/page.tsx New component for transaction history page managing wallet connectivity and network selection.
frontend/src/components/main-layout/SideMenu.tsx Simplified Tooltip component's title prop and updated href attributes for Link components.
frontend/src/components/select-network/DialogSelectNetwork.tsx Removed useEffect for route changes, introduced useHandleRouteChange custom hook.
frontend/src/components/txn-builder/TxnBuilder.tsx Added isMultisig prop to TxnBuilder component's props.
frontend/src/components/txn-builder/components/SelectMessage.tsx Added isMultisig prop to SelectMessage component.
frontend/src/components/txn-builder/messages/SendForm.tsx Updated SendFormProps interface to include isMultisig, modified getAllAssets function call.
frontend/src/constants/sidebar-options.ts Updated "Transactions" menu item path from /transactions to /transactions/history.
frontend/src/custom-hooks/multisig/useGetAllAssets.ts Added isMultisig parameter to getAllAssets function for dynamic balance retrieval.
frontend/src/custom-hooks/routing/useHandleRouteChange.ts New custom hook for managing network selection based on pathname.
frontend/src/utils/constants.ts Introduced TXN_BUILDER_DESCRIPTION constant for transaction builder functionality.
frontend/src/utils/util.ts Enhanced routing logic in allNetworksLink and changeNetworkRoute functions for transaction-related views.

Poem

🐇 In the meadow where transactions bloom,
A multisig dance dispels the gloom.
With links that lead to history's tale,
Our rabbit friends will never fail!
Hopping through the code so bright,
Building dreams in digital light! ✨


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?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.
Early access features: disabled

We are currently testing the following features in early access:

  • Anthropic claude-3-5-sonnet for code reviews: Anthropic claims that the new Claude model has stronger code understanding and code generation capabilities than their previous models. Note: Our default code review model was also updated late last week. Please compare the quality of the reviews between the two models by toggling the early access feature.

Note:

  • You can enable or disable early access features from the CodeRabbit UI or by updating the CodeRabbit configuration file.
  • Please join our Discord Community to provide feedback and report issues on the discussion post.

@Hemanthghs
Copy link
Collaborator Author

@coderabbitai review

Copy link
Contributor

coderabbitai bot commented Aug 29, 2024

Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

Outside diff range, codebase verification and nitpick comments (1)
frontend/src/components/txn-builder/components/SelectMessage.tsx (1)

Missing isMultisig Prop in SelectMessage Component Usage

The isMultisig prop is not included in the SelectMessage component usage within TxnBuilder.tsx. Ensure that this prop is added to maintain consistent functionality.

  • frontend/src/components/txn-builder/TxnBuilder.tsx: Add the isMultisig prop to the SelectMessage component.
Analysis chain

Line range hint 20-30: LGTM! But verify the prop usage in the codebase.

The component is correctly implemented. However, ensure that all instances of SelectMessage include the new prop isMultisig.

The code changes are approved.

Run the following script to verify the prop usage:

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify all instances of `SelectMessage` include the new prop `isMultisig`.

# Test: Search for the component usage. Expect: Only occurrences of the new prop.
rg --type tsx -A 5 $'<SelectMessage'

Length of output: 65


Script:

#!/bin/bash
# Description: Verify all instances of `SelectMessage` include the new prop `isMultisig`.

# Test: Search for the component usage without specifying file type. Expect: Only occurrences of the new prop.
rg -A 5 '<SelectMessage'

Length of output: 533


Script:

#!/bin/bash
# Description: Verify all instances of `SelectMessage` include the new prop `isMultisig` with more context lines.

# Test: Search for the component usage with increased context lines. Expect: Only occurrences of the new prop.
rg -A 10 '<SelectMessage'

Length of output: 925

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 6cfc769 and 6d697b4.

Files selected for processing (21)
  • frontend/src/app/(routes)/multisig/[network]/[address]/[create-txn]/PageTxnBuilder.tsx (1 hunks)
  • frontend/src/app/(routes)/multisig/components/multisig-account/MultisigAccount.tsx (1 hunks)
  • frontend/src/app/(routes)/transactions/builder/[network]/PageMultiops.tsx (1 hunks)
  • frontend/src/app/(routes)/transactions/builder/[network]/page.tsx (1 hunks)
  • frontend/src/app/(routes)/transactions/builder/page.tsx (1 hunks)
  • frontend/src/app/(routes)/transactions/history/[network]/[hash]/page.tsx (1 hunks)
  • frontend/src/app/(routes)/transactions/history/[network]/components/History.tsx (1 hunks)
  • frontend/src/app/(routes)/transactions/history/[network]/page.tsx (1 hunks)
  • frontend/src/app/(routes)/transactions/history/error.tsx (1 hunks)
  • frontend/src/app/(routes)/transactions/history/loading.tsx (1 hunks)
  • frontend/src/app/(routes)/transactions/history/page.tsx (1 hunks)
  • frontend/src/components/main-layout/SideMenu.tsx (4 hunks)
  • frontend/src/components/select-network/DialogSelectNetwork.tsx (2 hunks)
  • frontend/src/components/txn-builder/TxnBuilder.tsx (2 hunks)
  • frontend/src/components/txn-builder/components/SelectMessage.tsx (3 hunks)
  • frontend/src/components/txn-builder/messages/SendForm.tsx (1 hunks)
  • frontend/src/constants/sidebar-options.ts (1 hunks)
  • frontend/src/custom-hooks/multisig/useGetAllAssets.ts (1 hunks)
  • frontend/src/custom-hooks/routing/useHandleRouteChange.ts (1 hunks)
  • frontend/src/utils/constants.ts (1 hunks)
  • frontend/src/utils/util.ts (2 hunks)
Files skipped from review due to trivial changes (2)
  • frontend/src/app/(routes)/transactions/history/loading.tsx
  • frontend/src/utils/constants.ts
Additional context used
Learnings (7)
frontend/src/app/(routes)/transactions/builder/[network]/page.tsx (1)
Learnt from: Hemanthghs
PR: vitwit/resolute#901
File: frontend/src/app/(routes)/staking/[network]/page.tsx:5-17
Timestamp: 2023-12-01T06:16:56.319Z
Learning: The file name `page.tsx` is a Next.js convention and is necessary for the framework to recognize the file as a page component. The suggestion to rename the component was about the exported component's name, not the file name.
frontend/src/app/(routes)/transactions/history/[network]/[hash]/page.tsx (1)
Learnt from: Hemanthghs
PR: vitwit/resolute#901
File: frontend/src/app/(routes)/staking/[network]/page.tsx:5-17
Timestamp: 2023-12-01T06:16:56.319Z
Learning: The file name `page.tsx` is a Next.js convention and is necessary for the framework to recognize the file as a page component. The suggestion to rename the component was about the exported component's name, not the file name.
frontend/src/app/(routes)/transactions/history/[network]/page.tsx (1)
Learnt from: Hemanthghs
PR: vitwit/resolute#901
File: frontend/src/app/(routes)/staking/[network]/page.tsx:5-17
Timestamp: 2023-12-01T06:16:56.319Z
Learning: The file name `page.tsx` is a Next.js convention and is necessary for the framework to recognize the file as a page component. The suggestion to rename the component was about the exported component's name, not the file name.
frontend/src/app/(routes)/transactions/history/page.tsx (1)
Learnt from: Hemanthghs
PR: vitwit/resolute#901
File: frontend/src/app/(routes)/staking/[network]/page.tsx:5-17
Timestamp: 2023-12-01T06:16:56.319Z
Learning: The file name `page.tsx` is a Next.js convention and is necessary for the framework to recognize the file as a page component. The suggestion to rename the component was about the exported component's name, not the file name.
frontend/src/app/(routes)/transactions/builder/page.tsx (1)
Learnt from: Hemanthghs
PR: vitwit/resolute#901
File: frontend/src/app/(routes)/staking/[network]/page.tsx:5-17
Timestamp: 2023-12-01T06:16:56.319Z
Learning: The file name `page.tsx` is a Next.js convention and is necessary for the framework to recognize the file as a page component. The suggestion to rename the component was about the exported component's name, not the file name.
frontend/src/app/(routes)/transactions/builder/[network]/PageMultiops.tsx (1)
Learnt from: Hemanthghs
PR: vitwit/resolute#910
File: frontend/src/app/(routes)/multisig/components/PageMultisig.tsx:44-61
Timestamp: 2023-12-14T13:34:24.645Z
Learning: Error handling for the `verifyAccount` dispatch is managed within the `PageMultisig` component itself and not in the parent component as previously assumed.
frontend/src/app/(routes)/multisig/[network]/[address]/[create-txn]/PageTxnBuilder.tsx (1)
Learnt from: Hemanthghs
PR: vitwit/resolute#910
File: frontend/src/app/(routes)/multisig/components/PageMultisig.tsx:44-61
Timestamp: 2023-12-14T13:34:24.645Z
Learning: Error handling for the `verifyAccount` dispatch is managed within the `PageMultisig` component itself and not in the parent component as previously assumed.
Biome
frontend/src/app/(routes)/transactions/history/error.tsx

[error] 3-3: Do not shadow the global "Error" property.

Consider renaming this variable. It's easy to confuse the origin of variables when they're named after a known global.

(lint/suspicious/noShadowRestrictedNames)

Additional comments not posted (39)
frontend/src/app/(routes)/transactions/history/error.tsx (3)

3-3: Avoid shadowing the global Error property.

Consider renaming the Error import to avoid confusion with the global Error property.

-import Error from '@/components/common/Error';
+import CustomError from '@/components/common/Error';
Tools
Biome

[error] 3-3: Do not shadow the global "Error" property.

Consider renaming this variable. It's easy to confuse the origin of variables when they're named after a known global.

(lint/suspicious/noShadowRestrictedNames)


6-6: Use the renamed Error import.

Update the functional component to use the renamed Error import.

-const error = () => <Error />;
+const error = () => <CustomError />;

8-8: LGTM!

The export statement is correctly implemented.

The code changes are approved.

frontend/src/app/(routes)/transactions/builder/[network]/page.tsx (3)

1-3: LGTM!

The import statements are correctly implemented.

The code changes are approved.


5-7: LGTM!

The functional component is correctly implemented.

The code changes are approved.


9-9: LGTM!

The export statement is correctly implemented.

The code changes are approved.

frontend/src/app/(routes)/transactions/history/[network]/components/History.tsx (3)

1-6: LGTM!

The import statements are correctly implemented.

The code changes are approved.


8-32: LGTM!

The functional component is correctly implemented.

The code changes are approved.


34-34: LGTM!

The export statement is correctly implemented.

The code changes are approved.

frontend/src/app/(routes)/transactions/history/[network]/[hash]/page.tsx (1)

1-8: LGTM!

The import statements are appropriate and necessary for the functionality.

The code changes are approved.

frontend/src/app/(routes)/transactions/history/[network]/page.tsx (2)

1-9: LGTM!

The import statements are appropriate and necessary for the functionality.

The code changes are approved.


10-39: LGTM!

The Page component is correctly implemented and handles wallet connection and transaction history display appropriately.

The code changes are approved.

frontend/src/custom-hooks/routing/useHandleRouteChange.ts (1)

1-4: LGTM!

The import statements are appropriate and necessary for the functionality.

The code changes are approved.

frontend/src/app/(routes)/transactions/history/page.tsx (3)

1-7: LGTM!

The import statements are necessary for the functionality of the page.

The code changes are approved.


9-55: LGTM!

The Page component is well-structured and follows best practices. It correctly handles wallet connection and network selection logic.

The code changes are approved.


57-57: LGTM!

The export statement is necessary for the functionality of the page.

The code changes are approved.

frontend/src/app/(routes)/transactions/builder/page.tsx (3)

1-8: LGTM!

The import statements are necessary for the functionality of the page.

The code changes are approved.


10-55: LGTM!

The Page component is well-structured and follows best practices. It correctly handles wallet connection and network selection logic.

The code changes are approved.


57-57: LGTM!

The export statement is necessary for the functionality of the page.

The code changes are approved.

frontend/src/constants/sidebar-options.ts (1)

54-54: LGTM!

The change to the path property for the "Transactions" menu item is necessary to reflect the updated routing.

The code changes are approved.

frontend/src/custom-hooks/multisig/useGetAllAssets.ts (1)

23-35: LGTM! But verify the function usage in the codebase.

The function is correctly implemented. However, ensure that all function calls to getAllAssets match the new signature.

The code changes are approved.

Run the following script to verify the function usage:

Verification successful

Function usage verified successfully.

The getAllAssets function is used correctly with the new signature in the following locations:

  • frontend/src/components/txn-builder/messages/SendForm.tsx
  • frontend/src/app/(routes)/multisig/components/multisig-account/MultisigAccount.tsx

No issues were found with the function usage.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify all function calls to `getAllAssets` match the new signature.

# Test: Search for the function usage. Expect: Only occurrences of the new signature.
rg --type ts -A 5 $'getAllAssets'

Length of output: 2204

frontend/src/app/(routes)/transactions/builder/[network]/PageMultiops.tsx (2)

1-59: LGTM!

The component is correctly implemented. The logic to check if the chain is valid and if the wallet is connected is sound.

The code changes are approved.


63-141: LGTM!

The component is correctly implemented. The logic to handle the submission of transactions and fetch balances is sound.

The code changes are approved.

frontend/src/components/select-network/DialogSelectNetwork.tsx (2)

16-16: LGTM!

The import statement for useHandleRouteChange is correctly added.

The code changes are approved.


19-19: LGTM!

The function call to useHandleRouteChange is correctly placed and follows the React hook usage pattern.

The code changes are approved.

frontend/src/app/(routes)/multisig/[network]/[address]/[create-txn]/PageTxnBuilder.tsx (1)

204-204: LGTM!

The isMultisig prop is correctly added to the PageTxnBuilderEntry component with a static value of true.

The code changes are approved.

frontend/src/components/main-layout/SideMenu.tsx (4)

81-83: LGTM!

The title prop for the Tooltip component is simplified using a ternary operation, enhancing readability without altering the logic.

The code changes are approved.


99-101: LGTM!

The title prop for the Tooltip component is simplified using a ternary operation, enhancing readability without altering the logic.

The code changes are approved.


140-142: Verify the impact on navigation.

The href attribute for the "Builder" link is updated to change the URL structure. Ensure that the new URL structure does not break navigation.

Run the following script to verify the impact on navigation:


123-125: Verify the impact on navigation.

The href attribute for the "History" link is updated to change the URL structure. Ensure that the new URL structure does not break navigation.

Run the following script to verify the impact on navigation:

frontend/src/components/txn-builder/TxnBuilder.tsx (3)

19-19: LGTM!

The addition of the isMultisig property enhances the component's functionality by allowing it to handle multi-signature transactions.

The code changes are approved.


26-26: LGTM!

The addition of the isMultisig property in the type definition ensures type safety and clarity in the component's usage.

The code changes are approved.


89-89: LGTM!

Passing the isMultisig property to the SelectMessage component ensures that the child component can handle multi-signature transactions as well.

The code changes are approved.

frontend/src/components/txn-builder/messages/SendForm.tsx (3)

21-21: LGTM!

The addition of the isMultisig property enhances the component's capability to handle multi-signature transactions.

The code changes are approved.


25-25: LGTM!

Destructuring the isMultisig property from props ensures that the component can utilize this property effectively.

The code changes are approved.


30-30: LGTM!

The modification of the getAllAssets function call to include the isMultisig parameter alters the way assets are retrieved based on whether the transaction is multisignature or not.

The code changes are approved.

frontend/src/app/(routes)/multisig/components/multisig-account/MultisigAccount.tsx (1)

436-436: LGTM!

The modification of the getAllAssets function call to include an additional boolean argument true potentially affects the data retrieval process or the way assets are filtered or processed.

The code changes are approved.

frontend/src/utils/util.ts (2)

321-326: LGTM! But verify the function usage in the codebase.

The function is correctly implemented. However, ensure that all function calls to changeNetworkRoute handle the new logic for 'builder' and 'history' correctly.

The code changes are approved.

Run the following script to verify the function usage:

Verification successful

Function usage verified and consistent with new logic

The changeNetworkRoute function is correctly used in DialogSelectNetwork.tsx, handling the new logic for 'builder' and 'history' as intended. No issues found with the current implementation.

  • File: frontend/src/components/select-network/DialogSelectNetwork.tsx
  • Usage: const baseUrl = changeNetworkRoute(pathName, newChain);
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify all function calls to `changeNetworkRoute` handle the new logic correctly.

# Test: Search for the function usage. Expect: Only occurrences of the new logic.
rg --type javascript -A 5 $'changeNetworkRoute'

Length of output: 81


Script:

#!/bin/bash
# Description: Verify all function calls to `changeNetworkRoute` handle the new logic correctly.

# Test: Search for the function usage. Expect: Only occurrences of the new logic.
rg --type typescript -A 5 $'changeNetworkRoute'

Length of output: 81


Script:

#!/bin/bash
# Description: Verify all function calls to `changeNetworkRoute` handle the new logic correctly.

# Test: Search for the function usage. Expect: Only occurrences of the new logic.
rg --type ts -A 5 $'changeNetworkRoute'

Length of output: 1686


290-297: LGTM! But verify the function usage in the codebase.

The function is correctly implemented. However, ensure that all function calls to allNetworksLink handle the new logic for 'transactions', 'builder', and 'history' correctly.

The code changes are approved.

Run the following script to verify the function usage:

Verification successful

Function usage is correctly handled in DialogSelectNetwork.tsx.

The pathParts variable is constructed from the current path, ensuring that the new routing logic for 'transactions', 'builder', and 'history' is correctly applied in the allNetworksLink function.

  • DialogSelectNetwork.tsx: The usage of allNetworksLink correctly handles the new logic by constructing pathParts from the current path.
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify all function calls to `allNetworksLink` handle the new logic correctly.

# Test: Search for the function usage. Expect: Only occurrences of the new logic.
rg --type javascript -A 5 $'allNetworksLink'

Length of output: 78


Script:

#!/bin/bash
# Description: Search for all occurrences of the function `allNetworksLink` in the codebase.

# Search for the function usage across all files.
rg 'allNetworksLink'

Length of output: 377


Script:

#!/bin/bash
# Description: Extract context around the usage of `allNetworksLink` in `DialogSelectNetwork.tsx`.

# Search for the function usage and include surrounding lines for context.
rg 'allNetworksLink' -A 10 frontend/src/components/select-network/DialogSelectNetwork.tsx

Length of output: 835


Script:

#!/bin/bash
# Description: Search for the definition and construction of `pathParts` in `DialogSelectNetwork.tsx`.

# Search for the definition and usage of `pathParts`.
rg 'pathParts' -A 5 frontend/src/components/select-network/DialogSelectNetwork.tsx

Length of output: 853

* feat: Implement repeat/retry txn

* chore: review changes
@Hemanthghs Hemanthghs marked this pull request as ready for review September 2, 2024 11:36
@charymalloju charymalloju merged commit cd8ded8 into v2/chary/txns Sep 2, 2024
6 checks passed
@charymalloju charymalloju deleted the hemanth/integrate-txn-builder branch September 2, 2024 11:48
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.

2 participants