Skip to content

[REFACTOR] auth api 연동 1차 수정#55

Draft
Leeseoleem wants to merge 9 commits intodevfrom
refactor/auth-api-update
Draft

[REFACTOR] auth api 연동 1차 수정#55
Leeseoleem wants to merge 9 commits intodevfrom
refactor/auth-api-update

Conversation

@Leeseoleem
Copy link
Contributor

Chacnged

간단한 설명 (예: 로그인 완료 후 세션 동기화 누락 문제 해결)
수정 내용

  • 예) 로그인 성공 시 store.setSession() 호출 추가
  • 예) 기존 세션 초기화 로직 정리

📸 스크린샷 (선택)

📎 관련 이슈(선택)

예: #숫자


Todo

해당 PR 내용 관련해서 추후 해야할 일


Note

해당 PR관련해서 다른 작업자가 참고할 사항이 있다면 말해주세요!
예: npm i 로 oo 라이브 러리 설치 필요

@Leeseoleem Leeseoleem added this to the api 연결 milestone Feb 19, 2026
@Leeseoleem Leeseoleem self-assigned this Feb 19, 2026
@Leeseoleem Leeseoleem added the api 서버 api 연결 label Feb 19, 2026
@Leeseoleem Leeseoleem changed the title [REFACTOR] auth api 연동 수정 [REFACTOR] auth api 연동 1차 수정 Feb 19, 2026
Leeseoleem added a commit that referenced this pull request Feb 20, 2026
commit 2ce17ae
Author: 정은우 <136785138+Jung-eunwoo@users.noreply.github.com>
Date:   Thu Feb 19 19:44:58 2026 +0900

    !HOTFIX: #55 api 작업을 위해 선 머지 (추후 PR 머지 시 drop)
