fix: add preview-only package entrypoint - #21
Conversation
|
Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow readme for more information |
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
CodeAnt AI is reviewing your PR. |
There was a problem hiding this comment.
Sorry @messagesgoel-blip, you have reached your weekly rate limit of 2500000 diff characters.
Please try again later or upgrade to continue using Sourcery
|
@coderabbitai review |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThis PR establishes a new ChangesPreview subpath export
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Action performedReview triggered.
|
|
|
CodeAnt AI finished reviewing your PR. |
✅ Action performedReview finished.
|



User description
Summary
@numeracode/whimsy-file-browser/previewas a side-effect-light preview entrypointTest plan
npm run typecheck --workspace packages/chonkynpm test --workspace packages/chonky -- --run preview-shell.test.tsxnpm run build --workspace packages/chonkynpm pack --workspace packages/chonky --dry-runDiscovered during the Whimsy preview unification spike: importing the package root evaluates legacy redux/browser modules, so preview-only consumers need a subpath.
CodeAnt-AI Description
Add a preview-only import path for file browser previews
What Changed
@numeracode/whimsy-file-browser/previewinstead of the package rootImpact
✅ Smaller preview-only imports✅ Faster preview startup in host apps✅ Fewer legacy browser dependencies loaded for preview surfaces💡 Usage Guide
Checking Your Pull Request
Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.
Talking to CodeAnt AI
Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:
This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.
Example
Preserve Org Learnings with CodeAnt
You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:
This helps CodeAnt AI learn and adapt to your team's coding style and standards.
Example
Retrigger review
Ask CodeAnt AI to review the PR again, by typing:
Check Your Repository Health
To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.
Summary by CodeRabbit
New Features
/previewsubpath export for importing preview components and utilities separately.Documentation
/previewsubpath instead of the package root, reducing unnecessary legacy runtime loading.