Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hotfix] #159 배포 로그인 버그 #160

Closed
wants to merge 593 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
593 commits
Select commit Hold shift + click to select a range
e0770b8
✨Feat: createChatRoom
shlee9999 Dec 4, 2024
02e7f04
Merge branch 'develop' into 42-feature/walk-realtime
ruehan Dec 4, 2024
f373bb5
🐛 Fix: React.FC 제거
ruehan Dec 4, 2024
009021e
🐛 Fix: 불필요한 이스케이프 문자 수정
ruehan Dec 4, 2024
44b1722
🎨 Design: style 파일 수정
ruehan Dec 4, 2024
6796c19
Merge branch '42-feature/walk-realtime' of https://github.com/prgrms-…
ruehan Dec 4, 2024
00b2303
Update settings.json
shlee9999 Dec 4, 2024
d7c08cd
📝 Docs: 주석 제거
ruehan Dec 4, 2024
a983522
🐛 Fix: 이스케이프 문자 수정
ruehan Dec 4, 2024
9063b51
🐛 Fix: throttle 함수 수정
ruehan Dec 4, 2024
be3a953
Merge pull request #120 from prgrms-web-devcourse-final-project/109-f…
shlee9999 Dec 4, 2024
0795016
🐛 Fix: 강아지 프로필 유효성 검증 로직 수정
wonill Dec 4, 2024
db61e87
🐛 Fix: 불필요한 부분 제거
ruehan Dec 4, 2024
784bf50
✨Feat: 친구목록 데이터 바인딩
shlee9999 Dec 4, 2024
4b8c201
✨Feat: familyRole
shlee9999 Dec 4, 2024
97b2a5c
✨ Feat: 산책 로그 페이지 api 추가
wonill Dec 4, 2024
3ee5a86
🎨Design: ChatItem UnreadChatCount
shlee9999 Dec 4, 2024
de25fec
🐛 Fix: Warning 수정
ruehan Dec 4, 2024
5a65d1a
✨Feat: 프로필 페이지 데이터 바인딩 (임시로 마이페이지 API로 작성)
shlee9999 Dec 4, 2024
bac2ce0
🐛 Fix: 산책 상세 내역 조회 api 수정
wonill Dec 4, 2024
2beb2e7
🔧Chore: react-query -> @tanstack/react-qeury
shlee9999 Dec 4, 2024
e405228
✨Feat: QueryClientProvider
shlee9999 Dec 4, 2024
c1e5691
🔨Setting: http -> https
shlee9999 Dec 4, 2024
bf6f54e
Merge pull request #121 from prgrms-web-devcourse-final-project/setti…
shlee9999 Dec 4, 2024
278682b
Merge branch 'develop' of https://github.com/prgrms-web-devcourse-fin…
shlee9999 Dec 4, 2024
48f3a25
Merge branch 'develop' into 42-feature/walk-realtime
ruehan Dec 4, 2024
d26f1d8
Merge pull request #119 from prgrms-web-devcourse-final-project/42-fe…
ruehan Dec 4, 2024
bfe1a7a
📝 Docs: utils에 DateFormat 추가
wonill Dec 4, 2024
e77f8b2
📝 Docs: dateFormat 추가
wonill Dec 4, 2024
905381a
Merge pull request #123 from prgrms-web-devcourse-final-project/122-f…
wonill Dec 4, 2024
d5d4f94
Merge branch 'develop' of https://github.com/prgrms-web-devcourse-fin…
shlee9999 Dec 4, 2024
d9c32a8
♻️ Refactore : ENUM 타입 명시
kimjuyoung99 Dec 4, 2024
ac1380a
Merge pull request #124 from prgrms-web-devcourse-final-project/setti…
shlee9999 Dec 4, 2024
a7be0c6
Merge branch 'develop' of https://github.com/prgrms-web-devcourse-fin…
shlee9999 Dec 4, 2024
16d4b50
Merge branch 'develop' of https://github.com/prgrms-web-devcourse-fin…
kimjuyoung99 Dec 4, 2024
b62f033
🐛 fix : 수정사항
kimjuyoung99 Dec 4, 2024
0c6c6bc
Merge branch 'develop' of https://github.com/prgrms-web-devcourse-fin…
kimjuyoung99 Dec 4, 2024
16dc678
✨Feat: useCreateChatRoom
shlee9999 Dec 4, 2024
7d66bb6
✨ Feat: 산책 분석 모달 데이터 바인딩
wonill Dec 4, 2024
f3fa97b
✨Feat: useSocialData
shlee9999 Dec 4, 2024
a40d450
🐛Fix: chatRoomId DOM 에러
shlee9999 Dec 4, 2024
e0acd79
✨ Feature : useSearchParam으로 로그인 토큰 localstorage 저장
kimjuyoung99 Dec 4, 2024
80977b4
✨ Feature : 비로그인 상태일 경우 login 화면 router처리
kimjuyoung99 Dec 4, 2024
e56dc0d
✨Feat: useFetchProfile
shlee9999 Dec 4, 2024
0a61c61
✨Feat: ChatItem createRoom 적용
shlee9999 Dec 4, 2024
25e84d5
🐛Fix: ProfilePage 깜빡임
shlee9999 Dec 4, 2024
5db69b4
✨ Feature : 회원탈퇴 기능 구현
kimjuyoung99 Dec 4, 2024
8a3c9b0
✨ Feat: 산책로그 페이지 달력 데이터 바인딩
wonill Dec 4, 2024
9899f73
🐛Fix: FamilyDDangPage DogProfile props
shlee9999 Dec 4, 2024
8d94b72
✨Feat: ProfilePage meta data
shlee9999 Dec 4, 2024
68aa435
✨Feat: lighthouse에 profile url 등록
shlee9999 Dec 4, 2024
1f03b73
✨Feat: 홈페이지 데이터 바인딩
shlee9999 Dec 4, 2024
e02610a
임시저장
wonill Dec 4, 2024
d32203a
✨Feat: useHomePageData
shlee9999 Dec 4, 2024
75a4cdf
Merge branch '113-feature/register-dog-profile-api' of https://github…
kimjuyoung99 Dec 4, 2024
afa8736
🐛 Fix : 소셜로그인 - 견주정보 등록 성공, 강아지정보등록 실패
kimjuyoung99 Dec 4, 2024
99451e7
✨ Feat: 반려견 이미지 업로드시 multipart-formData를 전송하는 형태로 수정
wonill Dec 4, 2024
32a31d0
✨ Feat: 산책 로그 페이지 데이터바인딩 완료
wonill Dec 4, 2024
ee423a7
✨ Feat: 반려견 등록 유효성 검증 로직 추가
wonill Dec 5, 2024
89783e7
Merge branch '113-feature/register-dog-profile-api' of https://github…
kimjuyoung99 Dec 5, 2024
e5c5b43
🐛 Fix: 이미지 업로드 안 되는 문제 수정
wonill Dec 5, 2024
7853119
✨ Feature : mypage 데이터 바인딩, dogProfile 컴포넌트 이미지 바인딩
kimjuyoung99 Dec 5, 2024
ed5725a
✨ Feature : token 없으면 footer 누르면 login 이동
kimjuyoung99 Dec 5, 2024
11abcd9
✨ Add : alert 메세지 추가
kimjuyoung99 Dec 5, 2024
bfffe48
✨Feat: ErrorBoundary, Suspense
shlee9999 Dec 5, 2024
449ff86
✨ Feat: 백엔드 수정사항 반영
wonill Dec 5, 2024
a85bed3
✨Feat: 프로필 페이지 ErrorBoundary, Suspense 적용
shlee9999 Dec 5, 2024
d2d49d5
♻️Refactor: else문 제거
shlee9999 Dec 5, 2024
819f3e2
✨Feat: queryKey
shlee9999 Dec 5, 2024
90963f5
🎨 Design: 기록 없을 때 보여주는 이미지 화면 크기에 따라 잘리는 문제 수정
wonill Dec 5, 2024
7390324
Merge pull request #126 from prgrms-web-devcourse-final-project/44-fe…
shlee9999 Dec 5, 2024
dfaea14
Merge branch 'develop' of https://github.com/prgrms-web-devcourse-fin…
shlee9999 Dec 5, 2024
5f59c79
🐛 Fix : 토큰 헤더에서 추출, 회원가입 완료 시 home 으로 navigate
kimjuyoung99 Dec 5, 2024
52e52d3
🐛 Fix : 주석삭제
kimjuyoung99 Dec 5, 2024
060a319
✨Feat: queryKey homePageData
shlee9999 Dec 5, 2024
a5e8458
♻️ Refactor : Common.ts에 정의된 FamilyRole 타입 활용
kimjuyoung99 Dec 5, 2024
c423671
✨Feat: 홈페이지 ErrorBoundary, Suspense 적용 및 api 수정
shlee9999 Dec 5, 2024
d9d7b54
✨Feat: icon, button svg 추가 및 적용
shlee9999 Dec 5, 2024
cff5501
🎨Design: cursor pointer 적용
shlee9999 Dec 5, 2024
94fb2f0
Merge pull request #128 from prgrms-web-devcourse-final-project/127-f…
shlee9999 Dec 5, 2024
1d6cf2a
🐛 Fix : 소셜로그인 Naver 주석처리 (구현X)
kimjuyoung99 Dec 5, 2024
a6f5b43
Merge branch 'develop' of https://github.com/prgrms-web-devcourse-fin…
kimjuyoung99 Dec 5, 2024
ae1ed27
🔨 Setting : Errorboundery 라이브러리 설치
kimjuyoung99 Dec 5, 2024
7818e50
🐛 Fix : 라이트하우스 오류, 안쓰는 import 주석처리
kimjuyoung99 Dec 5, 2024
66a06d8
🐛 Fix : DeleteMemberResponse 타입을 빈 객체({})에서 Record<string, never>로 변경
kimjuyoung99 Dec 5, 2024
f2fd4ef
♻️ Refactor : DogProfile props 데이터 바인딩
kimjuyoung99 Dec 5, 2024
304c841
♻️ Refactor: 컴포넌트 분리 및 공통 타입
wonill Dec 5, 2024
10a7415
🐛 Fix : 강아지 정보 바인딩 수정
kimjuyoung99 Dec 5, 2024
1d8e126
임시저장
wonill Dec 5, 2024
f556b12
🐛 Fix : 강아지 이미지 업로드 수정
kimjuyoung99 Dec 5, 2024
3d3cd32
🐛 Fix : DogProfileType optional처리
kimjuyoung99 Dec 5, 2024
49693a4
🐛 Fix : birthDate 전역변수명 수정
kimjuyoung99 Dec 5, 2024
1f2bbba
🐛 Fix: 다른 강아지 타입에 산책 횟수 추가
ruehan Dec 5, 2024
de8fe0f
✨ Feat: 강번따 리스트 기능 구현
ruehan Dec 5, 2024
c5bcf1f
🐛 Fix : 타입 변환
kimjuyoung99 Dec 5, 2024
73c0d8b
♻️ Refactor: 성별 타입 수정
wonill Dec 5, 2024
9bcd9ed
✨Feat: 알림 데이터 바인딩 - 무한 스크롤
shlee9999 Dec 5, 2024
0764520
♻️Refactor: useObserver 분리
shlee9999 Dec 5, 2024
53c77b2
📝 Docs: DogProfileType api에 맞게 수정
wonill Dec 5, 2024
c11d18e
🐛 Fix: 타입 수정하면서 발생한 오류 수정
wonill Dec 5, 2024
125ce3f
🐛 Fix: 웹소켓 타입 수정
ruehan Dec 5, 2024
6ae9bd3
🎨 Design : 패밀리댕 수정페이지, 코드공유페이지 초기설정
kimjuyoung99 Dec 5, 2024
257ad7f
✨ Feat: 강번따 기능 구현 및 더미 테스트
ruehan Dec 5, 2024
aa85bea
🐛 Fix : 회원가입 token 수정
kimjuyoung99 Dec 5, 2024
b0bb385
✨ Feat: 강번따 요청 및 제안 수락 기능 구현
ruehan Dec 5, 2024
c173d3d
🎨 Design : 코드공유페이지 UI작업
kimjuyoung99 Dec 5, 2024
24c1dd7
🐛 Fix : 헤더 토큰 오류 해결
kimjuyoung99 Dec 5, 2024
077a81a
🐛 Fix: Geolocation 주소 불러오기 오류 수정
wonill Dec 5, 2024
a1bd39a
Merge branch '113-feature/register-dog-profile-api' of https://github…
wonill Dec 5, 2024
fa6cb53
🐛 fix : svg 소문자 변경
kimjuyoung99 Dec 5, 2024
20caf52
♻️Refactor: useInfiniteNotificationList 분리
shlee9999 Dec 6, 2024
b32e9d9
🚀Perf: reduce loader delay from 1s to 0.5s for infinite scroll
shlee9999 Dec 6, 2024
7b148a2
🐛Fix: 알림 생성 날짜 처리 수정
shlee9999 Dec 6, 2024
3b350a6
✨ Feat : 로그아웃 기능 구현
kimjuyoung99 Dec 6, 2024
8aa8037
♻️Refactor: PaginationResponse 분리
shlee9999 Dec 6, 2024
97dbdf7
🐛 Fix: 내 주소 불러오기 기능 버그 수정
wonill Dec 6, 2024
6dac04f
✨Feat: InfiniteScrollTrigger
shlee9999 Dec 6, 2024
34922eb
✨ Feature : 내 주소 바로 불러오기 useEffect 사용
kimjuyoung99 Dec 6, 2024
a27cb0b
📝 Docs: positionLabelMap 공통 컴포넌트로 분리
wonill Dec 6, 2024
919e11d
🎨 Design : 패밀리댕 코드공유 페이지 UI 완성
kimjuyoung99 Dec 6, 2024
3c589c4
♻️ Refactor: api 스니펫에 맞게 수정
wonill Dec 6, 2024
35a94c7
✨Feat: 알림창 ErrorBoundary, Suspense 적용
shlee9999 Dec 6, 2024
440fe96
🐛 Fix : 환경변수 파싱, 스니펫 최신버전으로 수정
kimjuyoung99 Dec 6, 2024
0d3be3a
♻️ Refactor : 회원가입 api 스니펫 최신버전으로 수정
kimjuyoung99 Dec 6, 2024
a364551
🐛 Fix : theme 삭제
kimjuyoung99 Dec 6, 2024
be57127
♻️ Refactor : 환경변수 파싱(BACK_URL)
kimjuyoung99 Dec 6, 2024
043a6e3
Merge pull request #132 from prgrms-web-devcourse-final-project/38-fe…
shlee9999 Dec 6, 2024
da435fb
✨ Feat: 강번따 응답 기능 구현
ruehan Dec 6, 2024
e9e8b8e
🐛 Fix: 빌드 오류 해결
ruehan Dec 6, 2024
e5ff69e
Merge pull request #129 from prgrms-web-devcourse-final-project/51-fe…
wonill Dec 6, 2024
f11f4ea
♻️ Refactor: 산책 로그 페이지 리액트 쿼리 적용
wonill Dec 6, 2024
21cb460
Merge branch 'develop' into 118-feature/walk-record-page-api
wonill Dec 6, 2024
6b72f9f
Merge branch 'develop' into 130-feature/walk-gangbuntta
ruehan Dec 6, 2024
ac0dc75
♻️ Refactor: 사용하지 않는 코드 삭제
wonill Dec 6, 2024
80f3b89
Merge branch 'develop' of https://github.com/prgrms-web-devcourse-fin…
wonill Dec 6, 2024
d63af24
✨Feat: 채팅 무한 스크롤 & 스크롤 위치 유지
shlee9999 Dec 6, 2024
10faea4
♻️Refactor: useScrollPreservation 분리
shlee9999 Dec 6, 2024
a4d5645
Merge branch 'develop' of https://github.com/prgrms-web-devcourse-fin…
shlee9999 Dec 6, 2024
5ff14b1
♻️ Refactor: 반려견 프로필 등록 페이지 리팩토링
wonill Dec 6, 2024
7ac4b14
🎨 Design: 반려견 정보 수정 페이지 UI
wonill Dec 6, 2024
420780a
🐛Fix: createRegister 토큰 저장 로직
shlee9999 Dec 7, 2024
5141318
✨Feat: 채팅 구현을 위해 memberId 임시 추가
shlee9999 Dec 7, 2024
ec9d824
✨Feat: memberId로 채팅 전송자가 나인지 판단
shlee9999 Dec 7, 2024
748a1aa
✨Feat: ChatModalHeader
shlee9999 Dec 7, 2024
9aff982
✨ Feature : 메세지, 내산책 알림 설정 기능 구현, token Bearer 제외
kimjuyoung99 Dec 7, 2024
4717721
🐛 Fix : Authorization 코드 수정
kimjuyoung99 Dec 7, 2024
4b9e44b
🐛Fix: SendMessageForm의 채팅방 생성 기능 삭제
shlee9999 Dec 7, 2024
940e964
🐛 Fix : 알람설정 강번따 제외하고 구현
kimjuyoung99 Dec 7, 2024
bf9ce0f
♻️ Refactor : OwnerProfileType 설정
kimjuyoung99 Dec 7, 2024
1de524f
🐛 Fix : ownerProfile 타입 수정
kimjuyoung99 Dec 7, 2024
2b9ed27
🐛 Fix : FamilyRole 변수명 변경
kimjuyoung99 Dec 7, 2024
97012b3
🐛 Fix : FamilyRole 타입 매칭
kimjuyoung99 Dec 7, 2024
a091f12
Merge branch 'develop' of https://github.com/prgrms-web-devcourse-fin…
kimjuyoung99 Dec 7, 2024
7878a8f
🐛 Fix : 패밀리댕 수정페이지 임시처리
kimjuyoung99 Dec 7, 2024
eda2a30
✨Feat: 웹소켓 채팅 구현
shlee9999 Dec 7, 2024
7bcd98f
✨ Feature : 홈화면, 마이페이지 email 받음
kimjuyoung99 Dec 7, 2024
99b24ca
Merge pull request #136 from prgrms-web-devcourse-final-project/39-de…
wonill Dec 7, 2024
d957b55
✨ 강아지 프로필 수정 추가
wonill Dec 7, 2024
36059e7
Merge pull request #135 from prgrms-web-devcourse-final-project/134-f…
wonill Dec 7, 2024
cf9fe67
Merge branch 'develop' of https://github.com/prgrms-web-devcourse-fin…
shlee9999 Dec 7, 2024
c4c13bb
🐛 Fix: queryKey 충돌 해결
wonill Dec 7, 2024
b356148
Merge pull request #133 from prgrms-web-devcourse-final-project/118-f…
wonill Dec 7, 2024
66bba9c
📝 Docs: deveop merge 후 충돌 해결
wonill Dec 7, 2024
3bd81d8
✨Feat: requestFriend API
shlee9999 Dec 7, 2024
0b6d9b4
✨Feat: 유저 데이터 HomePage 데이터에서 추출
shlee9999 Dec 7, 2024
c3aae1f
🐛Fix: memberId Error
shlee9999 Dec 7, 2024
b2a0da9
🐛Fix: 상대방 소켓 입장 시 이상 데이터 넣어지는 문제
shlee9999 Dec 7, 2024
d30f759
🐛Fix: 웹소켓 연결 후 채팅방 입장 가능
shlee9999 Dec 7, 2024
3b39349
✨Feat: 푸터 UnreadChatCount
shlee9999 Dec 7, 2024
b916f37
🐛Fix: WebSocketProvider 위치 조정
shlee9999 Dec 7, 2024
5a63f55
🔨Setting: lint 설정 수정
shlee9999 Dec 7, 2024
921b54f
✨ Feature : 알림 상태 불러오기 기능 구현
kimjuyoung99 Dec 7, 2024
64a73e2
Merge pull request #138 from prgrms-web-devcourse-final-project/134-f…
kimjuyoung99 Dec 7, 2024
dc7bb76
Merge pull request #137 from prgrms-web-devcourse-final-project/40-fe…
shlee9999 Dec 7, 2024
1e7eee2
✨ Feature : 강아지 프로필 중성화여부, 몸무게 데이터 바인딩, CSS 수정
kimjuyoung99 Dec 7, 2024
c5c8fe6
✨ Featuer : 마이페이지 svg 파일 및 포지션 한글 바인딩
kimjuyoung99 Dec 7, 2024
7b9b41b
🐛 Fix : 강아지 프로필 seperater 스타일 수정
kimjuyoung99 Dec 7, 2024
5d3117b
Merge pull request #139 from prgrms-web-devcourse-final-project/134-f…
kimjuyoung99 Dec 7, 2024
0a4e3fc
✨ Feat: 반려견 정보 수정 페이지 기능 구현
wonill Dec 7, 2024
2f4d8df
✨Feat: Spinner
shlee9999 Dec 8, 2024
dd87f28
Design: PageLoader, ErrorFallback
shlee9999 Dec 8, 2024
fe158d9
🔨Setting: Update PWA Options
shlee9999 Dec 8, 2024
bf182a5
🐛Fix: 아이콘 경로
shlee9999 Dec 8, 2024
c2ba387
🎨Design: UnreadChatCount
shlee9999 Dec 8, 2024
02fa392
🔨Setting: Update PWA Options
shlee9999 Dec 8, 2024
151a0bb
Merge pull request #141 from prgrms-web-devcourse-final-project/4-fea…
shlee9999 Dec 8, 2024
96ca6fe
Merge pull request #140 from prgrms-web-devcourse-final-project/131-d…
shlee9999 Dec 8, 2024
ad78334
🎨 Design: 가족 초대코드 생성페이지 UI 제작
wonill Dec 8, 2024
5ed8c6b
✨ Feat: 타이머 생성
wonill Dec 8, 2024
422aeb2
✨Feature : 견주 데이터 바인딩
kimjuyoung99 Dec 8, 2024
9b6b3fc
✨ Feat: 초대코드 무한생성
wonill Dec 8, 2024
012dcc0
✨Feat: Modal Animations
shlee9999 Dec 8, 2024
143b509
🐛Fix: modal -> navigate, fade 딜레이
shlee9999 Dec 8, 2024
996fd36
🎨Design: 프로필 아바타 배경색 변경
shlee9999 Dec 8, 2024
9d4fc25
🐛Fix: 불필요한 import문 제거
shlee9999 Dec 8, 2024
efc4b4c
✨Feat: 404 Page
shlee9999 Dec 8, 2024
8db29cb
Merge pull request #143 from prgrms-web-devcourse-final-project/142-f…
shlee9999 Dec 8, 2024
c4e7329
Merge pull request #144 from prgrms-web-devcourse-final-project/102-d…
shlee9999 Dec 8, 2024
c2efa84
✨ Feat: 강번따 기능 구현 및 산책 완료 페이지 구현
ruehan Dec 8, 2024
5efadbc
🐛 Fix: 에러 수정
ruehan Dec 8, 2024
296be97
✨ Feat: 가족 초대 기능 추가
wonill Dec 8, 2024
b7ead61
✨ Feat: 확인모달 추가
wonill Dec 8, 2024
da11c05
🎨 Design: 아이폰 새로고침 막기, 반려견 등록페이지 글자 색상 수정
wonill Dec 8, 2024
a6db3a4
🎨 Design: 반려견 주인여부 확인 페이지 강아지 나이 표시되도록 수정
wonill Dec 8, 2024
a0ae7c7
✨ 견주정보수정기능 구현
kimjuyoung99 Dec 9, 2024
951ebc5
✨ 견주정보수정기능 구현
kimjuyoung99 Dec 9, 2024
48c4445
✨Feat: 알림 웹소켓
shlee9999 Dec 9, 2024
e507b83
🐛 Fix : 아바타 수정 실시간 반영 수정
kimjuyoung99 Dec 9, 2024
dab92bc
✨ Feat: 초대받은 유저 가족으로 등록
wonill Dec 9, 2024
db951e3
✨Feat: 웹소켓 푸시 알림 (백그라운드X)
shlee9999 Dec 9, 2024
5d71f3a
📝 Docs: develop branch 병합
wonill Dec 9, 2024
10a9b36
✨ Feature : 패밀리 데이터 바인딩( 강아지는 컴포넌트로 따로 불러올 예정)
kimjuyoung99 Dec 9, 2024
dfeed15
🐛 Fix : 사용 안하는 아이콘 삭제
kimjuyoung99 Dec 9, 2024
64fe8f0
✨Feat: 여러 푸시알림 고려하여 개선
shlee9999 Dec 9, 2024
5b506b9
✨ Feature : 누적산책 횟수, 거리, 칼로리 데이터 바인딩
kimjuyoung99 Dec 9, 2024
d470e90
🐛 Fix : Mypage 총 산책 데이터 컴포넌트 수정
kimjuyoung99 Dec 9, 2024
1ccacbc
🐛 Fix: 마이페이지에서 강아지 수정 버튼 보이는 현상 수정
wonill Dec 9, 2024
bf87cba
🔥 Delete : UPdateMemberModal 폴더 삭제
kimjuyoung99 Dec 9, 2024
a188c29
✨ Feat: 모달 슬라이드 적용
wonill Dec 9, 2024
9d7c1dd
🐛 Fix : 패밀리댕 수정중
kimjuyoung99 Dec 9, 2024
cf8ed00
✨Feat: UnreadCircle
shlee9999 Dec 9, 2024
e1b4f1f
✨ Feat: 초대 코드 클립보드에 복사하고 공유하기 기능 추가
wonill Dec 9, 2024
bfb19f3
🐛 Fix: 빌드 오류 수정
wonill Dec 9, 2024
f0d4a2d
✨Feat: 알림 구독
shlee9999 Dec 9, 2024
1696e3b
✨ Feature : 패밀리댕 데이터 바인딩
kimjuyoung99 Dec 9, 2024
e0c7c68
🐛 Remove : 주석삭제
kimjuyoung99 Dec 9, 2024
4d865b0
✨Feat: 웹소켓 새로운 채팅방 생성
shlee9999 Dec 9, 2024
89e4148
🐛Fix: 홈페이지 unreadNotificationCount
shlee9999 Dec 9, 2024
52c9f3b
🐛 Fix : hook 호출 장애물 early return 삭제
kimjuyoung99 Dec 9, 2024
0d987d2
Merge pull request #152 from prgrms-web-devcourse-final-project/113-f…
wonill Dec 9, 2024
1352fba
Merge pull request #145 from prgrms-web-devcourse-final-project/130-f…
wonill Dec 9, 2024
24f3e75
Merge branch 'develop' into 48-feature/familyddang-update
kimjuyoung99 Dec 9, 2024
b248d76
🐛 Fix : 머지 오류 수정
kimjuyoung99 Dec 9, 2024
1b211f8
Merge pull request #151 from prgrms-web-devcourse-final-project/48-fe…
kimjuyoung99 Dec 9, 2024
aeb234b
🐛Fix useToken & useSubscribe
shlee9999 Dec 9, 2024
d25ff2d
♻️Refactor: 필요없는 코드 제거
shlee9999 Dec 9, 2024
6b5818b
Merge branch 'develop' of https://github.com/prgrms-web-devcourse-fin…
shlee9999 Dec 9, 2024
2582640
Merge pull request #153 from prgrms-web-devcourse-final-project/150-f…
shlee9999 Dec 9, 2024
340a138
🐛Fix: Footer PageLoader 영향 X
shlee9999 Dec 9, 2024
7d97a70
🐛Fix: Logout 시 Suspense 에러
shlee9999 Dec 9, 2024
014633e
✨Feat: "랑" "이랑" 구분
shlee9999 Dec 9, 2024
e1dc564
✨Feat: 홈페이지 가족 역할에 컬러적용
shlee9999 Dec 9, 2024
f89a88d
✨Feat: clearModal
shlee9999 Dec 9, 2024
2f8a955
🐛Fix: WalkAnalysisModal
shlee9999 Dec 9, 2024
4810d3f
🐛Fix: 채팅 입력창 안보이는 버그
shlee9999 Dec 9, 2024
2a64959
✨Feat: 로그인 페이지 로고 추가
shlee9999 Dec 9, 2024
b2fa4e1
🎨 Design: 패밀리댕 페이지 ui 개선
wonill Dec 9, 2024
ec0a58d
Merge pull request #157 from prgrms-web-devcourse-final-project/155-f…
shlee9999 Dec 9, 2024
43c5ef8
Merge pull request #156 from prgrms-web-devcourse-final-project/154-f…
shlee9999 Dec 9, 2024
80c4f95
🚨Hotfix: useChatList
shlee9999 Dec 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ module.exports = {
root: true,
env: { browser: true, es2020: true, node: true },
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:react-hooks/recommended'],
ignorePatterns: ['dist', '.eslintrc.cjs'],
ignorePatterns: ['dist', '.eslintrc.cjs', 'vite.config.ts'],
parser: '@typescript-eslint/parser',
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': ['warn', { allowConstantExport: true }],
'@typescript-eslint/no-explicit-any': 'off',
},
}
30 changes: 30 additions & 0 deletions .github/auto_assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
addReviewers: true
addAssignees: author

