Skip to content

refactor: 버튼 위치 수정 및 에러 메시지 출력 변경#159

Merged
ff1451 merged 1 commit intodevelopfrom
158-refactor-동아리-정보-관리-페이지-수정
Mar 3, 2026

Hidden character warning

The head ref may contain hidden characters: "158-refactor-\ub3d9\uc544\ub9ac-\uc815\ubcf4-\uad00\ub9ac-\ud398\uc774\uc9c0-\uc218\uc815"
Merged

refactor: 버튼 위치 수정 및 에러 메시지 출력 변경#159
ff1451 merged 1 commit intodevelopfrom
158-refactor-동아리-정보-관리-페이지-수정

Conversation

@ff1451
Copy link
Collaborator

@ff1451 ff1451 commented Mar 3, 2026

Summary by CodeRabbit

버그 수정

  • 폼 제출 오류 처리 개선 - API 오류 발생 시 각 필드별로 구체적인 에러 메시지를 표시하도록 변경되었습니다. 기존의 일반 에러 메시지는 폴백으로 유지되며, 제출 버튼의 로딩 상태는 그대로 작동합니다.

@ff1451 ff1451 self-assigned this Mar 3, 2026
@ff1451 ff1451 linked an issue Mar 3, 2026 that may be closed by this pull request
@ff1451 ff1451 merged commit 9051e24 into develop Mar 3, 2026
1 check passed
@coderabbitai
Copy link

coderabbitai bot commented Mar 3, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 78f4995 and f4ffcac.

📒 Files selected for processing (1)
  • src/pages/Manager/ManagedClubProfile/index.tsx

Walkthrough

폼 제출 영역에 API 오류 인식 렌더링을 추가합니다. isApiError 헬퍼를 사용하여 필드 수준 오류 메시지를 조건부로 렌더링하고, 기존 범용 오류 메시지는 폴백으로 유지합니다.

Changes

Cohort / File(s) Summary
API 오류 처리 개선
src/pages/Manager/ManagedClubProfile/index.tsx
isApiError 임포트를 추가하고 필드 수준 오류(error.apiError.fieldErrors)를 확인하여 세분화된 오류 메시지를 렌더링. 기존 범용 오류 메시지는 폴백으로 유지하고, 버튼의 로딩/비활성화 상태는 보존.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch 158-refactor-동아리-정보-관리-페이지-수정

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[refactor] 동아리 정보 관리 페이지 수정

1 participant