Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Summary of ChangesHello @Hyunseong0303, 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은 사용자 경험을 향상시키기 위해 주요 UI 컴포넌트의 구조를 개선하고, 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
This PR introduces an operations team profile feature, improves the overall UI structure (header, sidebar), and implements a responsive layout, including the removal of an unnecessary save button and comment deletion functionality. However, a medium-severity vulnerability related to hardcoded secrets and authentication bypass logic has been identified. Additionally, the PR includes temporary test code that needs to be removed and some logic could benefit from improved exception handling.
|
단풍바람 운영팀 (운영진 롤링페이퍼) 예외 프로필 전용 기능 로직 추가 요거는 나중에 백엔드 API 보고 그에 맞게 수정하면 될 것 같아요. 테이블이랑 쏘는 API가 완전히 다름 원래는 backend 완성되고 나서 API 문서 보고 Frontend 작업하는 순서로들 하는데, Front 속도가 훨 빨라서 그렇게 된 거니 양해 부탁 |
백엔드 운영팀 API(PR #30)와 프론트엔드 운영팀 예외 UI를 완전히 연동합니다.
- api.ts: getTeamMembers(), getTeamMemberDetail() 추가
- TeamMemberResponse / TeamMemberDetailResponse 인터페이스 정의
- 반환값을 SettlementItem 형태로 매핑 (id: 'team-{memberId}')
- member/[id]: isAdminTeam일 때 /system/team에서 팀원 목록 조회
- SettlementListItem에 isAdminTeam prop 전달
- 빈 상태 메시지 조건부 처리
- msg/[id]: 'team-' 접두사 ID 감지 시 /system/team/{id} 상세 조회
- isTeamMember 상태 추가 → isAdminTeam 파생값에 반영
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
🔗 통합 작업 추가 커밋 (
|
- +page.svelte: 단풍바람 운영팀을 메인 캐릭터 그리드에서 제외하고
adminTeamId를 Sidebar에 전달
- Sidebar.svelte: 운영팀 한마디 링크를 /member/{adminTeamId}로 연결
(adminTeamId가 없으면 메뉴 항목 미표시)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ter API - Remove client-side filtering of admin team from character list - Remove adminTeamId prop from Sidebar (self-fetches via getAdminCharacter) - Add getAdminCharacter() API call in Sidebar.onMount for sidebar link Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
추가 변경사항 (통합 작업)
|
|
@현성 운영팀 필터링 같은건, (isAdmin?) 되도록이면 프론트가 아니라 백엔드 쪽에서 하는게 좋아유 우리 크롬 F12누르면 개발자 도구 나오는데 거기서 데이터를 까 볼수가 있으니까 가려진게 가려진게 아님(클라이언트를 믿지 마라) 그래서 이런 핵심 비즈니스 로직은 프론트가 아니라 백엔드에 해달라고 하는게 표준이랍니다 |
📋 작업 내용
userId검증 체계로 변경user.id === comment.userId)인 경우, 기존 날짜 위치(우측 상단)에 삭제 버튼 노출 및 컨펌 구현member/[id]) 및 결산 내역(msg/[id]) 페이지에서단풍바람 운영팀이라는 특정 이름을 감지(isAdminTeam)하여 UI 속성(13기, 가천대학교, 운영팀 등)을 동적 치환.🎯 관련 이슈
Closes #(이슈번호를 입력해주세요)
🤖 사용한 Prompt
name) 말고 백엔드의 고유 회원번호로 구분하게 바꿔.✅ 체크리스트
npm run check)📸 스크린샷 (선택)
💬 특이사항
dev브랜치를 기준으로 실행해야 합니다.리뷰어를 위한 가이드