Skip to content

Feature/#208 0session create focus rate#209

Merged
Rootjang92 merged 9 commits intomainfrom
feature/#208-0session-create-focusRate
Feb 27, 2026
Merged

Feature/#208 0session create focus rate#209
Rootjang92 merged 9 commits intomainfrom
feature/#208-0session-create-focusRate

Conversation

@Rootjang92
Copy link
Collaborator

작업 내용

  1. 세션 생성 폼에 집중도 범위 설정 추가
    SessionCreateForm.tsx에 집중도(focusRange) 슬라이더 UI 추가
    useMe 훅으로 내 프로필 데이터를 가져와 todoCompletionRate, focusRate를 각 슬라이더의 마커로 연동
    기존 달성도 슬라이더의 마커 라벨을 "내 달성률"로 구분
    requiredFocusRate를 하드코딩(0) 대신 실제 폼 입력값으로 전송하도록 수정

  2. 집중도 schema 추가
    schemas.ts에 requiredFocusRate 필드 추가 (0~100, 기본값 0)

  3. StepperSlide 컴포넌트 개선
    StepperSlide.tsx - myFocusLabel prop 추가로 마커 말풍선 라벨 커스터마이징 가능 (기본값: "내 집중도")

  4. QueryClient 관리 체계 리팩터링
    getQueryClient.ts 신규 생성 - 서버/클라이언트 환경별 QueryClient 싱글톤 관리
    서버: 매 요청마다 새 인스턴스 생성
    클라이언트: 싱글톤 인스턴스 재사용
    dehydrate 옵션에 pending 상태 쿼리도 포함하도록 설정
    QueryProvider.tsx, layout.tsx, createCrudHooks.ts, createSingletonHooks.ts, useMemberHooks.ts, SessionListPrefetch.tsx - new QueryClient() → getQueryClient()로 일괄 통일

  5. 기타
    proxy.ts - middleware matcher에 manifest.webmanifest 제외 추가 (매칭 에러 수정)
    불필요한 테스트 페이지 삭제 (test/onboarding, test/pagination, tokens-test)

참고 사항

코드 리뷰 시 참고할 만한 사항이나 주의할 점을 작성해주세요.

연관 이슈

close #208

@Rootjang92 Rootjang92 self-assigned this Feb 27, 2026
@Rootjang92 Rootjang92 added bug Something isn't working refactor labels Feb 27, 2026
@Rootjang92 Rootjang92 linked an issue Feb 27, 2026 that may be closed by this pull request
3 tasks
@gemini-code-assist
Copy link
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai
Copy link

coderabbitai bot commented Feb 27, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/#208-0session-create-focusRate

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Rootjang92 Rootjang92 merged commit 8bc7e04 into main Feb 27, 2026
1 check passed
@Rootjang92 Rootjang92 deleted the feature/#208-0session-create-focusRate branch February 27, 2026 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working feature refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: session create시 집중도 관련 부분 추가

2 participants