Skip to content

feat: Add auto-copy response to clipboard toggle#23

Open
danpeg wants to merge 1 commit intofarzaa:mainfrom
danpeg:feat/auto-copy-response-to-clipboard
Open

feat: Add auto-copy response to clipboard toggle#23
danpeg wants to merge 1 commit intofarzaa:mainfrom
danpeg:feat/auto-copy-response-to-clipboard

Conversation

@danpeg
Copy link
Copy Markdown

@danpeg danpeg commented Apr 8, 2026

Summary

  • Adds a "Copy responses" toggle in the menu bar panel
  • When enabled, Clicky's response text is automatically copied to the macOS clipboard after each response
  • Uses the clean spoken text (no [POINT:...] tags)
  • Defaults to OFF, persists via UserDefaults

Changes

  • CompanionManager.swift — new isAutoCopyResponseEnabled property, setter, and clipboard copy logic
  • CompanionPanelView.swift — new toggle row in the panel, following the existing "Show Clicky" toggle pattern

Test plan

  • Build and run in Xcode (Cmd+R)
  • Complete onboarding so the toggle appears
  • Toggle "Copy responses" ON
  • Ask Clicky a question, then Cmd+V to verify the response was copied
  • Toggle OFF, ask another question, verify clipboard was NOT overwritten
  • Quit and relaunch — verify toggle state persists

🤖 Generated with Claude Code

@danpeg danpeg force-pushed the feat/auto-copy-response-to-clipboard branch from 21cb736 to f94283a Compare April 8, 2026 10:00
Add a "Copy responses" toggle in the menu bar panel that automatically
copies Clicky's response text to the macOS clipboard after each response.
Uses the clean spoken text with [POINT] tags stripped. Defaults to OFF.
Persists preference via UserDefaults.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@danpeg danpeg force-pushed the feat/auto-copy-response-to-clipboard branch from f94283a to aa2018b Compare April 8, 2026 10:02
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