Skip to content

fix: addteam페이지에서 사이드바 프로필 보이게 수정#80

Merged
Jieunsse merged 3 commits into
mainfrom
fix/kanban-url
Feb 24, 2026
Merged

fix: addteam페이지에서 사이드바 프로필 보이게 수정#80
Jieunsse merged 3 commits into
mainfrom
fix/kanban-url

Conversation

@Jieunsse

@Jieunsse Jieunsse commented Feb 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • addteam 페이지에서 사이드바 하단 프로필이 보이지 않던 이슈를 수정했습니다.
  • [temid] 페이지의 모바일 반응형 화면에서 gnb 속 프로필 이미지를 누르면 myprofile 페이지로 라우팅 진행했습니다.

@Jieunsse Jieunsse added this to the 페이지 milestone Feb 24, 2026
@Jieunsse Jieunsse self-assigned this Feb 24, 2026
@Jieunsse Jieunsse added the 오류수정 오류 및 에러 해결할 때 사용해주세요. label Feb 24, 2026
@Jieunsse Jieunsse added this to workers Feb 24, 2026
@github-project-automation github-project-automation Bot moved this to 개발 대기중 in workers Feb 24, 2026
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @Jieunsse, 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은 addteam 페이지에서 사이드바 하단에 사용자 프로필이 올바르게 표시되지 않던 UI 버그를 해결합니다. 현재 사용자 데이터를 가져와 Sidebar 컴포넌트에 필요한 프로필 정보를 전달함으로써, 애플리케이션 전반에 걸쳐 일관된 사용자 경험을 제공하도록 개선되었습니다.

Highlights

  • 사이드바 프로필 표시 문제 해결: addteam 페이지에서 사이드바 하단에 사용자 프로필이 보이지 않던 문제를 수정했습니다.
  • 사용자 데이터 연동: 현재 로그인된 사용자 정보를 가져오는 useCurrentUserQuery 훅을 사용하여 프로필 데이터를 동적으로 표시하도록 변경했습니다.
  • Sidebar 컴포넌트 업데이트: Sidebar 컴포넌트에 isLoggedIn, profileImage, profileName, profileTeam 등의 새로운 props를 추가하여 사용자 프로필 정보를 전달하도록 개선했습니다.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • src/app/(root)/addteam/_domain/components/AddTeamSidebarWrapper.tsx
    • ProfileImage 컴포넌트와 useCurrentUserQuery 훅을 임포트했습니다.
    • useCurrentUserQuery를 사용하여 현재 사용자 데이터를 가져오도록 추가했습니다.
    • Sidebar 컴포넌트에 isLoggedIn, profileImage, profileName, profileTeam props를 추가하고, 가져온 사용자 데이터로 이들을 채웠습니다.
Activity
  • 아직 기록된 활동이 없습니다.
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
Contributor

Choose a reason for hiding this comment

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

Code Review

addteam 페이지에서 사이드바 프로필이 보이도록 수정한 부분을 확인했습니다. useCurrentUserQuery를 사용하여 사용자 정보를 가져오는 로직이 추가되었는데, 이와 관련하여 한 가지 개선점을 제안합니다. useSuspenseCurrentUserQuery를 사용하면 UI 깜빡임 현상을 방지하고 코드를 더 간결하게 만들 수 있습니다. 자세한 내용은 아래 주석을 참고해주세요.

Comment on lines +14 to +19
isLoggedIn={!!currentUser}
profileImage={
<ProfileImage src={currentUser?.image} size="sm" variant="profile" showBorder={false} />
}
profileName={currentUser?.nickname}
profileTeam={currentUser?.email}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

이 페이지가 인증된 사용자 전용이라고 가정하면, useSuspenseCurrentUserQuery를 사용하는 것이 더 적절해 보입니다. 이렇게 하면 currentUser 데이터가 렌더링 전에 항상 존재함을 보장하여, '로그인' 버튼이 잠깐 나타났다 사라지는 UI 깜빡임 현상을 방지할 수 있습니다. 또한, 옵셔널 체이닝(?.) 없이 코드를 단순화할 수 있습니다.

이 변경사항을 적용하려면 9행에서 useCurrentUserQueryuseSuspenseCurrentUserQuery로 교체하고, 6행의 import 구문도 함께 수정해주세요.

Suggested change
isLoggedIn={!!currentUser}
profileImage={
<ProfileImage src={currentUser?.image} size="sm" variant="profile" showBorder={false} />
}
profileName={currentUser?.nickname}
profileTeam={currentUser?.email}
isLoggedIn
profileImage={
<ProfileImage src={currentUser.image} size="sm" variant="profile" showBorder={false} />
}
profileName={currentUser.nickname}
profileTeam={currentUser.email}

@Jieunsse Jieunsse merged commit 5f7b0bd into main Feb 24, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from 개발 대기중 to 개발 완료 in workers Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

오류수정 오류 및 에러 해결할 때 사용해주세요.

Projects

Status: 개발 완료

Development

Successfully merging this pull request may close these issues.

1 participant