reviewers:
- saseungmin
- ruehan
- shlee9999
- wonill
- kimjuyoung99

numberOfReviewers: 2 # requiredReviewers를 제외한 추가 리뷰어 수

requiredReviewers:
- saseungmin

useReviewGroups: true # 리뷰 그룹 사용 활성화

reviewGroups:
required:
- saseungmin
optional:
- ruehan
- shlee9999
- wonill
- kimjuyoung99

skipKeywords:
- wip

filterUserReviewer: true
10 changes: 10 additions & 0 deletions .github/workflows/auto_assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: 'Auto Assign Reviewer'
on:
pull_request:
types: [opened, reopened]

jobs:
add-reviews:
runs-on: ubuntu-latest
steps:
- uses: kentaro-m/auto-assign-action@v1.2.1
57 changes: 57 additions & 0 deletions .github/workflows/delete_branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Delete Merged Branches

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

permissions:
contents: write

jobs:
delete-merged-branches:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}

- name: Delete old merged branches
run: |
echo "Starting branch cleanup process..."

git config --global user.name 'github-actions'
git config --global user.email 'github-actions@github.com'

echo "Switching to develop branch..."
git checkout develop

echo "Current time: $(date)"

# 원격 브랜치 최신 정보 업데이트
git fetch --prune origin

