-
Notifications
You must be signed in to change notification settings - Fork 0
[Refactor]: 모임생성 필드 우효~성 검사 리펙토링 #214
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
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ 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 |
🎨 Storybook Report✅ 변경 사항이 없습니다 모든 Story가 이전 빌드와 동일합니다.
|
🚀 PR Preview Report✨ Build가 성공적으로 완료되었습니다. Preview에서 변경사항을 확인하세요.
|
🎭 Playwright Report✨ E2E Test가 성공적으로 완료되었습니다. Test 요약 내용을 확인해주세요.
📊 Test Summary
📜 Test Details✅ Passed Tests (9)
|
📊 Coverage Report
📉 #214을 main에 병합하면 coverage가 Coverage 요약@@ Coverage Diff @@
## main #214 +/- ##
===========================================
- Coverage 33.68% 33.66% -0.02%
===========================================
Files 155 155 0
Lines 6551 6555 +4
Branches 250 250 0
===========================================
Hits 2207 2207 0
+ Misses 4344 4348 +4 영향받은 파일✅ 이 PR로 영향받은 파일이 없습니다 수정된 모든 파일이 현재 coverage를 유지했습니다. |
claudia99503
left a comment
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.
다음엔 우효~~~~~~~~한 검사로 해주세요.
우효~~!! 겟☆또Daze~ 초Lucky☆다~! |
📝 변경 사항
[삽질]
[그나마 한거]
2자 내외를 걸어버리면, onChange로 발생하는 경고 메세지가 글자 단 1개만 써도 즉시 튀어나오는 불쾌함이 있음.
그래서 그냥 nonEmpty만 거는걸로 셀프 합의봄 (자기 합리화).
하지만 본인같은 악질 유저들은 개발자 도구 키고 max값을 수정할 것을 알기에 zod로 300자 이내 제한함.
(물론 서버에서 막히겠지만 API 요청 자체를 원천 차단)
그래서 Enter로 입력 받는 시점에서 (기존 배열에 중복 태그는 없는지, 길이는 1~8자 인지, 총 개수가 10개를 넘지 않는지)
하드코딩 검증을 통해 우효~~한 태그만 입력받음.
🔗 관련 이슈
Closes #
🧪 테스트 방법
📸 스크린샷 (선택)
📋 체크리스트
💬 추가 코멘트
CodeRabbit Review는 자동으로 실행되지 않습니다.
Review를 실행하려면 comment에 아래와 같이 작성해주세요