Skip to content

🎨 Palette: 빈 디렉토리 μƒνƒœμ˜ μ ‘κ·Όμ„± κ°œμ„  - #603

Closed
seonghobae wants to merge 3 commits into
masterfrom
palette-ux-empty-state-8450165075859532069
Closed

🎨 Palette: 빈 디렉토리 μƒνƒœμ˜ μ ‘κ·Όμ„± κ°œμ„ #603
seonghobae wants to merge 3 commits into
masterfrom
palette-ux-empty-state-8450165075859532069

Conversation

@seonghobae

@seonghobae seonghobae commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

Verified successor: #590 (e5ba27ec8f29ec7be857bb93b80c0a3452e0a458) contains the same product change and the same two structural regressions: static empty-directory text remains visible, role="status" is removed, and list/icon semantics stay intact. #590 also repaired branch contamination and deliberately rejected the unverified cross-screen-reader claim that static role="status" universally causes duplicate/interrupted announcements. The only delta unique to this PR is that over-broad .jules/palette.md rule, which is not valid product/test/contract evidence and should not be inherited. All valid semantic/test delta is therefore fully preserved by #590; close this duplicate rather than maintaining two writers for the same change.

πŸ’‘ What: 빈 디렉토리 λ©”μ‹œμ§€ μš”μ†Œμ—μ„œ `role="status"` 속성을 μ œκ±°ν–ˆμŠ΅λ‹ˆλ‹€.
🎯 Why: μ •μ μœΌλ‘œ λ Œλ”λ§λœ μš”μ†Œμ— 라이브 리전 μ—­ν• (role="status")을 λΆ€μ—¬ν•˜λ©΄, νŽ˜μ΄μ§€ λ‘œλ“œ μ‹œ 슀크린 리더가 μ€‘λ³΅ν•΄μ„œ μ•ˆλ‚΄ν•˜κ±°λ‚˜ 읽기 흐름을 λ°©ν•΄ν•˜λŠ” μ ‘κ·Όμ„± μ•ˆν‹° νŒ¨ν„΄μ΄κΈ° λ•Œλ¬Έμž…λ‹ˆλ‹€.
πŸ“Έ Before/After: μ‹œκ°μ μΈ λ³€ν™”λŠ” μ—†μŠ΅λ‹ˆλ‹€ (슀크린 리더 κ²½ν—˜λ§Œ κ°œμ„ λ¨).
β™Ώ Accessibility: 슀크린 리더 μ‚¬μš©μžκ°€ 빈 디렉토리 μ§„μž… μ‹œ 더 이상 μ€‘λ³΅λ˜κ±°λ‚˜ ν˜Όλž€μŠ€λŸ¬μš΄ μ•ˆλ‚΄ λ©”μ‹œμ§€λ₯Ό λ°›μ§€ μ•Šκ²Œ λ©λ‹ˆλ‹€.
@google-labs-jules

Copy link
Copy Markdown

πŸ‘‹ Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a πŸ‘€ emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@coderabbitai

coderabbitai Bot commented Sep 2, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. πŸŽ‰

ℹ️ Recent review info
βš™οΈ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: 23267029-e690-47c7-85e6-8ea55494230a

πŸ“₯ Commits

Reviewing files that changed from the base of the PR and between ce55268 and aaffa72.

πŸ“’ Files selected for processing (4)
  • .jules/palette.md
  • src/main/kotlin/html4tree/main.kt
  • src/test/kotlin/html4tree/GeneratedIndexReadabilityTest.kt
  • src/test/kotlin/html4tree/MainTest.kt
πŸ’€ Files with no reviewable changes (1)
  • src/test/kotlin/html4tree/MainTest.kt

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


πŸ“ Walkthrough

Walkthrough

