Skip to content

🎨 Palette: Combine disk usage statistics for screen readers#405

Closed
acebytes wants to merge 1 commit into
mainfrom
palette-diskusagebar-a11y-5587707065408987166
Closed

🎨 Palette: Combine disk usage statistics for screen readers#405
acebytes wants to merge 1 commit into
mainfrom
palette-diskusagebar-a11y-5587707065408987166

Conversation

@acebytes

Copy link
Copy Markdown
Contributor

💡 What: Added .accessibilityElement(children: .combine) to the DiskUsageBar's container VStack.
🎯 Why: This change ensures that VoiceOver reads the volume name, free space, used fraction, and percentage as a single cohesive phrase, reducing tedious swiping and improving comprehension for screen reader users.
📸 Before/After: VoiceOver reads 4 disjoint items vs 1 cohesive item.
♿ Accessibility: Groups the disk statistics together for VoiceOver users.


PR created automatically by Jules for task 5587707065408987166 started by @acebytes

Co-authored-by: acebytes <2820910+acebytes@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@acebytes

Copy link
Copy Markdown
Contributor Author

Closing in favor of canonical #409, which adds the same .accessibilityElement(children: .combine) modifier in BOTH DiskUsageBar.swift AND MenuBarView.swift in one PR. Additionally, #409 applies the modifier at the OUTERMOST modifier position (after .padding() and .background()), so the combined accessibility element includes the visual frame; this PR applies it inside the chrome, which is less idiomatic for stat-card-style components.

@acebytes acebytes closed this Jun 19, 2026
@google-labs-jules

Copy link
Copy Markdown
Contributor

Closing in favor of canonical #409, which adds the same .accessibilityElement(children: .combine) modifier in BOTH DiskUsageBar.swift AND MenuBarView.swift in one PR. Additionally, #409 applies the modifier at the OUTERMOST modifier position (after .padding() and .background()), so the combined accessibility element includes the visual frame; this PR applies it inside the chrome, which is less idiomatic for stat-card-style components.

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

acebytes added a commit that referenced this pull request Jun 19, 2026
…patterns

Adds .jules/README.md with a pre-PR audit checklist and consolidates each
category file (sentinel/bolt/palette) around three new top-of-file sections:

- FIXED SITES — a table of file:line × pattern × fixing-PR. If a Jules-bot
  candidate site matches a row, the issue is already addressed; the bot
  should stop rather than open a duplicate PR.
- ANTI-PATTERNS — specific PR shapes that have been closed without merge
  on quality grounds, with the reason. Examples: raw open(path) without
  withUnsafeFileSystemRepresentation (violates Sentinel's own 2024-05-08
  rule); dictionary index maps on small @published arrays (#229
  retrospective); .accessibilityElement(children: .combine) placed before
  .padding()/.background() (#405 retrospective).
- Quality requirements — title format, mandatory PR-body content
  (specific symbol, array-size justification, scenario description),
  required Swift idioms (withUnsafeFileSystemRepresentation, defer-close,
  keypath syntax).

Also cleans up an orphaned 2026-05-02 header in sentinel.md (had no body
text) and folds in #229 (index-map retrospective) and #410 (setAttributes
fix) as learning-log entries with explicit DO-NOT-REPROPOSE flags.

Motivation: in the last 60 days the Jules bot has opened ~80+ duplicate
PRs across the three categories. Each consumes review time + CI minutes.
The audit-first protocol gives the bot a documented "is this already
done?" signal it can cross-check before opening a PR.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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