Skip to content

🎨 Palette: DateRangePicker 프리셋 λ²„νŠΌ μ ‘κ·Όμ„± ν–₯상#139

Closed
seonghobae wants to merge 11 commits into
developmentalfrom
palette/daterangepicker-a11y-842548458957535016
Closed

🎨 Palette: DateRangePicker 프리셋 λ²„νŠΌ μ ‘κ·Όμ„± ν–₯상#139
seonghobae wants to merge 11 commits into
developmentalfrom
palette/daterangepicker-a11y-842548458957535016

Conversation

@seonghobae

Copy link
Copy Markdown

πŸ’‘ What: DateRangePicker μ»΄ν¬λ„ŒνŠΈμ˜ 프리셋 λ²„νŠΌλ“€μ— aria-pressed 속성을 μΆ”κ°€ν•˜μ—¬ 선택 μƒνƒœλ₯Ό λͺ…μ‹œν•˜κ³ , focus-visible 클래슀λ₯Ό 톡해 ν‚€λ³΄λ“œ 포컀슀 μŠ€νƒ€μΌμ„ λΆ€μ—¬ν–ˆμŠ΅λ‹ˆλ‹€.
🎯 Why: κΈ°μ‘΄μ—λŠ” ν‚€λ³΄λ“œ νƒ­ 이동 μ‹œ μ–΄λŠ λ²„νŠΌμ— ν¬μ»€μŠ€κ°€ μžˆλŠ”μ§€ μ‹œκ°μ μœΌλ‘œ ν™•μΈν•˜κΈ° μ–΄λ €μ› μœΌλ©°, 슀크린 리더 μ‚¬μš©μžκ°€ ν˜„μž¬ ν™œμ„±ν™”λœ μ„Έκ·Έλ¨ΌνŠΈλ₯Ό μ•Œ 수 μ—†μ—ˆμŠ΅λ‹ˆλ‹€.
πŸ“Έ Before/After: ν•΄λ‹Ή μ—†μŒ (μ‹œκ°μ  κΈ°λ³Έ μƒνƒœ λ³€ν™” μ—†μŒ, 포컀슀/μŠ€ν¬λ¦°λ¦¬λ” κ°œμ„ )
β™Ώ Accessibility:

  • aria-pressedλ₯Ό 톡해 슀크린 리더에 ν˜„μž¬ μ„ νƒλœ λ²„νŠΌ μƒνƒœ 전달
  • focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1λ₯Ό 톡해 ν‚€λ³΄λ“œ λ„€λΉ„κ²Œμ΄μ…˜ μ‹œ 포컀슀 κ°€μ‹œμ„± 확보

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

seonghobae and others added 11 commits June 22, 2026 10:26
…licate calculation

`buildTimelineGroups` was calculated redundantly inside both `EventList` and `SessionActivityRibbon` inside `useMemo` hooks. This commit moves the `useMemo` computation into the parent `page.tsx` component and passes down `groups` as a prop to its children, preventing duplicate O(n) array iterations per `events` change.
Replace chained `.reduce()` and `Object.values()` with a single `for...of` loop over `Object.keys()` to avoid unnecessary intermediate array allocations and improve iteration performance during report aggregation.
overview-stats μ»΄ν¬λ„ŒνŠΈμ˜ μ„€λͺ… ν…μŠ€νŠΈλ₯Ό νŽΌμΉ˜κ±°λ‚˜ μ ‘λŠ” λ²„νŠΌμ— ν‚€λ³΄λ“œ 포컀슀 μŠ€νƒ€μΌμ΄ λˆ„λ½λ˜μ–΄ μžˆμ–΄, ν‚€λ³΄λ“œ λ‚΄λΉ„κ²Œμ΄μ…˜ μ‚¬μš©μžμ—κ²Œ ν˜„μž¬ 포컀슀 μœ„μΉ˜λ₯Ό λͺ…ν™•νžˆ 보여주지 λͺ»ν•˜λŠ” 문제λ₯Ό μˆ˜μ •ν–ˆμŠ΅λ‹ˆλ‹€.

Tailwind CSS의 `focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring rounded-sm` 클래슀λ₯Ό μΆ”κ°€ν•˜μ—¬ νƒ­(Tab) ν‚€ 이동 μ‹œ 포컀슀 링이 보이도둝 접근성을 κ°œμ„ ν–ˆμŠ΅λ‹ˆλ‹€.
- `TokenUsageChart`와 `WeeklyFlowChart`의 데이터 λ³€ν™˜ λ‘œμ§μ— `useMemo`λ₯Ό μ μš©ν•˜μ—¬ λΆˆν•„μš”ν•œ λ¦¬λ Œλ”λ§ μ΅œμ ν™”.
DateRangePicker의 프리셋 λ²„νŠΌ("7d", "30d" λ“±)에 λŒ€ν•΄:
- ν‚€λ³΄λ“œ λ‚΄λΉ„κ²Œμ΄μ…˜ μ‹œ ν¬μ»€μŠ€κ°€ λͺ…ν™•νžˆ 보이도둝 `focus-visible` Tailwind 클래슀 μΆ”κ°€
- 슀크린 리더 μ‚¬μš©μžκ°€ ν˜„μž¬ μ„ νƒλœ 기간을 μ•Œ 수 μžˆλ„λ‘ `aria-pressed` μƒνƒœ μΆ”κ°€
@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.

@seonghobae

Copy link
Copy Markdown
Author

Closing as superseded during org-wide PR triage. Keeping #213 as the canonical PR for the same overlapping topic: date range picker/accessibility. This PR is stale/conflicted or has review blockers, so retaining one current PR reduces duplicated review and merge conflict work.

@seonghobae seonghobae closed this Jul 7, 2026
@google-labs-jules

Copy link
Copy Markdown

Closing as superseded during org-wide PR triage. Keeping #213 as the canonical PR for the same overlapping topic: date range picker/accessibility. This PR is stale/conflicted or has review blockers, so retaining one current PR reduces duplicated review and merge conflict work.

Understood. Acknowledging that this work is now superseded by #213 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.

1 participant