Conversation
…find it - remove slots(cannot use without shadowDOM) - open shadowDOM
- kakao-api-loader 컴포넌트에 대한 테스트 추가 - shadowRoot 속성이 null인지 확인하는 테스트 케이스 구현
…hadowdom Resolves #32
- @lit/context 라이브러리 의존성 추가 - 카카오 맵 컨텍스트 생성을 위한 map-context.ts 파일 구현 - 컨텍스트 관련 인덱스 파일 생성
- 카카오 맵 생성 시 map-created 이벤트가 발생하는지 확인하는 테스트 케이스 구현 - component-index.html 파일에 스타일 추가 및 데이터 속성 수정
- 카카오 맵 컴포넌트를 위한 map.ts 파일 구현 - 맵 관련 속성과 이벤트 처리 로직 추가 - LatLng 및 Point 타입 정의 추가 - map-context.ts에 MapContext 타입 추가 - index.ts에서 맵 컴포넌트와 관련된 모듈 내보내기
… to .gitignore - package.json에 Cypress 테스트 스크립트 추가 - .gitignore에 스크린샷 디렉토리 추가
- 카카오 맵 컴포넌트의 다양한 이벤트(위치 이동, 줌, 클릭 등)에 대한 테스트 케이스 추가 - 드래그 가능 및 줌 가능 속성에 대한 테스트 구현 - 맵 타입 ID 속성 처리 테스트 추가
- mapTypeId 속성을 문자열에서 숫자로 변경하고, 속성 변환 로직 추가 - kakao.maps.MapTypeId에 대한 변환 기능 구현
- 카카오맵 컴포넌트에 에러 처리 메서드 추가 - KakaoMapError, KakaoMapAPIError, KakaoMapContainerError, KakaoMapOptionsError 클래스 구현 - LatLng 및 Point 타입을 확인하는 타입 가드 함수 추가 - 에러 발생 시 'kakao-map-error' 이벤트 전파 기능 추가
- GitHub Actions의 릴리스 워크플로우를 수정하여 태그 대신 main 브랜치에 푸시 시 릴리스가 이루어지도록 변경 - semantic-release 관련 패키지 추가 및 설정 파일 생성 - semantic-release 관련 의존성 추가 - 불필요한 버전 추출 및 검증 단계 제거
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨ |
User description
Resolves #8, #32, #36
PR Type
Bug fix, Enhancement, Tests
Description
Fix ShadowDOM issue with Kakao APIs
Add kakao-map component with extensive properties
Add map context for component communication
Implement semantic-release CI workflow
Changes walkthrough 📝
10 files
Add main kakao-map web componentAdd error types for Kakao map componentsAdd type guards for LatLng and Point typesAdd map context for component communicationAdd LatLng type definitionAdd Point type definitionExport map component in package indexAdd index file for map component exportsAdd index file for context exportsUpdate component test HTML with proper styling2 files
Add tests for kakao-map componentUpdate tests for api-loader without shadowDOM1 files
Remove shadow DOM to fix Kakao API issue2 files
Add semantic-release configurationUpdate GitHub workflow to use semantic-release2 files
Add dependencies and update version for semantic-releaseAdd npm-run-all dev dependency3 files