Skip to content

🎨 Palette: 빈 디렉토리(Empty State)의 UI 일관성 및 μ ‘κ·Όμ„± κ°œμ„  - #252

Closed
seonghobae wants to merge 1 commit into
masterfrom
palette-empty-state-ux-4823324895692884004
Closed

🎨 Palette: 빈 디렉토리(Empty State)의 UI 일관성 및 μ ‘κ·Όμ„± κ°œμ„ #252
seonghobae wants to merge 1 commit into
masterfrom
palette-empty-state-ux-4823324895692884004

Conversation

@seonghobae

Copy link
Copy Markdown
Collaborator

πŸ’‘ What: 빈 디렉토리λ₯Ό μ•ˆλ‚΄ν•˜λŠ” ν…μŠ€νŠΈμ— 폴더 μ•„μ΄μ½˜μ„ μΆ”κ°€ν•˜κ³  Flexbox 정렬을 μ μš©ν–ˆμœΌλ©°, ARIA role="status"λ₯Ό λΆ€μ—¬ν–ˆμŠ΅λ‹ˆλ‹€.
🎯 Why: κΈ°μ‘΄μ—λŠ” 빈 μƒνƒœκ°€ 일반 리슀트 μ•„μ΄ν…œκ³Ό μ‹œκ°μ μœΌλ‘œ λ‹€λ₯΄κ²Œ 보여 일관성이 λ–¨μ–΄μ‘ŒμœΌλ©°, 슀크린 리더 ν™˜κ²½μ—μ„œλŠ” λ‹¨μˆœνžˆ ν…μŠ€νŠΈλ§Œ μ½ν˜€ μƒνƒœ 변화에 λŒ€ν•œ λͺ…ν™•ν•œ 인지가 λΆ€μ‘±ν–ˆμŠ΅λ‹ˆλ‹€.
πŸ“Έ Before/After: λ³€κ²½ μ „ <li><div class="empty-dir">이 λ””λ ‰ν† λ¦¬λŠ” λΉ„μ–΄ μžˆμŠ΅λ‹ˆλ‹€.</div></li> μ—μ„œ λ³€κ²½ ν›„ μ•„μ΄μ½˜(&#128194;) 및 Flexbox λ ˆμ΄μ•„μ›ƒ 적용.
β™Ώ Accessibility: role="status"λ₯Ό μΆ”κ°€ν•˜μ—¬ 슀크린 리더 μ‚¬μš©μžκ°€ ν˜„μž¬ 폴더에 ν•­λͺ©μ΄ μ—†μŒμ„ μ¦‰μ‹œ μΈμ§€ν•˜λ„λ‘ κ°œμ„ ν–ˆμœΌλ©°, μž₯μ‹μš© 폴더 μ•„μ΄μ½˜μ—λŠ” aria-hidden="true"λ₯Ό μ μš©ν•˜μ—¬ ν˜Όλ™μ„ λ°©μ§€ν–ˆμŠ΅λ‹ˆλ‹€.


PR created automatically by Jules for task 4823324895692884004 started by @seonghobae

Copilot AI review requested due to automatic review settings July 23, 2026 21:01
@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.

Copilot AI 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.

Pull request overview

Improves the generated directory listing HTML’s empty-state rendering so it visually aligns with regular list items and is more accessible for screen readers.

Changes:

  • Render an empty directory entry with a folder icon and flex layout, and add role="status" for clearer announcement.
  • Update the CSS for .empty-dir to use flexbox alignment and spacing.
  • Extend the empty-directory test assertions and document the learning in .jules/palette.md.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/main/kotlin/html4tree/main.kt Adds flex styling for .empty-dir and updates empty-state markup to include an icon and role="status".
src/test/kotlin/html4tree/MainTest.kt Adds assertions to validate the new empty-state accessibility/markup.
.jules/palette.md Records the accessibility/UI consistency learning and action item for empty states.

πŸ’‘ Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 94 to 99
val htmlContent = indexFile.readText()
assertTrue(htmlContent.contains("<html lang=\"ko\">"))
assertTrue(htmlContent.contains("이 λ””λ ‰ν† λ¦¬λŠ” λΉ„μ–΄ μžˆμŠ΅λ‹ˆλ‹€."))
assertTrue(htmlContent.contains("role=\"status\""))
assertTrue(htmlContent.contains("&#128194;"))
assertTrue(htmlContent.contains("role=\"list\""))

Copy link
Copy Markdown
Collaborator Author

Closing as superseded by #262 at exact head 642fc98ae09329e158e6cba9974a7894c89dd3e3. The production markup and styling are identical; #262 additionally verifies the decorative icon's aria-hidden contract. Consolidating on the stronger test branch prevents competing conflict repair and duplicate exact-head CI.

@seonghobae seonghobae closed this Aug 5, 2026
@google-labs-jules

Copy link
Copy Markdown

Closing as superseded by #262 at exact head 642fc98ae09329e158e6cba9974a7894c89dd3e3. The production markup and styling are identical; #262 additionally verifies the decorative icon's aria-hidden contract. Consolidating on the stronger test branch prevents competing conflict repair and duplicate exact-head CI.

Understood. Acknowledging that this work is now obsolete and stopping work on this task.

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.

2 participants