bug: 카테고리 수정을 동시에 여러개 할 수 있던 오류 수정 및 수정/생성 중 하나만 가능하도록 변경#139
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
""" Walkthrough이 변경은 Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant CategoryModal
User->>CategoryModal: 생성 모드 토글 클릭 (handlePlusClick)
CategoryModal->>CategoryModal: 모든 카테고리 편집 상태 false로 초기화
CategoryModal->>CategoryModal: 생성 모드 상태 토글
User->>CategoryModal: 편집 버튼 클릭 (handleModifyClick)
CategoryModal->>CategoryModal: 생성 모드 false로 설정
CategoryModal->>CategoryModal: 모든 카테고리 편집 상태 false, 에러 및 입력값 초기화
CategoryModal->>CategoryModal: 선택한 카테고리만 편집 상태 true로 설정
User->>CategoryModal: 입력 및 저장/취소
CategoryModal->>CategoryModal: 상태 반영 및 편집 모드 종료
Possibly related issues
Possibly related PRs
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
npm error Exit handler never called! 📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
✨ Finishing Touches
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
📋 작업 세부 사항
카테고리 수정 시,
선택된 창만 isEditing = true,
나머지는 isEditing = false, 기존 값 유지 되도록 수정
카테고리 생성/수정 모드가 서로 상호 배타적으로 동작하도록 수정(동시에 일어나지 않음)
🔧 변경 사항 요약
Summary by CodeRabbit