Skip to content

[feature] 관리자페이지 사이드바에 지원서 제작 탭 추가#489

Merged
seongwon030 merged 2 commits intodevelop-fefrom
feature/#488-add-application-tab-to-admin-sidebar-MOA-34
Jun 4, 2025
Merged

[feature] 관리자페이지 사이드바에 지원서 제작 탭 추가#489
seongwon030 merged 2 commits intodevelop-fefrom
feature/#488-add-application-tab-to-admin-sidebar-MOA-34

Conversation

@seongwon030
Copy link
Member

@seongwon030 seongwon030 commented Jun 4, 2025

#️⃣연관된 이슈

ex) #488

📝작업 내용

  • 지원서 제작 label추가 fcfa2f3
  • admin 하위 경로로 이동 17620cc
스크린샷 2025-06-04 13 21 15

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

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

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

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

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

🫡 참고사항

Summary by CodeRabbit

  • New Features
    • 사이드바에 "지원서 관리" 탭이 추가되었습니다. 해당 탭을 통해 지원서 생성 및 관리를 할 수 있습니다.
  • Refactor
    • 지원서 생성 페이지가 별도의 경로에서 관리자(admin) 경로 하위로 이동되었습니다.

- 관리자 전용 기능이므로 관리자 페이지 내부로 라우트를 이동하여 구조를 정리함.
@seongwon030 seongwon030 requested a review from oesnuj June 4, 2025 04:21
@seongwon030 seongwon030 self-assigned this Jun 4, 2025
@seongwon030 seongwon030 added ✨ Feature 기능 개발 🔨 Refactor 코드 리팩토링 💻 FE Frontend labels Jun 4, 2025
@netlify
Copy link

netlify bot commented Jun 4, 2025

Deploy Preview for moadong ready!

Name Link
🔨 Latest commit 17620cc
🔍 Latest deploy log https://app.netlify.com/projects/moadong/deploys/683fc9e2ac46ea0008fa703a
😎 Deploy Preview https://deploy-preview-489--moadong.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 38
Accessibility: 87
Best Practices: 92
SEO: 92
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jun 4, 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.
  • 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

라우팅 구조가 변경되어 CreateApplicationForm 컴포넌트의 경로가 /create-application에서 /admin/application-edit로 이동하였고, 해당 라우트는 이제 어드민 전용 라우트의 하위로 포함되었습니다. 또한, 사이드바에 "지원서 관리" 탭이 추가되었습니다.

Changes

파일(들) 변경 요약
frontend/src/App.tsx CreateApplicationForm 라우트를 /admin/application-edit로 이동 및 기존 라우트 삭제, 관련 TODO 주석 제거
frontend/src/pages/AdminPage/components/SideBar/SideBar.tsx 사이드바 탭 배열에 "지원서 관리" 탭 추가, SidebarButton 컴포넌트 렌더링 포맷 소폭 수정

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant SideBar
    participant Router
    participant CreateApplicationForm

    User->>SideBar: "지원서 관리" 탭 클릭
    SideBar->>Router: /admin/application-edit 경로로 이동
    Router->>CreateApplicationForm: 컴포넌트 렌더링
Loading

Assessment against linked issues

Objective Addressed Explanation
createApplicationForm 을 admin 경로 안으로 이동 (MOA-34)
사이드바에 '지원서 제작' 탭 추가 (MOA-34)

Assessment against linked issues: Out-of-scope changes

(해당 사항 없음)

Possibly related issues


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 879786c and 17620cc.

📒 Files selected for processing (2)
  • frontend/src/App.tsx (1 hunks)
  • frontend/src/pages/AdminPage/components/SideBar/SideBar.tsx (2 hunks)
🔇 Additional comments (3)
frontend/src/App.tsx (1)

68-71:

Details

✅ Verification successful

라우팅 구조 개선이 잘 구현되었습니다.

지원서 제작 기능을 관리자 전용 라우트 하위로 이동시킨 것은 보안과 구조적 측면에서 올바른 결정입니다. PrivateRoute로 보호되어 인증된 관리자만 접근할 수 있게 되었습니다.

기존 /create-application 경로를 사용하던 링크나 북마크가 있는지 확인해주세요. 필요시 리다이렉트 처리를 고려해보시기 바랍니다.


🏁 Script executed:

#!/bin/bash
# 기존 create-application 경로 사용을 확인
rg -n "create-application" --type tsx --type ts --type js --type jsx

Length of output: 96


🏁 Script executed:

#!/usr/bin/env bash
# 기존 create-application 경로 사용을 전체 텍스트 파일에서 확인
rg -n "create-application" --glob '*.{tsx,ts,js,jsx}'

Length of output: 53


create-application 경로 참조 없음 확인
전체 코드베이스를 검색한 결과 create-application 문자열이 더 이상 사용되지 않으므로, 내부 링크 파손 이슈가 없습니다.
추가적인 리다이렉트 처리는 필요치 않습니다.

frontend/src/pages/AdminPage/components/SideBar/SideBar.tsx (2)

18-18: 사이드바 탭 추가가 올바르게 구현되었습니다.

새로운 "지원서 관리" 탭이 기존 탭 배열에 적절히 추가되었고, App.tsx에서 정의된 라우트 경로와 일치합니다.


66-67: 코드 포맷팅 개선이 적용되었습니다.

JSX 요소의 닫는 괄호를 새 줄로 이동시켜 가독성이 향상되었습니다.

✨ Finishing Touches
  • 📝 Generate Docstrings

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@codecov
Copy link

codecov bot commented Jun 4, 2025

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...src/pages/AdminPage/components/SideBar/SideBar.tsx 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

Copy link
Member

@oesnuj oesnuj left a comment

Choose a reason for hiding this comment

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

지원서 관리 탭 추가 좋습니다~ 🚀

@seongwon030 seongwon030 merged commit 33b931b into develop-fe Jun 4, 2025
7 of 8 checks passed
@seongwon030 seongwon030 deleted the feature/#488-add-application-tab-to-admin-sidebar-MOA-34 branch June 4, 2025 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💻 FE Frontend ✨ Feature 기능 개발 🔨 Refactor 코드 리팩토링

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants