-
Notifications
You must be signed in to change notification settings - Fork 836
chore: Update radix-ui components and icons #557
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
chore: Update radix-ui components and icons #557
Conversation
Checked for icon name changes by teaching Claude to search the lucide-react repo with: `git log -i -E --grep '(rename|change)' 0.448.0^...0.523.0 ..then searching for any of the found icons in the Inspector imports.
I noticed dependabot has updated vite occasionally, but it's not doing other dependencies? I'd be happy to try and update jest, which should eliminate the deprecation warnings; and tailwind before it drifts too far. The Playwright e2e tests can take longer than 5 minutes (GitHub Actions CI load maybe?), so I increased the timeout. I was experimenting here, but I can make a separate PR. |
- Playwright installation can take more than 5m, increase to 15m - Only attempt to upload the report if Playwright executed, otherwise there are no report files, and the upload step will error
34c619e
to
36e053a
Compare
test: | ||
timeout-minutes: 5 | ||
# Installing Playright dependencies can take quite awhile, and also depends on GitHub CI load. | ||
timeout-minutes: 15 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, I am kind of surprised that CI might take this long for these tests. Wonder if this should only run on main or on demand?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it can run on all PRs, as-is.
The actual tests take only ~25 seconds. A total test run is ~3m20s. Both visible on this successful run.
The failed run exceeded the timeout during runner prep; apt-get update
and Playwright install w deps took > 4 minutes. I'm not sure, but presume this depends on cache state and GitHub infrastructure load, so the minimum is difficult to predict. 10 minutes might be enough, I set it to 15 to avoid fiddling with it. :-)
Ideally the author runs locally too. Personally, I prefer to have full test suites enabled for PRs / branches, to avoid discovering breakage after a merge. If the test suite is slow, that ought to be dealt with.
Thanks for the PR and comments on the dependency updates. I was thinking about something similar for MCP SDK updates in the reference servers repo since a lot tends to drift out of date. So I think we could create a followup issue for improving on that for other packages here as well. |
I'm unsure why dependabot isn't doing more. I might investigate that at some point, I'm not very familiar with it. |
@richardkmichael Catching this after the fact, but why does |
The changes to the Regarding I manually bumped Do you prefer to "pull-up" |
Thanks, @richardkmichael. The weird thing about it is that none of the radix-ui components have been touched for a minimum of 2 months. Further, at least some the versions that are in So... I think syncing them is in order. The reason I'm coming back to this is that a report of some weird behavior was posted in our private Discord CleanShot_2025-06-30_at_15.23.51.mp4While I can't duplicate it myself, the only changes in 0.15.0 that I can see that could have possibly led to them was this PR. |
I'm happy to investigate, but I don't quite understand. Can you please show me what you mean? An example of an unexpected mismatch would be helpful.
Yes, I also prefer the minimum package declarations in a project file to match the lockfile. I have other updates coming; after or as part of that I could reconcile
The sidebar bizarrely resizing from the center is a difference between Chrome (janky) and Firefox. I tracked it down to between 0.14.0 and 0.14.1. Screen recording, Firefox on the left, Chrome on the right. |
![]() But in your video, even the 0.14.0 screen was scrunched in the middle, when the sidebar was not adjustable. Seems like that part was broken even before? |
@cliffhall I thought the broken part was the resizing behaviour. I only use Firefox, so I'm unsure if/when the Chrome alignment was ever on the left and became (broke?) centered. The fix is to use |
Update the
radix-ui/react-*
components and thelucide-react
icons.Motivation and Context
Periodic package update reduce the future maintenance effort.
How Has This Been Tested?
After each package update, I checked various UI elements using it against the MCP "everything" server. I also ran the new
npm run test:e2e
tests.Breaking Changes
No.
Types of changes
Checklist
Additional context