Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📝 WalkthroughWalkthroughAdds an RFC proposing migration of the Apsara design system from Radix UI/Ariakit/Cmdk/Sonner to Base UI primitives. Describes problems with the multi-library composition (e.g., focus-scope conflicts), a phased migration scope (initially 18 of 52 components), cross-cutting API/behavior changes (examples: Suggested reviewers
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🧹 Nitpick comments (1)
docs/rfcs/001-base-ui-migration.md (1)
84-84: Quantitative claim needs evidence or scope qualifier.Line 84 states package size will reduce by 50%, but there’s no measurement context (bundle target, baseline, tooling). Add a short note on how this was estimated or label it as preliminary.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@docs/rfcs/001-base-ui-migration.md` at line 84, The statement "**Package Size:** The required package size would reduce by 50%" lacks measurement context; update the RFC by either (a) adding a short note describing how this estimate was obtained (baseline bundle, target build, tooling used, and whether minified/gzipped), or (b) rewording to a qualified claim (e.g., "preliminary estimate ~50% reduction based on [tooling/target]") so readers know the scope and confidence of the number; edit the line containing "**Package Size:**" accordingly.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@docs/rfcs/001-base-ui-migration.md`:
- Line 4: The RFC's status header currently reads "Status: Completed" but this
is an open proposal; update the status field in the document header (the
"Status:" line in the RFC text) to a tentative state such as "Proposed" or "In
Review" so it reflects that the migration is still under consideration; ensure
the change is applied to the top-level Status: field in the RFC content (replace
"Status: Completed" with "Status: Proposed" or "Status: In Review").
- Line 271: The component mapping table erroneously maps Tooltip to Sonner;
update the Tooltip row to map to the correct library used in the codebase
(change the Sonner entry to `@base-ui/react` or "Base UI") so Tooltip is
associated with Base UI instead of Sonner; locate the table row containing the
"Tooltip" label and replace its mapped library from "Sonner" to "@base-ui/react"
(or "Base UI") to match the actual implementation and the earlier note that
Sonner is used for Toast.
---
Nitpick comments:
In `@docs/rfcs/001-base-ui-migration.md`:
- Line 84: The statement "**Package Size:** The required package size would
reduce by 50%" lacks measurement context; update the RFC by either (a) adding a
short note describing how this estimate was obtained (baseline bundle, target
build, tooling used, and whether minified/gzipped), or (b) rewording to a
qualified claim (e.g., "preliminary estimate ~50% reduction based on
[tooling/target]") so readers know the scope and confidence of the number; edit
the line containing "**Package Size:**" accordingly.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: f74fa748-c088-470c-b5f6-580368dae04a
📒 Files selected for processing (1)
docs/rfcs/001-base-ui-migration.md
Summary
Preview