[FIX] 동아리원 관리페이지 라우팅 추가에서 반영되지 않은 수정사항 (#416)#418
Conversation
Summary of ChangesHello @ganimjeong, 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은 동아리원 관리 페이지 라우팅 추가 과정에서 발생한 반영되지 않은 수정사항을 해결합니다. 내비게이션 항목의 순서를 조정하고, Highlights
🧠 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
Activity
Using Gemini Code AssistThe 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
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 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
|
There was a problem hiding this comment.
Code Review
이 PR은 동아리원 관리 페이지 라우팅 관련 수정사항을 반영하고 있습니다. navigation.ts 파일에서 내비게이션 아이템 순서를 조정한 부분은 문제가 없어 보입니다. 하지만 routerPath.ts 파일에서 MEMBER_MANAGEMENT 경로를 수정하면서 내비게이션 링크와 실제 라우트가 일치하지 않는 문제가 발생했습니다. 이로 인해 동아리원 관리 페이지로의 이동이 실패하게 됩니다. 해당 문제를 해결하기 위한 제안을 리뷰 코멘트에 남겼으니 확인 부탁드립니다.
| CLUB_EDIT: 'clubs/:clubId/edit', | ||
| APPLICATION_FORM_BUILDER: 'clubs/:clubId/application/form/create', | ||
| MEMBER_MANAGEMENT: '/admin/clubs/:clubId/members', | ||
| MEMBER_MANAGEMENT: '/clubs/:clubId/members', |
There was a problem hiding this comment.
MEMBER_MANAGEMENT 경로가 절대 경로('/clubs/:clubId/members')로 설정되어 있어, Routes.tsx에서 /admin 부모 라우트의 경로와 합쳐지지 않습니다. 이로 인해 동아리원 관리 페이지의 URL이 /clubs/:clubId/members가 됩니다.
하지만 navigation.ts에서는 해당 페이지로의 링크가 '/admin/clubs/:clubId/members'로 설정되어 있어, 내비게이션 링크를 클릭하면 페이지를 찾을 수 없게 됩니다.
다른 ADMIN 경로들처럼 상대 경로로 수정하여 일관성을 유지하고 내비게이션 링크가 올바르게 동작하도록 해야 합니다.
| MEMBER_MANAGEMENT: '/clubs/:clubId/members', | |
| MEMBER_MANAGEMENT: 'clubs/:clubId/members', |
#️⃣연관된 이슈
📝작업 내용
스크린샷 (선택)
💬리뷰 요구사항(선택)