π¨ Palette: [μ κ·Όμ± κ°μ ] ContextSection μ»΄ν¬λνΈ μ κ·Όμ± ν₯μ#161
π¨ Palette: [μ κ·Όμ± κ°μ ] ContextSection μ»΄ν¬λνΈ μ κ·Όμ± ν₯μ#161seonghobae wants to merge 11 commits into
Conversation
β¦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`λ₯Ό μ μ©νμ¬ λΆνμν 리λ λλ§ μ΅μ ν.
β¦y-improvements-7782421783208925042
β¦data-8534904799192449677
β¦tats-focus-1138085163110647654
β¦-loops-in-reports-11490543380196529130
β¦line-groups-memo-10280015208843955185
ContextSection(μμ½λμΈ/ν κΈ UI) μ»΄ν¬λνΈμ μ€ν¬λ¦° 리λ λ° ν€λ³΄λ μ¬μ©μλ₯Ό μν μ κ·Όμ± μμ±μ μΆκ°νμ΅λλ€. - `useId`λ₯Ό μ¬μ©νμ¬ κ³ μ ID μμ± - λ²νΌμ `aria-controls` μμ±μ μΆκ°νμ¬ ν κΈλλ μ½ν μΈ μμκ³Ό μλ―Έλ‘ μ μΌλ‘ μ°κ²° - μ½ν μΈ μμμ `id` μμ± μΆκ° - μ€ν¬λ¦° 리λμ λΆνμν λ Έμ΄μ¦λ₯Ό μ€μ΄κΈ° μν΄ μ₯μμ© νμ΄ν μμ΄μ½μ `aria-hidden="true"` μ μ©
|
π 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 New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
|
Closing as superseded during org-wide PR triage. Keeping #210 as the canonical PR for the same overlapping topic: ContextSection/accessibility accordion. 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 obsolete and stopping work on this task. |
π‘ What
ContextSection(μ κ·Όμ± ν κΈ/μμ½λμΈ UI) μ»΄ν¬λνΈμ μ κ·Όμ± κ΄λ ¨ ARIA μμ±λ€μ μΆκ°νμ΅λλ€.π― Why
μ€ν¬λ¦° 리λ μ¬μ©μκ° ν΄λΉ λ²νΌμ΄ μ΄λ€ μμμ μ μ΄νλμ§ λͺ νν μ μ μκ² νκ³ (aria-controls), μ₯μμ© νμ΄ν μμ΄μ½μ΄ λΆνμνκ² μ½νλ κ²(aria-hidden)μ λ°©μ§νμ¬ λ λμ μ κ·Όμ±(a11y) κ²½νμ μ 곡νκΈ° μν¨μ λλ€.
βΏ Accessibility
useId()ν μ μ¬μ©ν΄ κ³ μ νcontentIdλ₯Ό μμ±νμ¬ μΆ©λ λ°©μ§<button>νκ·Έμaria-controls={contentId}μ°κ²°<div>μ½ν μΈ λνΌμid={contentId}λΆμ¬ChevronUp,ChevronDownμμ΄μ½μaria-hidden="true"μΆκ°νμ¬ μ€ν¬λ¦° 리λ λ Έμ΄μ¦ μ κ±°PR created automatically by Jules for task 13167010230897217924 started by @seonghobae