Repository navigation
refactor(frontend): AdminInfrastructurePage를 구역별 컴포넌트로 분리 - #197
Merged
Merged
Conversation
- 스타일 컴포넌트를 infrastructureStyles.ts로 옮기고 선언 순서를 유지 - 사이드바, 헤더, 요약 카드, Node 구역, 실패/만료 패널을 컴포넌트로 분리 - 상태 타입과 포맷 함수를 infrastructureModel.tsx로 이동 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Pull Request 요약관리자 페이지의 UI 컴포넌트를 파일별로 분리하여 코드량을 크게 감소시켰습니다. 사이드바, 요약, 노드 섹션, 패널, 공용 모델 및 스타일을 독립 파일로 이동했으며, 동작은 기존과 동일하고 상태 관리와 /admin/vms 분기는 페이지에 그대로 유지됩니다.
검토한 범위에서는 별도로 지적할 문제가 없습니다. 복수 모델 · 입력 36,159 · 출력 3,328 · 합계 39,487 토큰 |
sunwoo162
added a commit
that referenced
this pull request
Nov 29, 2026
Co-authored-by: sunwoo162 <205418898+sunwoo162@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
개요
큰 페이지 분해 다섯 번째입니다. 관리자 인프라 현황
src/pages/admin/AdminInfrastructurePage.tsx를 966줄 → 298줄로 줄였습니다. 동작과 화면은 바뀌지 않습니다.infrastructureStyles.tsInfrastructureNodeSection.tsxAdminSidebar.tsx·InfrastructureSummary.tsx·InfrastructurePanels.tsx·AdminHeader.tsxinfrastructureModel.tsx/admin/vms분기는 페이지에 남겼습니다. 이 분기를 빼면AdminAllVmsContent가 늦게 로드되어 CSS 주입 순서가 바뀌기 때문입니다.entities/infra-node/demo의 타입만 import합니다(AdminAllVmsContent가 이미 하던 것과 같음). 새 위반은 없습니다(127건).확인
npm run check, 전체 화면 e2e, 시각 회귀(69개 화면) 통과/admin/infra,/admin/vms,/admin/vms?expires=soon🤖 Generated with Claude Code