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
3 changes: 3 additions & 0 deletions .jules/palette.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,6 @@
## 2024-07-13 - 빈 디렉토리 μƒνƒœμ˜ μ ‘κ·Όμ„±(Accessibility) κ°œμ„ 
**Learning:** 정적 파일 μ„œλ²„μ˜ 빈 디렉토리 μƒνƒœλŠ” 슀크린 리더 μ‚¬μš©μžμ—κ²Œ 컨텐츠 λˆ„λ½μœΌλ‘œ μ˜€ν•΄λ°›μ„ 수 있으며, μ‹œκ°μ μœΌλ‘œλ„ 일반 리슀트 μ•„μ΄ν…œκ³Ό 정렬이 λ§žμ§€ μ•ŠλŠ” λ¬Έμ œκ°€ μžˆμ—ˆμŠ΅λ‹ˆλ‹€.
**Action:** 빈 μƒνƒœλ₯Ό λ‚˜νƒ€λ‚΄λŠ” μš”μ†Œμ— `role="status"`λ₯Ό μΆ”κ°€ν•˜μ—¬ 슀크린 리더가 λͺ…ν™•ν•˜κ²Œ 인지할 수 μžˆλ„λ‘ ν•˜κ³ , μ•„μ΄μ½˜κ³Ό flex λ ˆμ΄μ•„μ›ƒμ„ 톡해 λ‹€λ₯Έ 리슀트 μ•„μ΄ν…œκ³Ό μΌκ΄€λœ μ‹œκ°μ  흐름을 μ œκ³΅ν•˜λ„λ‘ ν•©λ‹ˆλ‹€.
## 2026-08-03 - 빈 디렉토리 μƒνƒœμ˜ μ‹œκ°μ  λͺ…ν™•μ„± κ°œμ„ 
**Learning:** 빈 μƒνƒœ(Empty State)λ₯Ό λ‹¨μˆœν•œ ν…μŠ€νŠΈλ‘œ 두면 였λ₯˜λ‘œ μ˜€μΈλ˜κ±°λ‚˜ μΈμ§€ν•˜κΈ° 어렀움. λͺ…ν™•ν•œ ν…Œλ‘λ¦¬μ™€ μ—¬λ°±, 배경색을 μΆ”κ°€ν•˜λ©΄ μ‚¬μš©μžκ°€ μ˜λ„λœ '빈 μƒνƒœ'μž„μ„ λͺ…ν™•νžˆ 인지할 수 있음.
**Action:** ν–₯ν›„ 빈 μƒνƒœ UI κ΅¬ν˜„ μ‹œ 점선 ν…Œλ‘λ¦¬(dashed border)와 쀑앙 정렬을 ν™œμš©ν•˜μ—¬ μ˜λ„λœ 곡백 κ³΅κ°„μž„μ„ μ‹œκ°μ μœΌλ‘œ κ°•μ‘°ν•  것.
24 changes: 16 additions & 8 deletions src/main/kotlin/html4tree/main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,17 @@ fun process_dir(curr_dir: File, excludeSet: Set<String>? = null, dirFiles: Array
transition: none;
}
}
.empty-dir {
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 2rem;
background-color: #f6f8fa;
border: 1px dashed #d0d7de;
border-radius: 6px;
color: #57606a;
}
@media (prefers-color-scheme: dark) {
body {
background-color: #0d1117;
Expand All @@ -302,14 +313,11 @@ fun process_dir(curr_dir: File, excludeSet: Set<String>? = null, dirFiles: Array
background-color: #161b22;
outline-color: #58a6ff;
}
}
.empty-dir {
display: flex;
align-items: flex-start;
gap: 0.5rem;
padding: 0.5rem;
opacity: 0.7;
font-style: italic;
.empty-dir {
background-color: #161b22;
border-color: #30363d;
color: #8b949e;
}
}
"""

Expand Down
Loading