Skip to content

Fix/UI freezing#610

Merged
gamalielhere merged 4 commits intodevop/release-2.2.2from
fix/ui-freezing
Feb 18, 2025
Merged

Fix/UI freezing#610
gamalielhere merged 4 commits intodevop/release-2.2.2from
fix/ui-freezing

Conversation

@gamalielhere
Copy link
Contributor

@gamalielhere gamalielhere commented Feb 4, 2025

Summary by CodeRabbit

  • New Features

    • Enhanced error handling for network operations: users now see a clear error message if data takes too long to load.
    • Refined transaction visuals: network identifiers are now processed for improved display consistency.
    • Introduced an error prompt for asset loading with a “Try again” option, offering a smoother recovery from data fetch issues.
  • Bug Fixes

    • Improved loading state management to ensure accurate display of asset information during fetch errors.
  • Dependency Updates

    • Updated various dependencies across multiple packages to their latest versions, ensuring improved performance and security.

@coderabbitai
Copy link

coderabbitai bot commented Feb 4, 2025

Important

Review skipped

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

🗂️ Base branches to auto review (3)
  • main
  • develop
  • devop/vite-migrate

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

This pull request enhances error handling and control flow in several Vue components. In the network activity views, the total component now uses a timeout and a reactive flag to display an error message when loading takes too long, and the transaction component updates the identicon generation to work with a formatted address. In the network assets views, a new error component is introduced and integrated with the asset index view to display errors and handle retries during asset fetching.

Changes

Files Change Summary
packages/extension/.../network-activity/components/network-activity-total.vue Added error handling: introduced a new reactive variable assumedError, a timeout using watchEffect to set the error flag after 30 seconds, and additional CSS for the error state.
packages/extension/.../network-activity/components/network-activity-transaction.vue Modified the identicon image source by processing the address through network.displayAddress before generating the identicon.
packages/extension/.../network-assets/components/network-assets-error.vue
packages/extension/.../network-assets/index.vue
Introduced a new Vue component for displaying asset loading errors with a "Try again" button. Updated the asset view to include a reactive isFetchError state, conditionally rendering the error component and enhancing error handling during asset fetching.
package.json and other package.json files Updated various dependencies to newer versions across multiple packages, ensuring compatibility and incorporating potential bug fixes and improvements.

Suggested reviewers

  • SemajaM8
  • NickKelly1

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>, please review it.
    • 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 gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @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 generate docstrings to generate docstrings for this PR. (Beta)
  • @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.

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.

@github-actions
Copy link

github-actions bot commented Feb 4, 2025

💼 Build Files
chrome: enkrypt-chrome-ae60c128.zip
firefox: enkrypt-firefox-ae60c128.zip

💉 Virus total analysis
chrome: ae60c128
firefox: ae60c128

Copy link

@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: 1

🔭 Outside diff range comments (1)
packages/extension/src/ui/action/views/network-assets/index.vue (1)

112-132: Improve error state management in updateAssets.

The error state should be reset when the component is mounted or when network/address changes.

 const updateAssets = () => {
   isFetchError.value = false;
   isLoading.value = true;
   assets.value = [];
   const currentNetwork = selectedNetworkName.value;
+  // Reset error state if no address
+  if (!props.accountInfo.selectedAccount?.address) {
+    isLoading.value = false;
+    return;
+  }
   if (props.accountInfo.selectedAccount?.address) {
     props.network
       .getAllTokenInfo(props.accountInfo.selectedAccount?.address || '')
       .then(_assets => {
         if (selectedNetworkName.value !== currentNetwork) return;
         assets.value = _assets;
         isLoading.value = false;
       })
       .catch(() => {
         if (selectedNetworkName.value !== currentNetwork) return;
         isFetchError.value = true;
         isLoading.value = false;
         assets.value = [];
       });
   }
 };
🧹 Nitpick comments (3)
packages/extension/src/ui/action/views/network-assets/components/network-assets-error.vue (2)

16-18: Add prop validation for updateAssets.

