Skip to content

[#x] 일부 수정 - #110

Merged
jaqwe2301 merged 4 commits into
developfrom
fix/loading
Feb 18, 2026
Merged

jaqwe2301 merged 4 commits into
developfrom
fix/loading

Conversation

@junye0l

@junye0l junye0l commented Feb 17, 2026

Copy link
Copy Markdown
Member

📄 PR 내용 요약

  • 각종 수정사항 반영

✅ 작업 내용 상세

  • 정기미팅 설정 후 캐시 업데이트 기능 추가

  • 팀룸 메인에서 개별 팀원 프로필 클릭시 팀원 상세 페이지로 이동

💬 참고 사항

  • 테스트 과정에서 시간설정 후 다시 시간설정 카드를 클릭하면 로딩 페이지가 아니라 시간설정 페이지로 이동을 하는 문제가 있어서
    onSettled 메서드를 통해 서버 데이터를 동기화하는 작업으로 문제 해결하였습니다.

  • 기존 팀룸 메인에서 사용하던 myUserId 값을 컴포넌트 외부 상수로 분리하여 공통으로 사용할 수 있도록 개선했습니다.

  • 해당 ID 값으로 개별 팀원 상세 페이지로 이동할 수 있게끔 연결하였습니다.

📝 체크리스트

  • 기능이 정상 동작하는지 확인
  • 로컬 빌드/테스트 통과
  • 불필요한 코드/주석 제거

@junye0l junye0l added ✨ feature 새로운 기능 추가, 요구사항 반영 🔧 refactor 코드 리팩터링, 구조 개선, 클린 코드 작업 labels Feb 17, 2026
@github-actions
github-actions Bot requested a review from jaqwe2301 February 17, 2026 13:14
@gemini-code-assist

Copy link
Copy Markdown

Summary of Changes

Hello @junye0l, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

이 PR은 시간 선택 기능의 캐시 동기화 문제를 해결하고, 팀룸 메인 페이지에서 팀원 프로필 클릭 시 해당 팀원의 상세 페이지로 이동할 수 있도록 기능을 개선합니다. 또한, myUserId 값을 공통으로 관리하여 코드의 재사용성을 높였습니다.

Highlights

  • 캐시 동기화 개선: 정기 미팅 시간 설정 후 관련 쿼리 캐시를 업데이트하는 기능이 추가되어 데이터 동기화 문제가 해결되었습니다.
  • 팀원 상세 페이지 이동: 팀룸 메인 페이지에서 개별 팀원 프로필 클릭 시 해당 팀원의 상세 페이지로 이동할 수 있는 기능이 구현되었습니다.
  • 코드 재사용성 향상: myUserId 값을 컴포넌트 외부 상수로 분리하여 여러 곳에서 공통으로 사용할 수 있도록 개선되었습니다.
Changelog
  • src/entities/timeselect/hooks/useSubmitAvailability.ts
    • 시간 선택 제출 후 관련 쿼리 캐시를 무효화하는 onSettled 콜백이 추가되었습니다.
  • src/entities/timeselect/hooks/useSubmitPreferredBlock.ts
    • 선호 시간 블록 제출 후 관련 쿼리 캐시를 무효화하는 onSettled 콜백이 추가되었습니다.
  • src/pages/teamroom/[id]/index.tsx
    • getTeamRoomMembers를 통해 팀원 목록을 가져오고, userId와 memberId 매핑을 위한 memberIdMap 상태가 추가되었습니다.
    • myUserId 계산 로직이 컴포넌트 외부로 분리되었고, MemberListSection에 currentUserId와 onMemberClick 핸들러가 전달되어 팀원 상세 페이지로 이동할 수 있게 되었습니다.
  • src/widgets/teamroom/main/ui/MemberItem.tsx
    • onClick prop을 추가하여 클릭 가능하게 만들고, 클릭 시 커서 스타일을 적용했습니다.
  • src/widgets/teamroom/main/ui/MemberListSection.tsx
    • currentUserId와 onMemberClick prop을 추가하고, MemberItem에 클릭 핸들러를 조건부로 전달하여 개별 팀원 클릭 시 상세 페이지로 이동하도록 연결했습니다.
Activity
  • 테스트 과정에서 시간 설정 후 다시 시간 설정 카드를 클릭하면 로딩 페이지가 아닌 시간 설정 페이지로 이동하는 문제가 발견되었으며, onSettled 메서드를 통해 서버 데이터를 동기화하여 해결되었습니다.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

PR은 정기 미팅 설정 후 캐시를 업데이트하고, 팀원 프로필 클릭 시 상세 페이지로 이동하는 기능을 추가했습니다. onSettled를 사용한 캐시 무효화는 좋은 접근 방식이며, myUserId 리팩토링과 팀원 클릭 시 내비게이션 구현도 올바르게 적용되었습니다. 코드 리뷰 중 몇 가지 개선점을 발견했습니다. myUserId 계산에 useMemo를 적용하여 성능을 개선할 수 있고, useEffect 내 비동기 작업의 에러 핸들링 로직에 버그가 있어 수정이 필요합니다. 또한, 클릭 가능한 목록 아이템의 키보드 접근성을 향상시킬 수 있는 부분을 제안했습니다.

Comment thread src/pages/teamroom/[id]/index.tsx Resolved

@jaqwe2301 jaqwe2301 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

고생하셨습니다 🔥🔥🔥
코멘트 한 번만 확인 부탁드릴게요!

Comment thread src/pages/teamroom/[id]/index.tsx Resolved

@jaqwe2301 jaqwe2301 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

고생하셨습니다🔥🔥🔥

@jaqwe2301
jaqwe2301 merged commit 66599a1 into develop Feb 18, 2026
1 check passed
@jaqwe2301
jaqwe2301 deleted the fix/loading branch February 18, 2026 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ feature 새로운 기능 추가, 요구사항 반영 🔧 refactor 코드 리팩터링, 구조 개선, 클린 코드 작업

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants