Conversation
|
🚀 storybook url: https://689bfce92a7bd08f5aa1edbe-cabdlhrcoq.chromatic.com/ |
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. Walkthrough이 풀 리퀘스트는 Storybook 패키지 마이그레이션과 함께 여러 관련 변경사항을 포함합니다. Possibly related PRs
🚥 Pre-merge checks | ✅ 3 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
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: 1
🤖 Fix all issues with AI agents
In @.storybook/preview.ts:
- Around line 16-23: The Storybook nextjs config currently sets
nextjs.appDirectory: true but places route data under nextjs.router, which App
Router ignores; change the key nextjs.router to nextjs.navigation and move the
routing properties (pathname, query, asPath) under nextjs.navigation so the App
Router environment is correctly simulated for Storybook.
🧹 Nitpick comments (3)
src/stories/ProgressNotification.stories.tsx (1)
3-3: 공식 Storybook 권장사항과의 불일치 확인 필요.Storybook 공식 문서에 따르면 대부분의 Next.js 프로젝트에
@storybook/nextjs-vite를 권장하고 있습니다.@storybook/nextjs(Webpack 기반)는 custom Webpack/Babel 설정이 필수적인 경우에만 사용하도록 안내하고 있습니다.현재 코드베이스의 모든 story 파일(28개 이상)이
@storybook/nextjs로 일괄 마이그레이션되었으며, PR#255"Chore: remove unused-dependencies"에서 진행된 것으로 보입니다. Meta와 StoryObj 타입은 두 패키지 모두에서 정상 지원되므로 기능적 문제는 없습니다.다만, 공식 권장사항과 현재 상태가 맞지 않으므로 다음을 확인해 주세요:
- 이 마이그레이션이 의도적으로 진행된 것인지, 특정 의존성 이슈가 있었는지
- 혹은
@storybook/nextjs-vite로 복원하는 것이 나을지src/stories/ReportModal.stories.tsx (1)
4-4:import type을 사용하여 다른 스토리 파일과 일관성을 유지하세요.다른 스토리 파일들(
Tab.stories.tsx,Tooltip.stories.tsx,Label.stories.tsx,Dropdown.stories.tsx등)은 모두import type { Meta, StoryObj }를 사용하고 있지만, 이 파일만import { Meta, StoryObj }로 되어 있습니다.Meta와StoryObj는 타입 전용이므로import type을 사용하는 것이 적절합니다.♻️ 수정 제안
-import { Meta, StoryObj } from '@storybook/nextjs'; +import type { Meta, StoryObj } from '@storybook/nextjs';src/stories/Popover.stories.tsx (1)
5-5:type키워드 없이 타입만 임포트하고 있습니다.
Meta와StoryObj는 타입으로만 사용되므로,Footer.stories.tsx처럼import type을 사용하는 것이 일관성과 번들 최적화 측면에서 좋습니다.-import { Meta, StoryObj } from '@storybook/nextjs'; +import type { Meta, StoryObj } from '@storybook/nextjs';
ebe8463 to
4c3e95c
Compare
|
🚀 storybook url: https://689bfce92a7bd08f5aa1edbe-gvzdetfgmc.chromatic.com/ |
관련 이슈
PR 설명
@storybook/nextjs-vite,@storybook/nextjs가 혼용되고 있어,@storybook/next로 통일playwright제거@vitest/coverage-v8제거@emotion/*제거