The updateAssets prop should include required validation and proper typing.

 defineProps({
-  updateAssets: Function,
+  updateAssets: {
+    type: Function as PropType<() => void>,
+    required: true,
+  },
 });

2-4: Enhance error message accessibility.

Add role="alert" to the error message for better screen reader support.

-  <div class="network-assets__error">
-    <h3>Loading assets failed. Please try again later.</h3>
+  <div class="network-assets__error" role="alert">
+    <h3 aria-live="polite">Loading assets failed. Please try again later.</h3>
packages/extension/src/ui/action/views/network-activity/components/network-activity-total.vue (1)

9-13: Use consistent error message styling.

The error message styling should be consistent with the new NetworkAssetsError component.

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between aa64ffc and 09a499a.

📒 Files selected for processing (4)
  • packages/extension/src/ui/action/views/network-activity/components/network-activity-total.vue (3 hunks)
  • packages/extension/src/ui/action/views/network-activity/components/network-activity-transaction.vue (1 hunks)
  • packages/extension/src/ui/action/views/network-assets/components/network-assets-error.vue (1 hunks)
  • packages/extension/src/ui/action/views/network-assets/index.vue (5 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (2)
  • GitHub Check: buildAll
  • GitHub Check: test
🔇 Additional comments (1)
packages/extension/src/ui/action/views/network-activity/components/network-activity-transaction.vue (1)

13-13: LGTM! Good improvement in address handling.

The change ensures consistent address formatting before generating the identicon by using displayAddress.

Copy link

@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

🧹 Nitpick comments (1)
packages/name-resolution/package.json (1)

42-45: Update Repository URL Placeholder
The repository URL field still contains a placeholder (<FILL_IT>). Please update this with the correct repository URL before merging to avoid any confusion.

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 09a499a and a1a3804.

⛔ Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (21)
  • package.json (1 hunks)
  • packages/extension-bridge/package.json (1 hunks)
  • packages/extension/configs/vite/transform-manifest.ts (3 hunks)
  • packages/extension/package.json (3 hunks)
  • packages/extension/src/ui/action/main.ts (1 hunks)
  • packages/extension/src/ui/action/views/import-account/views/import-account-password.vue (2 hunks)
  • packages/extension/src/ui/action/views/import-account/views/import-account-private-key.vue (2 hunks)
  • packages/extension/tsconfig.node.json (1 hunks)
  • packages/extension/vite.config.ts (3 hunks)
  • packages/hw-wallets/package.json (2 hunks)
  • packages/keyring/package.json (1 hunks)
  • packages/name-resolution/package.json (2 hunks)
  • packages/request/package.json (1 hunks)
  • packages/signers/bitcoin/package.json (1 hunks)
  • packages/signers/ethereum/package.json (1 hunks)
  • packages/signers/kadena/package.json (1 hunks)
  • packages/signers/polkadot/package.json (1 hunks)
  • packages/storage/package.json (1 hunks)
  • packages/swap/package.json (1 hunks)
  • packages/types/package.json (1 hunks)
  • packages/utils/package.json (1 hunks)
✅ Files skipped from review due to trivial changes (2)
  • packages/extension/src/ui/action/main.ts
  • packages/extension/configs/vite/transform-manifest.ts
🔇 Additional comments (55)
packages/extension/vite.config.ts (1)

104-104: Verify the handling of 'fs' module in the extension.

Since browser extensions don't have access to the file system, marking 'fs' as external suggests that some code might be attempting to use Node's file system module.

Let's check where the 'fs' module is being used:

✅ Verification successful

🏁 Script executed:

#!/bin/bash
# Search for imports or requires of the 'fs' module
rg -A 2 "(?:import|require).*['\"]fs['\"]"

# Search for any other usage of fs module APIs
ast-grep --pattern 'fs.$_'

Length of output: 379


Review Response: Handling of the fs Module

The search shows that fs is imported and used in packages/extension/configs/get-system-info.js (specifically using fs.writeFileSync). This confirms that the file system module is indeed referenced within the extension’s package. Given that Vite’s Rollup configuration marks fs as external, it appears that the intent is to prevent bundling this Node-specific module for the browser environment.

Please verify that:

  • The code in get-system-info.js is executed in a Node (build-time) context rather than at runtime in the browser.
  • There is proper separation between build-specific scripts and browser extension code to avoid runtime errors related to missing Node APIs.

If these conditions are met, the current handling of the fs module is appropriate. Otherwise, consider refactoring the build-specific logic from code intended to run in the browser.

packages/extension/src/ui/action/views/import-account/views/import-account-password.vue (2)

116-116: LGTM! Code simplification improves readability.

The change from wallet.getAddress().toString('hex') to wallet.getAddressString() simplifies the code while maintaining the same functionality.


40-40: LGTM! Package update improves maintainability.

The update to @ethereumjs/wallet aligns with the latest package standards.

Let's verify the package version and any breaking changes:

✅ Verification successful

🌐 Web query:

What is the latest version of @ethereumjs/wallet and are there any breaking changes from ethereumjs-wallet?

💡 Result:

The latest version of @ethereumjs/wallet is v2.0.4 (released ~5 months ago as of February 2025)[3]. This package replaces the deprecated ethereumjs-wallet (last version: v1.0.2 from October 2021)[4][10], which was merged into the EthereumJS monorepo[2].

Key Breaking Changes

  1. TypeScript Migration
    The library was rewritten in TypeScript (v1.0.0)[5][7], introducing:

    • Stricter type validation (e.g., Buffer requirements instead of string inputs for cryptographic operations)
    • Changed submodule imports:
      // Old (ethereumjs-wallet)
      const { hdkey } = require('ethereumjs-wallet')
      
      // New (@ethereumjs/wallet)
      import { hdkey } from '@ethereumjs/wallet'[2][5]
  2. Crypto Dependency Changes

    • Replaced native scrypt.js with pure-JS scryptsy[5][7]
    • Switched to formally audited ethereum-cryptography for BIP-32 operations[5]
  3. Provider Engine Removal
    Support for provider-engine was dropped due to maintenance concerns[5][7].

  4. Wallet Method Signatures
    Methods like Wallet.fromPublicKey() now strictly require Buffer inputs instead of allowing implicit string conversion[5]:

    // Now enforced
    public static fromPublicKey(publicKey: Buffer, nonStrict = false)[5]

Migration Path

The package now lives under @ethereumjs/wallet with continued monorepo support[1][2]. Developers should:

  1. Update imports to use scoped package name
  2. Verify buffer-type inputs for all cryptographic methods
  3. Use alternative libraries like json-rpc-engine instead of provider-engine[5]

Recent updates focus on Verkle tree compatibility and stricter hex typing[1], but these don't affect core wallet functionality directly.

Citations:


Update Verified: Package migration to @ethereumjs/wallet is correctly applied.

  • The file now correctly imports from the newest package version (v2.0.4), aligning with its migration from the deprecated ethereumjs-wallet.
  • The breaking changes—such as stricter type validation and Buffer requirements—are documented in the package changelog, so future usage (like cryptographic method calls) should be reviewed to ensure buffer inputs are provided where required.
packages/extension/src/ui/action/views/import-account/views/import-account-private-key.vue (1)

39-39: LGTM! Consistent package usage across components.

The changes maintain consistency with import-account-password.vue in both the package import and address retrieval method.

Also applies to: 96-96

packages/extension/tsconfig.node.json (2)

14-16: LGTM! Enhanced TypeScript coverage.

Added patterns improve type checking coverage across the codebase.


25-28: LGTM! Path aliases improve code organization.

The added path aliases @/* and @action/* simplify imports and improve code maintainability.

packages/types/package.json (1)

27-41: LGTM! Dependencies updated to latest stable versions.

The updates to dev dependencies could help improve development tooling and potentially address UI performance issues.

Let's verify these are the latest stable versions:

✅ Verification successful

🌐 Web query:

What are the latest stable versions of @types/node, eslint, prettier, and typescript?

💡 Result:

Here are the latest stable versions of key JavaScript/TypeScript tools as of February 10, 2025:

@types/node
22.13.1 ([npm][6])
Latest security-focused LTS release with critical fixes for path traversal vulnerabilities[1][7]

ESLint
v9.x (latest minor: 9.20)
Features language plugins for Markdown/JSON/CSS and new configuration system[2]

Prettier
v3.x
Stable since mid-2023 with ESM support and async parser plugins[3][8]

TypeScript
v5.x (latest minor: 5.x)
Recent updates include enhanced type checking performance and ECMAScript standards support[4][9]

Security note: Node.js LTS versions (18.x/22.x) received critical security patches addressing HTTP2 memory leaks and path traversal vulnerabilities[1][7]. Always verify dependency compatibility when upgrading tooling versions[2][10].

Citations:


Dependency versions are confirmed as the latest stable releases.

  • @types/node: Version "^22.13.1" in your file matches the latest stable version.
  • ESLint: Version "^9.20.0" aligns with the current v9.x release.
  • Prettier: Version "^3.4.2" is consistent with the latest stable v3.x release.
  • TypeScript: Version "^5.7.3" corresponds with the latest v5.x series.

These updates are valid and should improve your development tooling.

packages/storage/package.json (1)

29-46: Consistent Dependency Updates for Dev Environment
The version bumps for all the development dependencies (e.g., @types/node, eslint, prettier, tsup, typescript, typescript-eslint, and vitest) appear well coordinated and are in line with updates in other packages. This should help maintain compatibility across the monorepo.

packages/name-resolution/package.json (1)

24-41: Ensure Uniformity of DevDependency Versions
The updates in the devDependencies block (including @types/node, eslint, prettier, tsup, typescript, typescript-eslint, and vitest) now match their counterparts in other packages. This uniformity is beneficial for consistent development tooling across the project.

packages/signers/kadena/package.json (1)

29-48: Coherent DevDependency Version Bumps
The changes in the devDependencies block—including the update of @polkadot/util-crypto and the version bumps for @types/node, eslint, prettier, tsup, typescript, typescript-eslint, and vitest—ensure that this package aligns with the rest of the monorepo. The modifications are clear and consistent.

packages/utils/package.json (2)

25-31: Upgrade of Runtime Dependency Version
The upgrade of @polkadot/util-crypto from ^13.2.3 to ^13.3.1 is a positive change that aligns with similar updates in other packages. Ensure that any functionality relying on this package is retested.


32-48: Revamped DevDependencies for Consistency
The devDependencies have been updated to use the latest versions (e.g., @types/node, eslint, prettier, tsup, typescript, typescript-eslint, and vitest), matching the project-wide update strategy. This will help standardize the development environment across packages.

packages/request/package.json (2)

29-32: Updated Runtime Dependency: uuid
Updating the uuid package version from ^10.0.0 to ^11.0.5 is a clear improvement. Please verify that there are no breaking changes in the new version that might affect usage in this package.


33-49: Uniform DevDependency Versioning
The devDependencies now consistently reflect the updated versions found in other packages (including @types/node, eslint, prettier, tsup, typescript, typescript-eslint, and vitest). This consistency will aid in reducing discrepancies in the build and linting process across the codebase.

packages/signers/bitcoin/package.json (6)

35-35: Update @types/node Version
The version has been bumped to "^22.13.1", which is consistent with the project-wide upgrade.


38-38: ESLint Version Bump
The "eslint" dependency is now at "^9.20.0", aligning with the updated standards across packages.


44-44: Prettier Version Upgrade
"prettier" has been updated to "^3.4.2". Please verify that the new version’s formatting defaults do not conflict with any custom rules.


47-48: Tsup & TypeScript Updates
"tsup" is updated to "^8.3.6" and "typescript" to "^5.7.3". Ensure that build outputs and type checks remain stable after these upgrades.


49-49: typescript-eslint Version Change
The "typescript-eslint" package is now set to "8.23.0". This matches the upgrades in other packages and should be compatible with the updated TypeScript version.


50-50: Vitest Version Upgrade
"vitest" has been updated to "^3.0.5". Please run the test suite to confirm that all tests still pass without issues.

packages/signers/ethereum/package.json (6)

35-35: Update @types/node Version
The dependency is now "^22.13.1", which is consistent with recent updates across the project.


38-38: ESLint Version Bump
The update to "^9.20.0" ensures consistency across packages.


44-44: Prettier Version Upgrade
The "prettier" dependency has been updated to "^3.4.2". Double-check that code formatting remains as expected.


47-48: Tsup & TypeScript Version Updates
Both "tsup" ("^8.3.6") and "typescript" ("^5.7.3") have been updated. Verify that the build process and TypeScript checks pass without issues.


49-49: typescript-eslint Update
Updating to "8.23.0" aligns the tooling across packages.


50-50: Vitest Version Bump
"vitest" is upgraded to "^3.0.5". Please ensure that the test runner behaves correctly with this new version.

packages/signers/polkadot/package.json (7)

25-25: Update @commitlint/cli Dependency
Bumped to "^19.7.1" to keep in line with overall maintenance. Confirm that any commit linting scripts work as expected.


27-28: Upgrade Polkadot Utilities
Both "@polkadot/util" and "@polkadot/util-crypto" have been updated to "^13.3.1". These upgrades should provide compatibility improvements and bug fixes.


34-34: @types/node Version Update
Now set to "^22.13.1". This update is in step with other packages.


37-37: ESLint Version Update
The "eslint" dependency is now "^9.20.0", ensuring consistency in linting across the project.


43-43: Prettier Version Upgrade
"prettier" is updated to "^3.4.2"; verify that formatter behavior matches expectations.


46-48: Tsup, TypeScript & typescript-eslint Updates
"tsup" is updated to "^8.3.6", "typescript" to "^5.7.3", and "typescript-eslint" to "8.23.0". Ensure that the build and type checking processes continue to run smoothly.


49-49: Vitest Version Upgrade
Updating "vitest" to "^3.0.5" requires a test run post-upgrade to ensure stability.

packages/keyring/package.json (5)

32-32: Polkadot Util Dependency Update
The "@polkadot/util" dependency is now upgraded to "^13.3.1", matching related packages.


37-37: @types/node Version Update
Updated to "^22.13.1", which is consistent with the project’s dependency upgrades.


40-40: ESLint Version Bump
The "eslint" dependency update to "^9.20.0" should help maintain consistent linting rules.


46-46: Prettier Version Upgrade
"prettier" now at "^3.4.2"; please test that no unexpected formatting changes occur.


49-52: Tsup, TypeScript, typescript-eslint & Vitest Updates
All four dependencies ("tsup" to "^8.3.6", "typescript" to "^5.7.3", "typescript-eslint" to "8.23.0", and "vitest" to "^3.0.5") have been updated. It is recommended to run a full build and test cycle to ensure stability.

packages/extension-bridge/package.json (8)

42-42: serialize-error Update
Upgraded "serialize-error" to "12.0.0". This major version bump may bring behavioral changes; please verify that error serialization continues to work correctly in all scenarios.


47-47: @types/node Update in DevDependencies
The "@types/node" version is updated to "^22.13.1", ensuring consistency with other packages.


51-51: Bumpp Version Bump
"bumpp" has been updated to "^10.0.2". Confirm that any automated version bumping in your CI/CD pipeline still operates as expected.


52-52: ESLint Version Upgrade
The updated "eslint" to "^9.20.0" should help enforce consistent code quality.


58-58: Prettier Version Update
"prettier" is now "^3.4.2". Verify that there are no unexpected formatting breaks in the codebase.


61-61: Tsup Version Bump
"tsup" update to "^8.3.6" is inline with other packages. A build verification is recommended.


62-62: Type-fest Update
"type-fest" has been updated to "^4.33.0". Make sure that any type definitions or utilities relying on this package are fully compatible.


63-64: TypeScript & typescript-eslint Updates
With "typescript" updated to "^5.7.3" and "typescript-eslint" to "8.23.0", please validate that all type-checking and linting operations complete successfully.

packages/swap/package.json (3)

27-28: Dependency Version Upgrade for @solana/spl-token and @solana/web3.js
The versions for both @solana/spl-token (^0.4.12) and @solana/web3.js (^1.98.0) have been bumped. Ensure that these upgrades are compatible with other packages that depend on Solana APIs.


34-36: Updated Versions for rango-sdk-basic and uuid
The dependency rango-sdk-basic has been updated to ^0.1.62 and uuid to ^11.0.5. These changes help maintain consistency with the rest of the monorepo. Just verify that any peer dependency requirements (if applicable) are met.


42-57: Dev Dependencies Upgrades Review
The updates to dev dependencies—such as @types/node, eslint, prettier, tsup, typescript, typescript-eslint, and vitest—are in line with broader efforts across packages. Please double-check that these versions work harmoniously with your build and lint processes.

package.json (1)

35-41: Root DevDependencies Version Bumps
The upgrades for @commitlint/cli, @commitlint/config-conventional, @swc/core, concurrently, husky, and nodemon indicate proactive maintenance. Verify that any custom scripts or hooks relying on these tools still operate correctly, as changes in minor versions sometimes affect behavior.

packages/hw-wallets/package.json (2)

25-40: Dev Dependency Updates in HW-Wallets
The revisions in dev dependencies—updating packages like @types/node, eslint, prettier, tsup, typescript, typescript-eslint, and vitest—ensure alignment with the broader project's standards. This improves consistency and tooling support; however, validate that these changes do not disrupt your local build and test setups.


55-66: Updated Ledger, Polkadot, and Trezor Dependencies
The dependency updates for Ledger packages (@ledgerhq/hw-app-btc, @ledgerhq/hw-app-eth, @ledgerhq/live-common), Polkadot packages (@polkadot/types, @polkadot/util), Trezor packages (@trezor/connect, @trezor/connect-webextension), @zondax/ledger-substrate, and bitcoinjs-lib enhance the hardware wallet functionality. It’s important to test these integrations thoroughly, as breaking changes in these libraries could affect wallet compatibility.

packages/extension/package.json (3)

26-33: Extension Dependency Updates: Analytics, Ethereum, and Kadena
Upgrades include bumping @amplitude/analytics-browser to ^2.11.11, updating @kadena/client and @kadena/pactjs-cli to ^1.16.0, and adding @ethereumjs/wallet (^2.0.4). These changes will likely improve error handling and perhaps indirectly help with UI responsiveness. Please ensure these new versions integrate well with your UI components and address any side-effects on state or rendering logic.


38-50: Extended Vue & Blockchain-Related Dependency Updates
The dependency list now covers updated versions for blockchain libraries (e.g., @metamask/eth-sig-util, @metaplex-foundation/mpl-bubblegum, @metaplex-foundation/umi, @polkadot/api, etc.) and includes updated Vue-specific tools like vue, vue-router, and others. Given that the PR objectives mention addressing UI freezing, make sure that these updates are complemented by thorough UI tests to confirm that the new versions don’t introduce unexpected render or performance issues.


91-140: DevDependencies Upgrade for Build Tools and Linters
The significant version bumps across various dev tools (including @crxjs/vite-plugin, several Rollup plugins, updated TypeScript, ESLint, and Vite versions) help modernize the build environment. These upgrades are likely to improve build performance and could indirectly help address UI freezing issues by ensuring a smoother development experience. However, please verify that the integration tests pass and that the bundled UI behaves as expected post-build.

@gamalielhere gamalielhere changed the base branch from develop to devop/release-2.2.2 February 18, 2025 19:04
@gamalielhere gamalielhere merged commit 7423e7e into devop/release-2.2.2 Feb 18, 2025
4 checks passed
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.

3 participants