μ •μ μœΌλ‘œ λ Œλ”λ§λ˜λŠ” 빈 디렉토리 λ©”μ‹œμ§€μ—μ„œ role="status"λ₯Ό μ œκ±°ν–ˆμŠ΅λ‹ˆλ‹€. μƒμ„±λ˜λŠ” μ‹œκ°μ  λ©”μ‹œμ§€λŠ” μœ μ§€λ©λ‹ˆλ‹€. κ΄€λ ¨ ν…ŒμŠ€νŠΈ κΈ°λŒ€κ°’κ³Ό μ ‘κ·Όμ„± ν•™μŠ΅ ν•­λͺ©μ„ κ°±μ‹ ν–ˆμŠ΅λ‹ˆλ‹€.

Changes

빈 디렉토리 μ ‘κ·Όμ„± λ§ˆν¬μ—… μ‘°μ •

Layer / File(s) Summary
빈 디렉토리 λ§ˆν¬μ—…κ³Ό 검증 κ°±μ‹ 
.jules/palette.md, src/main/kotlin/html4tree/main.kt, src/test/kotlin/html4tree/GeneratedIndexReadabilityTest.kt, src/test/kotlin/html4tree/MainTest.kt
빈 디렉토리 λ©”μ‹œμ§€μ—μ„œ role="status"λ₯Ό μ œκ±°ν–ˆμŠ΅λ‹ˆλ‹€. κΈ°μ‘΄ μ•„μ΄μ½˜κ³Ό "이 λ””λ ‰ν† λ¦¬λŠ” λΉ„μ–΄ μžˆμŠ΅λ‹ˆλ‹€." ν…μŠ€νŠΈλŠ” μœ μ§€λ©λ‹ˆλ‹€. κ΄€λ ¨ ν…ŒμŠ€νŠΈ κΈ°λŒ€κ°’κ³Ό μ ‘κ·Όμ„± ν•™μŠ΅ ν•­λͺ©μ„ κ°±μ‹ ν–ˆμŠ΅λ‹ˆλ‹€.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Merge Risk: βšͺ Minimal Β· up to 29109

Empty-directory messages retain their visible text while no longer being announced as a live status region on initial page load. The targeted markup and test expectation are aligned, with no remaining merge-readiness risk identified.

