Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .jules/palette.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,7 @@
## 2024-07-13 - 빈 디렉토리 μƒνƒœμ˜ μ ‘κ·Όμ„±(Accessibility) κ°œμ„ 
**Learning:** 정적 파일 μ„œλ²„μ˜ 빈 디렉토리 μƒνƒœλŠ” 슀크린 리더 μ‚¬μš©μžμ—κ²Œ 컨텐츠 λˆ„λ½μœΌλ‘œ μ˜€ν•΄λ°›μ„ 수 있으며, μ‹œκ°μ μœΌλ‘œλ„ 일반 리슀트 μ•„μ΄ν…œκ³Ό 정렬이 λ§žμ§€ μ•ŠλŠ” λ¬Έμ œκ°€ μžˆμ—ˆμŠ΅λ‹ˆλ‹€.
**Action:** 빈 μƒνƒœλ₯Ό λ‚˜νƒ€λ‚΄λŠ” μš”μ†Œμ— `role="status"`λ₯Ό μΆ”κ°€ν•˜μ—¬ 슀크린 리더가 λͺ…ν™•ν•˜κ²Œ 인지할 수 μžˆλ„λ‘ ν•˜κ³ , μ•„μ΄μ½˜κ³Ό flex λ ˆμ΄μ•„μ›ƒμ„ 톡해 λ‹€λ₯Έ 리슀트 μ•„μ΄ν…œκ³Ό μΌκ΄€λœ μ‹œκ°μ  흐름을 μ œκ³΅ν•˜λ„λ‘ ν•©λ‹ˆλ‹€.

## 2026-08-07 - κΈ΄ 디렉토리 μ΄λ¦„μ˜ λͺ¨λ°”일 λ ˆμ΄μ•„μ›ƒ 깨짐 λ°©μ§€
**Learning:** `h1`κ³Ό 같은 제λͺ© μš”μ†Œμ— 곡백이 μ—†λŠ” 맀우 κΈ΄ λ¬Έμžμ—΄(예: κΈ΄ 디렉토리 이름)이 포함될 경우, κΈ°λ³Έ μ€„λ°”κΏˆ λ™μž‘μœΌλ‘œ 인해 ν…μŠ€νŠΈκ°€ μ»¨ν…Œμ΄λ„ˆλ₯Ό λ²—μ–΄λ‚˜ λͺ¨λ°”일 ν™”λ©΄μ—μ„œ λ ˆμ΄μ•„μ›ƒμ΄ κΉ¨μ§€κ±°λ‚˜ κ°€λ‘œ 슀크둀이 λ°œμƒν•  수 μžˆμŠ΅λ‹ˆλ‹€.
**Action:** κΈ΄ λ¬Έμžμ—΄μ„ λ Œλ”λ§ν•˜λŠ” 제λͺ© μš”μ†Œ(예: `h1`)μ—λŠ” 항상 `overflow-wrap: anywhere;` λ˜λŠ” `word-break: break-all;` CSS 속성을 μ μš©ν•˜μ—¬ ν…μŠ€νŠΈκ°€ μ€„λ°”κΏˆλ˜λ„λ‘ ν•˜κ³  λ°˜μ‘ν˜• λ ˆμ΄μ•„μ›ƒμ„ λ³΄ν˜Έν•˜μ‹­μ‹œμ˜€.
3 changes: 3 additions & 0 deletions src/main/kotlin/html4tree/main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ main {
max-width: 800px;
margin: 0 auto;
}
h1 {
overflow-wrap: anywhere;
}
Comment on lines +27 to +29

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

πŸ“ Maintainability & Code Quality | 🟑 Minor | ⚑ Quick win

h1 μ€„λ°”κΏˆ κ·œμΉ™μ— λŒ€ν•œ νšŒκ·€ ν…ŒμŠ€νŠΈλ₯Ό μΆ”κ°€ν•˜μ‹­μ‹œμ˜€.

제곡된 GeneratedIndexReadabilityTestλŠ” μƒμ„±λœ μŠ€νƒ€μΌμ„ κ²€μ‚¬ν•˜μ§€λ§Œ h1의 overflow-wrap 값을 ν™•μΈν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€. emittedStyle() 결과에 h1 { overflow-wrap: anywhere; }κ°€ ν¬ν•¨λ˜λŠ”μ§€ κ²€μ¦ν•˜μ‹­μ‹œμ˜€.

As per coding guidelines: β€œAny new Kotlin code or branch must have covering tests because JaCoCo enforces 100% coverage through check.”

πŸ€– Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/main/kotlin/html4tree/main.kt` around lines 27 - 29, Update
GeneratedIndexReadabilityTest to assert that emittedStyle() contains the
generated h1 rule with overflow-wrap: anywhere;. Keep the assertion focused on
the emitted h1 style so the new wrapping behavior is covered.

Source: Coding guidelines

ul {
list-style-type: none;
padding-left: 0;
Expand Down
Loading