Repository navigation
chore: vendor the @shadcn/react message-scroller source - #29473
Merged
Merged
Conversation
Replaces the @shadcn/[email protected] npm dependency with a vendored copy of its readable TypeScript source under site/src/vendor/message-scroller, plus site/src/vendor/use-render, the single internal utility the scroller imports. The published package ships only a minified dist, so vendoring keeps the runtime code auditable and reviewable in-tree. The copy is pristine upstream source from tag @shadcn/[email protected] (commit b1c580c63, MIT): no behavior changes. Each file header pins the exact upstream tree for syncing, and local deviations will be marked as LOCAL CHANGE hunks. Imports switch from @shadcn/react/message-scroller to #/vendor/message-scroller (8 sites, all under AgentsPage). Formatting is normalized to the site's Biome configuration (tabs, semicolons, import order) and oxlint ignores src/vendor/** because upstream code must not drift from upstream patterns to satisfy in-repo lint rules. The React Compiler filter does not include the vendor directory, matching the prebuilt package it replaces.
DanielleMaywood
marked this pull request as ready for review
September 17, 2026 11:32
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 259af312c4
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
… license Review follow-up on the vendoring PR: - Revert the vendored files to verbatim upstream formatting. Biome and oxlint both exclude src/vendor now, so upstream style is preserved exactly and a sync is a plain diff against the pinned upstream tree. The biome-ignore comment and the optional-chain rewrite from the first pass are gone with the exclusion. - Add the upstream LICENSE (MIT, Copyright (c) 2023 shadcn) beside the vendored files. The MIT notice must accompany substantial portions of the software; the file headers referenced the license but the notice itself was absent. - Exclude site/src/vendor from scripts/check_emdash.sh: upstream comments contain em-dashes and must stay verbatim.
jaaydenh
approved these changes
Sep 22, 2026
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The agent chat uses the
@shadcn/reactMessageScroller, and #29354 has to change it to fix scroll jumps. The package ships only minified code, so a patch to it would be hard to review. Version 0.3.1 has the same defect, so an upgrade does not help.This PR copies the readable upstream source (
@shadcn/[email protected], commitb1c580c63, MIT) intosite/src/vendor/and removes the npm dependency. It does not change behavior. Each file header names the upstream tree, and each local edit must have aLOCAL CHANGEcomment.Note
Generated with Coder Agents