Leeseoleem added a commit that referenced this pull request Feb 20, 2026
commit 39fc882
Author: 정은우 <136785138+Jung-eunwoo@users.noreply.github.com>
Date:   Thu Feb 19 22:55:14 2026 +0900

    [Feat] 메인 페이지 api 기능 연결 (#56)

    * feat: 홈 화면 일정 목록 API 연동 및 mock 데이터 제거

    * fix: 다가오는 일정 기준을 오늘로부터 7일 이내로 변경

    * feat: 공통 EmptyContent 컴포넌트 생성 및 UpcomingScheduleSection 적용

    * fix: 홈 화면 일정 API를 GET /api/v1/home/me/schedules로 교체

    * feat: 홈 화면 인기 태그 API 연동

    * refactor: 홈 섹션 컴포넌트 ContentWrapper 반복 제거

    * style: fix lint

    * feat: 홈 화면 인기 지역 API 연동

    * refactor: isDarkBg를 isHeaderDark/isContentDark로 분리하여 헤더와 콘텐츠 배경 독립 제어

    * fix: update background color in HomeGreetingSection to bg-gray-black

    * fix: PR 리뷰 피드백 반영 - 타입 일관성, 접근성, React import 누락 수정

    * feat: UpcomingScheduleSection 일정 카드 클릭 및 타이틀 클릭 네비게이션 구현

    * feat: 홈 인사 섹션에 실제 사용자 닉네임 연동

commit 2ce17ae
Author: 정은우 <136785138+Jung-eunwoo@users.noreply.github.com>
Date:   Thu Feb 19 19:44:58 2026 +0900

    !HOTFIX: #55 api 작업을 위해 선 머지 (추후 PR 머지 시 drop)
Leeseoleem added a commit that referenced this pull request Feb 21, 2026
* chore: 불필요한 주석 제거

* feat: formatDateToServer 유틸 함수 생성

- 서버 전송용 날짜 포멧팅 함수

* Squashed commit of the following:

commit 2ce17ae
Author: 정은우 <136785138+Jung-eunwoo@users.noreply.github.com>
Date:   Thu Feb 19 19:44:58 2026 +0900

    !HOTFIX: #55 api 작업을 위해 선 머지 (추후 PR 머지 시 drop)

* Squashed commit of the following:

commit 39fc882
Author: 정은우 <136785138+Jung-eunwoo@users.noreply.github.com>
Date:   Thu Feb 19 22:55:14 2026 +0900

    [Feat] 메인 페이지 api 기능 연결 (#56)

    * feat: 홈 화면 일정 목록 API 연동 및 mock 데이터 제거

    * fix: 다가오는 일정 기준을 오늘로부터 7일 이내로 변경

    * feat: 공통 EmptyContent 컴포넌트 생성 및 UpcomingScheduleSection 적용

    * fix: 홈 화면 일정 API를 GET /api/v1/home/me/schedules로 교체

    * feat: 홈 화면 인기 태그 API 연동

    * refactor: 홈 섹션 컴포넌트 ContentWrapper 반복 제거

    * style: fix lint

    * feat: 홈 화면 인기 지역 API 연동

    * refactor: isDarkBg를 isHeaderDark/isContentDark로 분리하여 헤더와 콘텐츠 배경 독립 제어

    * fix: update background color in HomeGreetingSection to bg-gray-black

    * fix: PR 리뷰 피드백 반영 - 타입 일관성, 접근성, React import 누락 수정

    * feat: UpcomingScheduleSection 일정 카드 클릭 및 타이틀 클릭 네비게이션 구현

    * feat: 홈 인사 섹션에 실제 사용자 닉네임 연동

commit 2ce17ae
Author: 정은우 <136785138+Jung-eunwoo@users.noreply.github.com>
Date:   Thu Feb 19 19:44:58 2026 +0900

    !HOTFIX: #55 api 작업을 위해 선 머지 (추후 PR 머지 시 drop)

* chore: 선택된 날짜 타이틀 위치 수정

* refactor: 기존 signupStore 내 persist 적용

- 새로고침 시 기존에 입력된 데이터가 날아가지 않도록 보강
- 수정 이유: 추후 설정할 scheduleStore와의 통일성을 위함

* chore: planSource 타입 분리

* design: 캘린더 상단 크기 조정

* rename: formatDateToServer 파일먕 dateFormatter로 수정

- 서버 요구 포맷 변환 함수들을 모아둘 예정

* feat: schedule 관련 타입 선언

- 프론트 전용 plan 타입
- schedule 드래프트 타입

* feat(schedule): ScheduleDraftStore 구현 및 PlanDraft 유니온 구조 적용

* feat: SelectDatePage 내 날짜 저장 로직 추가

* refactor: 텍스트 버튼 제거

- 로직 변화에 따른 텍스트 버튼 제거

* fix: refresh 요청에 REFRESH-TOKEN 헤더 추가

* fix: 지역 검색 요청을 apiKeyHttp 인스턴스로 변경

* refactor: 지역 응답 타입 추가 및 쿼리 함수 적용

* refactor: 디바운스 처리 훅 개선

* fix: backPath 실제 경로에 맞게 수정

* chore: react-hot-toast 라이브러리 설치

* feat: 전역 Toaster 추가 및 기본 스타일/위치 설정

* feat: 지역 검색 전용 쿼리 훅(useSearchRegionsQuery) 생성

* reafctor: 검색 쿼리 적용 및 서버 데이커 값에 맞게 컴포넌트 수정

* design: 불필요한 스크롤 요소 제거

* feat: schedules이 비어있을 경우 노출되는 화면 추가

* chore: 테스트 용 코스 수정

* feat: 지역 저장 용 regionSelectionStore 함수 생성

* feat: SelectLocationPage 페이지 내 선택된 지역 저장 로직 추가

- session 단위로 저장
-  schedule 드래프트 타입과는 별개로 저장

* feat: 카테고리 관련 api 엔드 포인트 추가

* feat: 일정 카테고리 연동 쿼리 함수(getScheduleCategories) 생성 및 반환 타입 지정

* feat: 기존 카테고리 목록 탭 리스트를 서버에서 받아온 값으로 연동

* chore: 서버 응답 타입 위치 이동 및 상세 응답 타입 추가

* chore: 엔드 포인트 실제에 맞게 수정

* feat: 일정 카테고리 상세 조회 쿼리 함수 생성

* chore: 카테고리 선택 payload 타입 정의

* feat: 카테고리 선택 모달 컴포넌트 내 카테고리 및 상세 내용 불러오기 api 적용

* refactor: 모달 컴포넌트 props 수정에 따른 상위 컴포넌트 수정

* chore: 함수 props 수정한 값으로 통일

* chore: 태그 검색 쿼리 함수 api 키 매핑 http로 수정

* chore: 테스트 용 코드 추가

* chore: 주석 오타 수정

* refactor: Axios 인터셉터 로직 분리 및 http 초기화 파일 역할 정리

* chore: selectedCategory null 참조 가능성 방지

* fix: 서버 타입에 맞게 수정

* refactor: 기존 라이브러리 활용하여 함수 리팩토링

* chore: 삼항 연상자 수정

* chore: RegionInfoDTO 필드 선택성으로 수정

* chore: DUPLICATE 검사가 MAX 검사보다 먼저 실행되도록 수정

* fix: signup persist에서 password 저장 제외 처리

* fix: 카테고리 상세 조회 race condition 및 중복 요청 문제 해결

* chore: scrollOptionsToTop를 useCallback으로 감싸도록 수정

* chore: 문법에 맞게 수정

* chore: 안 쓰는 구문 제거
@Jung-eunwoo Jung-eunwoo marked this pull request as draft February 21, 2026 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api 서버 api 연결

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant