Skip to content

Remove dead code and add accessibility labels#80

Open
zmanian wants to merge 1 commit intomcintyre94:mainfrom
zmanian:fix/code-quality-cleanup
Open

Remove dead code and add accessibility labels#80
zmanian wants to merge 1 commit intomcintyre94:mainfrom
zmanian:fix/code-quality-cleanup

Conversation

@zmanian
Copy link
Contributor

@zmanian zmanian commented Mar 14, 2026

Summary

  • Dead code removal: updateClaudeCode in SpriteOverviewViewModel had an if/else where both branches assigned the same value (.upToDate). Removed the unused fetchNpmLatestVersion() call and the dead branch.
  • Accessibility: Added accessibilityLabel to the send button, stop button in ChatInputBar, and the sprite status dot in SpriteRowView. These icon-only elements had no VoiceOver description.

Test plan

  • Verify Claude Code update from overview screen still works
  • Enable VoiceOver and verify send/stop buttons and status dots are announced

Generated with Claude Code

- Remove unreachable npm version comparison in updateClaudeCode
- Add accessibilityLabel to send and stop buttons in ChatInputBar
- Add accessibilityLabel to sprite status dot in SpriteRowView

Co-Authored-By: Claude Opus 4.6 <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