Skip to content

Comments

[fix] 지원서 목록에서 지원자 목록으로 안바뀌는 문제를 수정한다#892

Merged
lepitaaar merged 1 commit intodevelop-fefrom
fix/correct-web-route
Nov 26, 2025
Merged

[fix] 지원서 목록에서 지원자 목록으로 안바뀌는 문제를 수정한다#892
lepitaaar merged 1 commit intodevelop-fefrom
fix/correct-web-route

Conversation

@lepitaaar
Copy link
Contributor

@lepitaaar lepitaaar commented Nov 26, 2025

#️⃣연관된 이슈

#891

📝작업 내용

예전 PR 컨플릭 수정중에 잘못변경되어서, 지원서 -> 지원자 목록으로 이동하지않았음

중점적으로 리뷰받고 싶은 부분(선택)

리뷰어가 특별히 봐주었으면 하는 부분이 있다면 작성해주세요

ex) 메서드 XXX의 이름을 더 잘 짓고 싶은데 혹시 좋은 명칭이 있을까요?

논의하고 싶은 부분(선택)

논의하고 싶은 부분이 있다면 작성해주세요.

🫡 참고사항

Summary by CodeRabbit

  • 개선사항
    • 관리자 페이지의 신청자 목록 표시 방식이 특정 상세 경로에서 변경되어 해당 화면이 새 뷰로 표시됩니다.
    • 이 변경으로 해당 경로에서의 신청자 목록 UI 및 동작이 업데이트되어 더 일관된 탐색 경험을 제공합니다.
    • 외부에 노출되는 기능 인터페이스에는 영향이 없습니다.

✏️ Tip: You can customize this high-level summary in your review settings.

@lepitaaar lepitaaar self-assigned this Nov 26, 2025
@lepitaaar lepitaaar added 💻 FE Frontend 🛠Fix 기능이 의도한 대로 동작하지 않는 버그를 수정 labels Nov 26, 2025
@vercel
Copy link

vercel bot commented Nov 26, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
moadong Ready Ready Preview Comment Nov 26, 2025 1:43am

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 26, 2025

Warning

.coderabbit.yaml has a parsing error

The CodeRabbit configuration file in this repository has a parsing error and default settings were used instead. Please fix the error(s) in the configuration file. You can initialize chat with CodeRabbit to get help with the configuration file.

💥 Parsing errors (1)
Validation error: Invalid regex pattern for base branch. Received: "**" at "reviews.auto_review.base_branches[0]"
⚙️ Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Walkthrough

AdminRoutes에서 applicants-list/:applicationFormId 경로가 기존 ApplicantsListTab 대신 ApplicantsTab을 렌더하도록 임포트 및 라우트 매핑을 변경합니다.

Changes

코호트 / 파일(s) 요약
관리자 라우트 컴포넌트
frontend/src/pages/AdminPage/AdminRoutes.tsx
ApplicantsTab을 임포트하고 applicants-list/:applicationFormId 네스티드 라우트의 렌더링 컴포넌트를 ApplicantsListTab에서 ApplicantsTab으로 변경

Sequence Diagram(s)

sequenceDiagram
    participant Browser as 브라우저
    participant Router as AdminRoutes
    participant ApplicantsTab as ApplicantsTab
    participant OldList as ApplicantsListTab

    Note over Router: 라우트 매핑 변경 (render target 교체)

    Browser->>Router: GET /admin/.../applicants-list/123
    alt 변경 후
        Router->>ApplicantsTab: Mount ApplicantsTab (새 컴포넌트)
        ApplicantsTab-->>Browser: Render applicants UI
    else 변경 전
        Router->>OldList: Mount ApplicantsListTab (이전 컴포넌트)
        OldList-->>Browser: Render applicants list UI
    end
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

  • 검토 포인트:
    • ApplicantsTab의 props/컨텍스트 요구 사항이 라우트에서 만족되는지 확인
    • 라우트 전환으로 인한 상태/네비게이션 영향 검토

Possibly related issues

Possibly related PRs

Suggested labels

🐞 Bug

Suggested reviewers

  • seongwon030
  • oesnuj
  • Zepelown

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed PR 제목이 변경사항의 핵심을 명확하게 설명합니다. 지원서 목록에서 지원자 목록으로의 네비게이션 문제 수정이라는 주요 변경사항을 정확하게 반영하고 있습니다.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/correct-web-route

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.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
frontend/src/pages/AdminPage/AdminRoutes.tsx (1)

12-29: 라우트 교체는 의도에 맞고, import 경로만 팀 컨벤션에 맞게 정리하면 좋겠습니다.

  • applicants-list/:applicationFormId에서 ApplicantsListTab 대신 ApplicantsTab을 쓰도록 바꾼 부분은 PR 설명과 잘 맞고, React Router v6/7 관점에서도 설정 상 문제는 없어 보입니다.
  • 다만 Line 12의 ApplicantsTab import만 상대 경로(./tabs/...)를 쓰고, 나머지 탭 컴포넌트는 모두 @/pages/... alias를 쓰고 있어서 스타일이 살짝 불일치합니다. 팀에서 alias 사용을 기본으로 하고 있다면 아래처럼 맞춰 두는 것을 권장합니다.
-import ApplicantsTab from './tabs/ApplicantsTab/ApplicantsTab';
+import ApplicantsTab from '@/pages/AdminPage/tabs/ApplicantsTab/ApplicantsTab';
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Jira integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between efe41aa and 7364656.

