chore: remove unused radix-ui dependencies#424
Merged
ECWireless merged 2 commits intomainfrom Dec 3, 2025
Merged
Conversation
Closed
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
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-tooltipimports with imports fromradix-ui - Removing the
@radix-ui/react-idIdProvider wrapper - Updating tooltip usage from
TooltipPrimitive.*toTooltip.*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.
Jipperism
approved these changes
Dec 3, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request migrates the tooltip implementation from
@radix-ui/react-tooltipto the newer unifiedradix-uipackage 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:
@radix-ui/react-tooltipwith the newTooltipcomponent from theradix-uipackage incomponents/ExplorerTooltip/index.tsxandpages/_app.tsx. [1] [2] [3] [4] [5] [6] [7] [8]Dependency updates:
@radix-ui/react-tooltipand other unused@radix-uidependencies frompackage.json, and added the newradix-uipackage. [1] [2]Provider updates:
pages/_app.tsxto useTooltip.Providerfromradix-uiinstead ofTooltipPrimitive.Providerand removed the now-unnecessaryIdProvider. [1] [2]