Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔗 관련 이슈 (Related Issue)
📝 작업 내용
목적: “장소 요청 승인” 플로우(확인 → 초기정보 설정 → 승인 API) 1차 연동
AdminConfirmSpacePage: /places/google/resolve로 구글(짧은 링크/이름) 우선 조회, 401 등 실패 시 카카오 Places로 폴백; 더미 미사용, 영업시간 없으면 빈칸 표시
AdminInitSpaceInfoPage: 필터/좌표/주소/전화로 승인 본문 생성 후 POST /places/approve?proposalId=... 호출, 성공 시 Reviewed 탭으로 이동
API 모듈 추가: src/apis/resolveGooglePlace.ts(axiosInstance 사용, parseGeometry 포함), src/apis/approveProposal.ts
유틸 추가: src/utils/label.ts(UI 라벨 → 서버 라벨 정규화)
인증/로깅: 공통 axiosInstance 사용(Authorization 헤더), 401/에러 상세 콘솔 로깅
UI: Confirm/Init 페이지에서 SpaceInfoSimple 렌더용 방어적 기본값 적용, 필터 섹션 여백 조정
401 에러 발생으로 작업 중
✅ PR 체크리스트