πŸš₯ Pre-merge checks | βœ… 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 2 files. (1 skipped: 1 … Write docstrings for the functions missing them to satisfy the coverage threshold.
βœ… Passed checks (4 passed)
Check name Status Explanation
Linked Issues check βœ… Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check βœ… Passed Check skipped because no linked issues were found for this pull request.
Description Check βœ… Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check βœ… Passed 제λͺ©μ€ 빈 디렉토리 μƒνƒœμ˜ μ ‘κ·Όμ„± 변경을 μ •ν™•ν•˜κ²Œ μ„€λͺ…ν•©λ‹ˆλ‹€. λ³€κ²½μ˜ 핡심인 role="status" μ œκ±°μ™€ κ΄€λ ¨λ˜λ©°, κ°„κ²°ν•˜κ³  μ΄ν•΄ν•˜κΈ° μ‰½μŠ΅λ‹ˆλ‹€.
Full details: Docstring Coverage

Explanation

Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 2 files. (1 skipped: 1 unsupported.)

  • Fix all pre-merge checks with AI
✨ Finishing Touches πŸ’‘ 1
πŸ“ Generate docstrings πŸ’‘
  • Create stacked PR
  • Commit on current branch
πŸ§ͺ Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch palette-ux-empty-state-8450165075859532069

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

Comment @coderabbitai help to get the list of available commands.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Devin Review found 1 potential issue.

Devin Review


if(l.isEmpty()){
l.append(""" <li><div class="empty-dir" role="status"><span class="icon" aria-hidden="true">&#128194;</span> <span>이 λ””λ ‰ν† λ¦¬λŠ” λΉ„μ–΄ μžˆμŠ΅λ‹ˆλ‹€.</span></div></li>""")
l.append(""" <li><div class="empty-dir"><span class="icon" aria-hidden="true">&#128194;</span> <span>이 λ””λ ‰ν† λ¦¬λŠ” λΉ„μ–΄ μžˆμŠ΅λ‹ˆλ‹€.</span></div></li>""")

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

πŸ” Static-status contract remains stale

The readability contract still requires role="status", while the renamed behavior removes it. The test name also preserves the obsolete contract.

Devin Review

Was this helpful? React with πŸ‘ or πŸ‘Ž to provide feedback.

πŸ’‘ What: 빈 디렉토리 λ©”μ‹œμ§€ μš”μ†Œμ—μ„œ `role="status"` 속성을 μ œκ±°ν–ˆμŠ΅λ‹ˆλ‹€.
🎯 Why: μ •μ μœΌλ‘œ λ Œλ”λ§λœ μš”μ†Œμ— 라이브 리전 μ—­ν• (role="status")을 λΆ€μ—¬ν•˜λ©΄, νŽ˜μ΄μ§€ λ‘œλ“œ μ‹œ 슀크린 리더가 μ€‘λ³΅ν•΄μ„œ μ•ˆλ‚΄ν•˜κ±°λ‚˜ 읽기 흐름을 λ°©ν•΄ν•˜λŠ” μ ‘κ·Όμ„± μ•ˆν‹° νŒ¨ν„΄μ΄κΈ° λ•Œλ¬Έμž…λ‹ˆλ‹€.
πŸ“Έ Before/After: μ‹œκ°μ μΈ λ³€ν™”λŠ” μ—†μŠ΅λ‹ˆλ‹€ (슀크린 리더 κ²½ν—˜λ§Œ κ°œμ„ λ¨).
β™Ώ Accessibility: 슀크린 리더 μ‚¬μš©μžκ°€ 빈 디렉토리 μ§„μž… μ‹œ 더 이상 μ€‘λ³΅λ˜κ±°λ‚˜ ν˜Όλž€μŠ€λŸ¬μš΄ μ•ˆλ‚΄ λ©”μ‹œμ§€λ₯Ό λ°›μ§€ μ•Šκ²Œ λ©λ‹ˆλ‹€.
πŸ’‘ What: 빈 디렉토리 λ©”μ‹œμ§€ μš”μ†Œμ—μ„œ `role="status"` 속성을 μ œκ±°ν–ˆμŠ΅λ‹ˆλ‹€.
🎯 Why: μ •μ μœΌλ‘œ λ Œλ”λ§λœ μš”μ†Œμ— 라이브 리전 μ—­ν• (role="status")을 λΆ€μ—¬ν•˜λ©΄, νŽ˜μ΄μ§€ λ‘œλ“œ μ‹œ 슀크린 리더가 μ€‘λ³΅ν•΄μ„œ μ•ˆλ‚΄ν•˜κ±°λ‚˜ 읽기 흐름을 λ°©ν•΄ν•˜λŠ” μ ‘κ·Όμ„± μ•ˆν‹° νŒ¨ν„΄μ΄κΈ° λ•Œλ¬Έμž…λ‹ˆλ‹€.
πŸ“Έ Before/After: μ‹œκ°μ μΈ λ³€ν™”λŠ” μ—†μŠ΅λ‹ˆλ‹€ (슀크린 리더 κ²½ν—˜λ§Œ κ°œμ„ λ¨).
β™Ώ Accessibility: 슀크린 리더 μ‚¬μš©μžκ°€ 빈 디렉토리 μ§„μž… μ‹œ 더 이상 μ€‘λ³΅λ˜κ±°λ‚˜ ν˜Όλž€μŠ€λŸ¬μš΄ μ•ˆλ‚΄ λ©”μ‹œμ§€λ₯Ό λ°›μ§€ μ•Šκ²Œ λ©λ‹ˆλ‹€.
@seonghobae seonghobae closed this Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant