Skip to content

chore: remove unused radix-ui dependencies#424

Merged
ECWireless merged 2 commits intomainfrom
358-upgrade-radix-ui-to-v1
Dec 3, 2025
Merged

chore: remove unused radix-ui dependencies#424
ECWireless merged 2 commits intomainfrom
358-upgrade-radix-ui-to-v1

Conversation

@ECWireless
Copy link
Collaborator

This pull request migrates the tooltip implementation from @radix-ui/react-tooltip to the newer unified radix-ui package throughout the codebase. This change streamlines dependency management and updates the tooltip usage to the latest API. The most important changes are:

Tooltip migration and API update:

  • Replaced all imports and usage of @radix-ui/react-tooltip with the new Tooltip component from the radix-ui package in components/ExplorerTooltip/index.tsx and pages/_app.tsx. [1] [2] [3] [4] [5] [6] [7] [8]

Dependency updates:

  • Removed @radix-ui/react-tooltip and other unused @radix-ui dependencies from package.json, and added the new radix-ui package. [1] [2]

Provider updates:

  • Updated the tooltip provider in pages/_app.tsx to use Tooltip.Provider from radix-ui instead of TooltipPrimitive.Provider and removed the now-unnecessary IdProvider. [1] [2]

Copilot AI review requested due to automatic review settings December 3, 2025 00:31
@ECWireless ECWireless linked an issue Dec 3, 2025 that may be closed by this pull request
@vercel
Copy link
Contributor

vercel bot commented Dec 3, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
explorer-arbitrum-one Ready Ready Preview Comment Dec 3, 2025 2:02pm

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR attempts to migrate from individual @radix-ui/react-* packages to a unified radix-ui package (version 1.4.3) to streamline dependency management. The changes involve:

  • Replacing @radix-ui/react-tooltip imports with imports from radix-ui
  • Removing the @radix-ui/react-id IdProvider wrapper
  • Updating tooltip usage from TooltipPrimitive.* to Tooltip.* namespace

Key Issues

Critical: The radix-ui package at version 1.4.3 does not appear to be an official Radix UI package. The official Radix UI library uses the @radix-ui/* namespace for all packages. This will cause runtime errors.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.

File Description
package.json Removes individual @radix-ui/* dependencies and adds radix-ui@1.4.3 - invalid package
pages/_app.tsx Updates tooltip provider import and removes IdProvider - incorrect import syntax
components/ExplorerTooltip/index.tsx Migrates tooltip component imports - incorrect import syntax
pnpm-lock.yaml Lockfile changes reflecting the new dependency tree

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ECWireless ECWireless requested a review from Jipperism December 3, 2025 00:36
@github-project-automation github-project-automation bot moved this from Backlog to Todo in Explorer Revamp Dec 3, 2025
@ECWireless ECWireless merged commit f75eace into main Dec 3, 2025
4 checks passed
@ECWireless ECWireless deleted the 358-upgrade-radix-ui-to-v1 branch December 3, 2025 14:02
@github-project-automation github-project-automation bot moved this from Todo to Done in Explorer Revamp Dec 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

Upgrade radix-ui to v1

3 participants