echo "Checking for merged branches older than 7 days..."
git branch -r --merged develop | \
grep -v 'origin/main\|origin/develop' | \
while read branch; do
branch_name=${branch#origin/}
echo "Checking branch: $branch_name"

# 마지막 커밋 날짜 확인
last_commit_date=$(git log -1 --format=%cd $branch)
echo "Last commit date: $last_commit_date"

if [[ $(git log -1 --since='7 days ago' $branch) == "" ]]; then
echo "Branch '$branch_name' is older than 7 days and will be deleted"
git push origin --delete $branch_name || echo "Failed to delete branch: $branch_name"
else
echo "Branch '$branch_name' is still active (less than 7 days old)"
fi
done

echo "Branch cleanup process completed"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
148 changes: 95 additions & 53 deletions .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jobs:
env:
NODE_AUTH_TOKEN: ''

- name: Build project
run: npm run lint

- name: Build project
run: npm run build

Expand All @@ -61,62 +64,101 @@ jobs:
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const fs = require('fs');
const reportPath = './lhci_reports/manifest.json';
const fs = require('fs')

const REPORT_PATH = './lhci_reports/manifest.json'
const SCORE_EMOJIS = {
HIGH: '🟢',
MEDIUM: '🟠',
LOW: '🔴',
}

const getScoreEmoji = score => {
if (score >= 90) return SCORE_EMOJIS.HIGH
if (score >= 50) return SCORE_EMOJIS.MEDIUM
return SCORE_EMOJIS.LOW
}

const formatScore = score => Math.round(score * 100)

const generateReportForUrl = report => {
const {
url,
details: { audits },
summary,
} = report

const sections = [
`## ${url}`,
generateMetricsTable(summary),
generateDetailedMetricsTable(audits),
generateSecurityTable(audits),
]

if (!fs.existsSync(reportPath)) {
console.log('No Lighthouse report found');
return;
return sections.join('\n\n')
}

const results = JSON.parse(fs.readFileSync(reportPath));
// 중앙값 결과 찾기
const medianResult = results.find(entry => entry.isRepresentativeRun);
const details = JSON.parse(fs.readFileSync(medianResult.jsonPath));
const { summary } = medianResult;
const { audits } = details;

const formatResult = (res) => Math.round(res * 100);

Object.keys(summary).forEach(
(key) => (summary[key] = formatResult(summary[key]))
);

const score = (res) => (res >= 90 ? "🟢" : res >= 50 ? "🟠" : "🔴");

// 기본 성능 메트릭
const performanceMetrics = [
`# ⚡ Lighthouse Report`,
`| Category | Score |`,
`| --- | --- |`,
`| ${score(summary.performance)} Performance | ${summary.performance} |`,
`| ${score(summary.accessibility)} Accessibility | ${summary.accessibility} |`,
`| ${score(summary['best-practices'])} Best Practices | ${summary['best-practices']} |`,
`| ${score(summary.seo)} SEO | ${summary.seo} |`
].join('\n');

// 상세 메트릭
const detailedMetrics = [
`\n### Detailed Metrics`,
`| Metric | Value |`,
`| --- | --- |`,
`| ${score(audits['first-contentful-paint'].score * 100)} First Contentful Paint | ${audits['first-contentful-paint'].displayValue} |`,
`| ${score(audits['largest-contentful-paint'].score * 100)} Largest Contentful Paint | ${audits['largest-contentful-paint'].displayValue} |`,
`| ${score(audits['total-blocking-time'].score * 100)} Total Blocking Time | ${audits['total-blocking-time'].displayValue} |`,
`| ${score(audits['cumulative-layout-shift'].score * 100)} Cumulative Layout Shift | ${audits['cumulative-layout-shift'].displayValue} |`,
`| ${score(audits['speed-index'].score * 100)} Speed Index | ${audits['speed-index'].displayValue} |`
].join('\n');

// 보안 검사 결과
const securityChecks = [
`\n### Security Checks`,
`| Check | Status | Details |`,
`| --- | --- | --- |`,
`| CSP-XSS | ${audits['csp-xss'] ? (audits['csp-xss'].score === 1 ? '✅' : '⚠️') : '❓'} | ${audits['csp-xss'] ? audits['csp-xss'].title : 'Not available'} |`
].join('\n');

const comments = performanceMetrics + '\n' + detailedMetrics + '\n' + securityChecks;
core.setOutput('comments', comments);
const generateMetricsTable = summary => {
return [
'### Performance Metrics',
'| Category | Score |',
'| --- | --- |',
`| Performance | ${getScoreEmoji(summary.performance)} ${summary.performance} |`,
`| Accessibility | ${getScoreEmoji(summary.accessibility)} ${summary.accessibility} |`,
`| Best Practices | ${getScoreEmoji(summary['best-practices'])} ${summary['best-practices']} |`,
`| SEO | ${getScoreEmoji(summary.seo)} ${summary.seo} |`,
].join('\n')
}

const generateDetailedMetricsTable = audits => {
return [
'### Detailed Metrics',
'| Metric | Value |',
'| --- | --- |',
`| First Contentful Paint | ${getScoreEmoji(audits['first-contentful-paint'].score * 100)} ${audits['first-contentful-paint'].displayValue} |`,
`| Largest Contentful Paint | ${getScoreEmoji(audits['largest-contentful-paint'].score * 100)} ${audits['largest-contentful-paint'].displayValue} |`,
`| Total Blocking Time | ${getScoreEmoji(audits['total-blocking-time'].score * 100)} ${audits['total-blocking-time'].displayValue} |`,
`| Cumulative Layout Shift | ${getScoreEmoji(audits['cumulative-layout-shift'].score * 100)} ${audits['cumulative-layout-shift'].displayValue} |`,
`| Speed Index | ${getScoreEmoji(audits['speed-index'].score * 100)} ${audits['speed-index'].displayValue} |`,
].join('\n')
}

const generateSecurityTable = audits => {
return [
'### Security Checks',
'| Check | Status | Details |',
'| --- | --- | --- |',
`| CSP-XSS | ${audits['csp-xss'] ? (audits['csp-xss'].score === 1 ? '✅' : '⚠️') : '❓'} | ${audits['csp-xss']?.title || 'Not available'} |`,
].join('\n')
}

const generateLighthouseReports = () => {
if (!fs.existsSync(REPORT_PATH)) {
console.error('No Lighthouse report found')
return null
}

try {
const results = JSON.parse(fs.readFileSync(REPORT_PATH))
const medianResults = results.filter(entry => entry.isRepresentativeRun)

const reports = medianResults.map(result => ({
url: result.url,
details: JSON.parse(fs.readFileSync(result.jsonPath)),
summary: Object.fromEntries(Object.entries(result.summary).map(([key, value]) => [key, formatScore(value)])),
}))

return ['# ⚡ Lighthouse Reports', ...reports.map(report => generateReportForUrl(report))].join('\n\n')
} catch (error) {
console.error('Error generating Lighthouse reports:', error)
return null
}
}

const comments = generateLighthouseReports()
if (comments) {
core.setOutput('comments', comments)
}

- name: Comment PR
if: github.event_name == 'pull_request'
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"typescript.preferences.importModuleSpecifier": "non-relative"
"typescript.preferences.importModuleSpecifier": "non-relative",
}
67 changes: 59 additions & 8 deletions .vscode/typescript.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,70 @@
"import { styled } from 'styled-components'",
"",
"export const ${1:${TM_DIRECTORY/^.+\\\\(.*)$/$1/}} = styled.div`",
" $2",
"`;"
]
" ${2}",
"`;",
],
},
"Typescript React Styled Components in Mac": {
"scope": "typescript",
"prefix": "scmac",
"body": [
"import { styled } from 'styled-components'",
"",
"export const ${3:${TM_DIRECTORY/.*\\/(.*)$/$1/}} = styled.div`",
" $2",
"`;"
]
}
"export const ${1:${TM_DIRECTORY/.*\\/(.*)$/$1/}} = styled.div`",
" ${2}",
"`;",
],
},
"Axios Request Function": {
"prefix": "api-req",
"body": [
"import { AxiosError } from 'axios';",
"import { APIResponse, ErrorResponse } from '~types/api';",
"import { axiosInstance } from '~apis/axiosInstance';",
"",
"export type ${1:${TM_FILENAME_BASE/(.*)/${1:/pascalcase}/}}Request = {",
" ${2}",
"}",
"",
"export type ${1:${TM_FILENAME_BASE/(.*)/${1:/pascalcase}/}}Response = {",
" ${3}",
"}",
"",
"export const ${4:${TM_FILENAME_BASE/(.*)/${1:/camelcase}/}} = async (req: ${1:${TM_FILENAME_BASE/(.*)/${1:/pascalcase}/}}Request): Promise<APIResponse<${1:${TM_FILENAME_BASE/(.*)/${1:/pascalcase}/}}Response>> => {",
" try {",
" const { data } = await axiosInstance.${5|get,post,put,patch,delete|}<APIResponse<${1:${TM_FILENAME_BASE/(.*)/${1:/pascalcase}/}}Response>>(",
" `/${6:endpoint}`,",
" req",
" );",
" return data;",
" } catch (error) {",
" if (error instanceof AxiosError) {",
" const { response } = error as AxiosError<ErrorResponse>;",
"",
" if (response) {",
" const { code, message } = response.data",
" switch (code) {",
" case 400:",
" throw new Error(message || '잘못된 요청입니다.')",
" case 401:",
" throw new Error(message || '인증에 실패했습니다.')",
" case 500:",
" throw new Error(message || '서버 오류가 발생했습니다.')",
" default:",
" throw new Error(message || '알 수 없는 오류가 발생했습니다.')",
" }",
" } ",
" // 요청 자체가 실패한 경우",
" throw new Error('네트워크 연결을 확인해주세요')",
" ",
" }",
"",
" console.error('예상치 못한 에러:', error);",
" throw new Error('다시 시도해주세요');",
" }",
"};",
],
"description": "Axios request function template with error handling",
},
}
Loading
Loading