-
Notifications
You must be signed in to change notification settings - Fork 5
[UI] 코드 정리 & 구조 변경 #151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
[UI] 코드 정리 & 구조 변경 #151
Conversation
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
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
이 PR은 Docker Korea Documentation의 코드 정리 및 구조 변경을 목적으로 SPA 기반 구조와 네비게이션 컴포넌트의 모듈화를 도입하고, 기존 CSS 및 테스트 코드 또한 정리합니다.
- SPA 구조와 nav-component로 네비게이션 모듈 분리
- 관련 테스트 코드 및 CSS 파일 정리 및 업데이트
- Markdown 렌더링과 breadcrumb 기능 업데이트
Reviewed Changes
Copilot reviewed 18 out of 23 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tests/table-contents.test.ts | 기존 Table of contents CSS 클래스 검증 테스트 제거 |
| tests/nav.test.ts | 기존 네비게이션 초기화 테스트를 NavComponent 기반으로 재작성 |
| src/styles/style.css, not_found.css, content_style.css | 불필요하거나 중복된 CSS 제거 및 수정 |
| src/scripts/* | 네비게이션 관련 코드 모듈화 및 Markdown, breadcrumb 기능 개선 |
| src/data/, public/docs/ | 관련 데이터 및 문서 파일 추가/수정 |
Comments suppressed due to low confidence (1)
tests/table-contents.test.ts:103
- 테이블 목차의 제목 요소에 적용된 CSS 클래스에 대한 검증 테스트가 제거되었습니다. 새 구조에 맞춰 UI 스타일 일관성을 확인할 수 있는 테스트 추가를 고려해주세요.
});
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.
구조 변경
index.html: SPA임을 명확히 하기 위해 기본 골격만 남기도록 변경nav-component: nav 관련 HTML 구조를 웹 컴포넌트로 분리src/data/nav/...:get-started경로와guides경로별로 필요한 데이터를 분리 -> 이를 이용해nav컴포넌트의 목록으로 사용test/...: 변경된 구조에 맞춰 테스트 코드 수정코드 정리
로고 제거: 생각보다 US 트래픽이 있어서, 공식 문서가 아님을 명확히 하기 위해서 로고를 제거하고 텍스트로 수정다른 분들과의 작업 충돌을 최소화하기 위해 구조만 잡은 상황이라, 계속해서 수정될 내용입니다(오류 없음).