Skip to content

[Feat] 수리점 페이지 제작#76

Merged
jwj0620gcu merged 23 commits into
mainfrom
73-feat/수리점-페이지-제작
Feb 1, 2026

Hidden character warning

The head ref may contain hidden characters: "73-feat/\uc218\ub9ac\uc810-\ud398\uc774\uc9c0-\uc81c\uc791"
Merged

[Feat] 수리점 페이지 제작#76
jwj0620gcu merged 23 commits into
mainfrom
73-feat/수리점-페이지-제작

Conversation

@jwj0620gcu

Copy link
Copy Markdown
Collaborator

✨ 주요 변경사항

  • 수리점 페이지 UI 제작 및 카카오맵 렌더링 하여 수리점 보이도록 하게 하였습니다.

📝 작업 상세 내용

  • 수리점 페이지 UI 제작
  • 카카오맵 렌더링 및 서치바와 연결
  • 검색 결과 거리순 정렬 + 총 개수 표시
  • 마커 및 카드 상세/연락/길찾기 동작 연결

✅ 체크리스트

  • PR 본문에 Close #번호 추가
  • 불필요한 주석, 디버깅 코드 제거
  • 기능 테스트 및 정상 동작 확인
  • 커밋컨벤션 / 코드컨벤션 준수

📸 스크린샷 (선택)

2026-01-31.2.30.06.1.1.1.mov

🔍 기타 참고사항

  • 마커 색은 기존 카카오맵 마커(파란색)->민트색으로 변경했습니다.
  • 검색 상태 ui(검색 전, 검색 에러, 검색 존재 x)따로 만들었습니다.
  • 수리점 보여주는 걸 반경 5km로 했는데 서울 지역(강남, 용산 등)으로 하면 엄청 많이 나오는데 반경을 줄일까요!?

🔗 관련 이슈

@github-actions github-actions Bot added the ✨Feature 새로운 기능 label Jan 30, 2026
@github-actions

Copy link
Copy Markdown

PR 검증 결과

TypeScript: 통과
ESLint: 통과
Prettier: 통과
Test: 통과
Build: 성공
Build Size: 6MB

@KyeongJooni KyeongJooni left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다! 현재 피그마에서는 헤더사이즈와 미니맵 사이즈가 동일한 가로를 차지하는 것으로 보이는데 구현해주신 부분에서는 사이즈가 살짝 다른 것 같습니다! 확인해보시면 좋을 것 같아요!! 추가로 전체적으로 Text를 작성하실 때와 컴포넌트 속성 값들을 인라인에서 속성 설정해서 작성하고 있는데 디자인 시스템 토큰 값하고 type 스타일 확인하시고 변경하면 좋을 것 같습니다!! 👍

Comment on lines +69 to +74
CustomOverlay: new (options: {
yAnchor: number;
zIndex: number;
content?: string;
position?: unknown;
}) => KakaoOverlay;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clickable 타입 정의해야 할 것 같습니다 TypeScript 에러 발생할 수 도 있을 것 같습니다...!

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

정의해서 추가했습니다!

Comment on lines +89 to +90
Promise.all(SEARCH_KEYWORDS.map((keyword) => searchByKeyword(keyword))).then((results) => {
clearMarkers();

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

현재 검생중의 에러 발생 시 처리가 없기 때문에 에러처리를 추가하면 좋을 것 같습니다!

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

에러 처리 추가했습니다!

Comment thread src/pages/repair/model/useRepairMap.ts Outdated
const [isMapReady, setIsMapReady] = useState(false);

useEffect(() => {
const kakao = (window as Window & { kakao?: { maps?: KakaoMaps } }).kakao;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

동일한 선언이 중복되고 있는 것 같습니다 상수로 추출하거나 헬퍼 함수로 분리하면 좋을 것 같아요! 😄

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

getKakaoMaps() 헬퍼 함수로 분리했습니다!

Comment thread src/pages/repair/ui/RepairShopCard.tsx Outdated
Comment on lines +92 to +97
<Button
variant="fill"
size="full"
className="h-[44px] rounded-[var(--radius-l)] bg-[var(--color-white)] text-[var(--color-gray-900)] hover:bg-[var(--color-gray-100)]"
onClick={handleContactClick}
>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Button 컴포넌트의 variant 시스템을 사용하지 않고 직접 스타일을 덮어쓰고 있는 것 같습니다! 필요하다면 Button에 새로운 variant를 추가해서 사용하면 좋을 것 같습니다!

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Button에 새로운 variant를 추가해서 사용했습니다!

Comment thread src/app/root.tsx
Comment on lines +14 to +17
const kakaoMapKey = import.meta.env.VITE_KAKAO_JS_KEY;
const kakaoMapSrc = kakaoMapKey
? `https://dapi.kakao.com/v2/maps/sdk.js?appkey=${kakaoMapKey}&libraries=services&autoload=false`
: null;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

현재 SDK URL 직접 하드 코딩 되어있는데 상수로 분리하거나 env에 넣어서 관리하면 더 좋을 것 같습니다!

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

상수 처리했습니다!

@github-actions

Copy link
Copy Markdown

PR 검증 결과

TypeScript: 통과
ESLint: 통과
Prettier: 통과
Test: 통과
Build: 성공
Build Size: 6MB

@github-actions

Copy link
Copy Markdown

PR 검증 결과

TypeScript: 통과
ESLint: 통과
Prettier: 통과
Test: 통과
Build: 성공
Build Size: 6MB

@github-actions

Copy link
Copy Markdown

PR 검증 결과

TypeScript: 통과
ESLint: 통과
Prettier: 통과
Test: 통과
Build: 성공
Build Size: 6MB

@KyeongJooni KyeongJooni left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니다!!

@jwj0620gcu
jwj0620gcu merged commit 7b4864e into main Feb 1, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨Feature 새로운 기능

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feat] #73 - 수리점 페이지 제작

2 participants