📒 Files selected for processing (1)
  • frontend/src/pages/AdminPage/AdminRoutes.tsx (2 hunks)
🧰 Additional context used
📓 Path-based instructions (3)
frontend/**/*.{ts,tsx,js,jsx}

📄 CodeRabbit inference engine (frontend/.cursorrules)

frontend/**/*.{ts,tsx,js,jsx}: Replace magic numbers with named constants for clarity
Replace complex/nested ternaries with if/else or IIFEs for readability
Assign complex boolean conditions to named variables for explicit meaning
Avoid hidden side effects; functions should only perform actions implied by their signature (Single Responsibility Principle)
Use unique and descriptive names for custom wrappers/functions to avoid ambiguity
Define constants near related logic or ensure names link them clearly to avoid silent failures
Break down broad state management into smaller, focused hooks/contexts to reduce coupling

Files:

  • frontend/src/pages/AdminPage/AdminRoutes.tsx
frontend/**/*.{tsx,jsx}

📄 CodeRabbit inference engine (frontend/.cursorrules)

frontend/**/*.{tsx,jsx}: Abstract complex logic/interactions into dedicated components/HOCs
Separate significantly different conditional UI/logic into distinct components
Colocate simple, localized logic or use inline definitions to reduce context switching
Choose field-level or form-level cohesion based on form requirements when using form libraries like react-hook-form
Use Component Composition instead of Props Drilling to reduce coupling

Files:

  • frontend/src/pages/AdminPage/AdminRoutes.tsx
frontend/**/*.{ts,tsx}

📄 CodeRabbit inference engine (frontend/.cursorrules)

Use consistent return types for similar functions/hooks

Files:

  • frontend/src/pages/AdminPage/AdminRoutes.tsx

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
frontend/src/pages/AdminPage/AdminRoutes.tsx (1)

12-12: ApplicantsTab import 경로 스타일 통일 제안

기존 탭 컴포넌트들은 @/pages/AdminPage/... alias 경로를 사용하는데, ApplicantsTab 만 상대 경로(./tabs/...)를 쓰고 있습니다. 동작에는 문제 없지만, 특별한 이유가 없다면 alias 경로로 맞춰 두면 이후 디렉터리 구조 변경 시 추적/수정에 더 수월할 것 같습니다.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Jira integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 7364656 and 2bdf772.

📒 Files selected for processing (1)
  • frontend/src/pages/AdminPage/AdminRoutes.tsx (2 hunks)
🧰 Additional context used
📓 Path-based instructions (3)
frontend/**/*.{ts,tsx,js,jsx}

📄 CodeRabbit inference engine (frontend/.cursorrules)

frontend/**/*.{ts,tsx,js,jsx}: Replace magic numbers with named constants for clarity
Replace complex/nested ternaries with if/else or IIFEs for readability
Assign complex boolean conditions to named variables for explicit meaning
Avoid hidden side effects; functions should only perform actions implied by their signature (Single Responsibility Principle)
Use unique and descriptive names for custom wrappers/functions to avoid ambiguity
Define constants near related logic or ensure names link them clearly to avoid silent failures
Break down broad state management into smaller, focused hooks/contexts to reduce coupling

Files:

  • frontend/src/pages/AdminPage/AdminRoutes.tsx
frontend/**/*.{tsx,jsx}

📄 CodeRabbit inference engine (frontend/.cursorrules)

frontend/**/*.{tsx,jsx}: Abstract complex logic/interactions into dedicated components/HOCs
Separate significantly different conditional UI/logic into distinct components
Colocate simple, localized logic or use inline definitions to reduce context switching
Choose field-level or form-level cohesion based on form requirements when using form libraries like react-hook-form
Use Component Composition instead of Props Drilling to reduce coupling

Files:

  • frontend/src/pages/AdminPage/AdminRoutes.tsx
frontend/**/*.{ts,tsx}

📄 CodeRabbit inference engine (frontend/.cursorrules)

Use consistent return types for similar functions/hooks

Files:

  • frontend/src/pages/AdminPage/AdminRoutes.tsx
🔇 Additional comments (1)
frontend/src/pages/AdminPage/AdminRoutes.tsx (1)

27-29: 라우팅 변경이 PR 의도와 잘 맞습니다

'applicants-list/:applicationFormId' 경로에서 ApplicantsListTab 대신 ApplicantsTab 을 렌더하도록 바뀌어, 지원서 목록에서 지원자 목록(탭) 화면으로 전환되지 않던 문제를 해결해 줄 것으로 보입니다. 상위 'applicants-list' 경로는 그대로 ApplicantsListTab 을 유지하고, 질문 상세(:questionId) 라우트도 기존대로여서 기존 흐름을 깨지 않고 버그만 정확히 수정한 변경으로 판단됩니다.

Copy link
Member

@seongwon030 seongwon030 left a comment

Choose a reason for hiding this comment

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

수정 확인했습니다~

@lepitaaar lepitaaar merged commit 7f8a549 into develop-fe Nov 26, 2025
3 checks passed
@lepitaaar lepitaaar deleted the fix/correct-web-route branch January 4, 2026 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💻 FE Frontend 🛠Fix 기능이 의도한 대로 동작하지 않는 버그를 수정

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants