Skip to content

[fix] 관리자 지원서 작성 기능 배포 전 임시 차단#507

Merged
oesnuj merged 2 commits intodevelop-fefrom
fix/#506-disable-incomplete-application-MOA-40
Jun 6, 2025
Merged

[fix] 관리자 지원서 작성 기능 배포 전 임시 차단#507
oesnuj merged 2 commits intodevelop-fefrom
fix/#506-disable-incomplete-application-MOA-40

Conversation

@oesnuj
Copy link
Member

@oesnuj oesnuj commented Jun 6, 2025

#️⃣연관된 이슈

#506

📝작업 내용

이번 PR에서 작업한 내용을 간략히 설명해주세요(이미지/동영상 첨부 가능)

  • 클럽 지원서 기능 관련 컴포넌트와 라우트를 메인 브랜치에서 임시 비활성화
  • /admin/application-edit, /application/:clubId 접근 제거 또는 차단
  • 사이드바 내 안내 메시지 문구 개선
  • '지원 관리' 탭 클릭 시 친근한 문구로 안내
  • 추후 기능 완성 시 재활성화 예정

🫡 참고사항

해당 기능은 develop-fe 브랜치에서 계속 개발 중입니다
develop에서 다시 주석 해제 예정

Summary by CodeRabbit

  • 버그 수정
    • 사이드바의 "지원서 관리" 탭이 "지원 관리"로 변경되었습니다.
    • "계정 관리" 및 "지원 관리" 탭 클릭 시 안내 메시지가 개선되었으며, 해당 기능은 곧 오픈될 예정임을 알리는 메시지가 표시됩니다.
  • 기타
    • 일부 지원서 관련 경로가 배포를 위해 임시로 비활성화되었습니다.

@oesnuj oesnuj requested review from Copilot and seongwon030 June 6, 2025 05:23
@oesnuj oesnuj self-assigned this Jun 6, 2025
@oesnuj oesnuj added 💻 FE Frontend 🛠Fix 기능이 의도한 대로 동작하지 않는 버그를 수정 labels Jun 6, 2025
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jun 6, 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

App.tsx에서 지원서 관련 컴포넌트의 import와 라우트가 주석 처리되고, 관련 주석이 추가되었습니다. SideBar.tsx에서는 "지원서 관리" 탭이 "지원 관리"로 이름이 변경되고, 해당 탭 클릭 시 안내 알림이 뜨며 실제로는 이동이 되지 않도록 제어 로직이 추가되었습니다.

Changes

파일/경로 변경 요약
frontend/src/App.tsx AnswerApplicationForm, CreateApplicationForm import 및 라우트 주석 처리, 안내 주석 추가
frontend/src/pages/AdminPage/components/SideBar/SideBar.tsx "지원서 관리" → "지원 관리"로 명칭 변경, 해당 탭 클릭 시 안내 alert 및 이동 차단, 계정 관리 alert 문구 변경

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant SideBar
    participant Router

    User->>SideBar: "지원 관리" 탭 클릭
    SideBar->>User: 안내 alert ("동아리 지원 관리 기능은 곧 오픈돼요!\n조금만 기다려주세요 🚀")
    Note right of SideBar: 이동 차단, 라우터 동작 없음
Loading

Assessment against linked issues

Objective Addressed Explanation
사이드바에서 관리자 지원서 메뉴 숨기기 (MOA-40)
/admin/:clubId/application 접근 시 리다이렉트 처리 (MOA-40) 라우트가 주석 처리되어 접근 자체가 불가하지만, 리다이렉트 처리는 별도로 구현되지 않음
(선택) API 호출 시 403 반환 처리 (MOA-40) API 레벨에서 403 반환 처리 관련 변경 없음

Assessment against linked issues: Out-of-scope changes

해당 변경사항 중 범위 밖의 변경사항은 발견되지 않았습니다.

Possibly related issues

Possibly related PRs

Suggested reviewers

  • seongwon030

📜 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 8ecc61a and 4f9b017.

📒 Files selected for processing (2)
  • frontend/src/App.tsx (2 hunks)
  • frontend/src/pages/AdminPage/components/SideBar/SideBar.tsx (2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (3)
  • GitHub Check: Redirect rules - moadong
  • GitHub Check: Header rules - moadong
  • GitHub Check: Pages changed - moadong
🔇 Additional comments (6)
frontend/src/App.tsx (3)

17-19: 임시 차단 처리가 적절히 구현되었습니다.

지원서 관련 컴포넌트들의 import가 TODO 주석과 함께 깔끔하게 주석 처리되어 있어, 향후 재활성화 시점이 명확하게 표시되어 있습니다.


69-74: 관리자용 지원서 라우트 차단이 올바르게 구현되었습니다.

이모지와 함께 명확한 주석으로 메인 브랜치에서의 접근 차단 목적과 develop-fe 브랜치에서의 개발 계획이 잘 명시되어 있습니다.


81-86: 사용자용 지원서 라우트 차단이 일관성 있게 처리되었습니다.

관리자용과 마찬가지로 사용자용 지원서 작성 페이지도 동일한 방식으로 차단되어 전체적인 일관성이 유지되고 있습니다.

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

17-17: 탭 이름 변경이 적절합니다.

"지원서 관리"에서 "지원 관리"로 변경하여 더 간결하고 직관적인 표현이 되었습니다.


32-32: 알림 메시지가 더 친근하게 개선되었습니다.

기존 메시지보다 더 자연스럽고 친근한 톤으로 변경되어 사용자 경험이 향상되었습니다.


34-36: 지원 관리 탭 차단 로직이 올바르게 구현되었습니다.

사용자에게 기능이 곧 오픈될 예정임을 알리는 친근한 메시지와 함께 네비게이션을 차단하여 임시 차단 목적을 달성했습니다. 로켓 이모지도 기대감을 주는 좋은 터치입니다.

✨ 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.

@netlify
Copy link

netlify bot commented Jun 6, 2025

Deploy Preview for moadong ready!

Name Link
🔨 Latest commit 4f9b017
🔍 Latest deploy log https://app.netlify.com/projects/moadong/deploys/68427b6c0bbaa600085e6089
😎 Deploy Preview https://deploy-preview-507--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: 48
Accessibility: 89
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.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR temporarily disables the club application feature on the main branch by blocking its UI entry points and routes, and updates sidebar messaging for clarity.

  • Renames the sidebar tab and adds an alert to indicate the application feature is not yet available
  • Comments out related imports and routes in App.tsx to prevent access
  • Improves sidebar alert copy for consistency

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
frontend/src/pages/AdminPage/components/SideBar/SideBar.tsx Renamed “지원서 관리” tab to “지원 관리” and added an alert block for the disabled feature
frontend/src/App.tsx Commented out application-related imports and routes with TODO notes for reactivation

Comment on lines 31 to 36
if (tab.label === '계정 관리') {
alert('계정 관리 탭은 준비 중입니다☺️');
alert('계정 관리 기능은 아직 준비 중이에요. ☺️');
return;
} else if (tab.label === '지원 관리') {
alert('동아리 지원 관리 기능은 곧 오픈돼요!\n조금만 기다려주세요 🚀');
return;
Copy link

Copilot AI Jun 6, 2025

Choose a reason for hiding this comment

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

[nitpick] Relying on string comparisons of tab.label to disable a tab can be fragile; consider adding a dedicated disabled flag or checking tab.path instead so UI logic isn’t tied to the display text.

Copilot uses AI. Check for mistakes.
path='application-edit'
element={<CreateApplicationForm />}
/>
{/*🔒 메인 브랜치에서는 접근 차단 (배포용 차단 목적)*/}
Copy link

Copilot AI Jun 6, 2025

Choose a reason for hiding this comment

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

[nitpick] Rather than commenting and uncommenting large blocks of code for releases, use a feature flag or environment variable to conditionally include these routes. This keeps the code cleaner and avoids merge conflicts.

Copilot uses AI. Check for mistakes.
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.

확인했습니당

@oesnuj oesnuj merged commit 551fe47 into develop-fe Jun 6, 2025
7 checks passed
@oesnuj oesnuj deleted the fix/#506-disable-incomplete-application-MOA-40 branch July 28, 2025 06:30
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

Comments