Skip to content

Conversation

@nyanko3141592
Copy link
Collaborator

概要

  • いい感じ変換の設定をConfigWindowからMagic Conversionウィンドウに移動
  • Magic Conversionウィンドウのヘッダーに設定ボタン(歯車アイコン)を追加
  • カスタムプロンプトショートカットをピン留めプロンプトに統合(別エディタ不要に)
  • ピン留めプロンプトごとにキーボードショートカット・ダブルタップ(英数/かな)を設定可能に

変更内容

Magic Conversionウィンドウ

  • ヘッダーに設定ボタンを追加 → MagicConversionSettingsSheetを開く
  • 設定シート: メインショートカット、AIバックエンド選択、OpenAI API設定
  • ピン留めプロンプトにショートカットバッジとダブルタップ表示(E/J)を追加
  • ピン留めプロンプトのショートカットボタンをクリックして設定

ConfigWindow

  • 基本タブから「いい感じ変換」セクションを削除
  • カスタマイズタブから「基本ショートカット」セクションを削除

コード整理

  • CustomPromptShortcut構造体とCustomPromptShortcutsEditor.swiftを削除
  • ショートカットはPromptHistoryItemに直接保存するように変更

テスト項目

  • Magic Conversionウィンドウに設定ボタンが表示される
  • AIバックエンドを設定して保存される
  • いい感じ変換のショートカットを変更できる
  • ピン留めプロンプトにショートカットを割り当てられる
  • テキスト選択時にショートカットでプロンプトが発動する
  • ダブルタップ(英数/かな)をピン留めプロンプトに割り当てて動作する
  • ConfigWindowにいい感じ変換の設定が表示されない

🤖 Generated with Claude Code

nyanko3141592 and others added 16 commits January 6, 2026 01:09
…View

Move all いい感じ変換 (Magic Conversion) settings to the prompt input window:
- Add settings button (gear icon) to Magic Conversion window header
- Create MagicConversionSettingsSheet with keyboard shortcut, AI backend, and OpenAI API settings
- Remove いい感じ変換 section from ConfigWindow basic tab
- Remove 基本ショートカット section from ConfigWindow customize tab
- Clean up unused variables and functions from ConfigWindow

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Keep AI backend settings in ConfigWindow for easier access,
while shortcuts remain configurable in PromptInputView.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Remove debug logger and timing measurements from InputController
- Add early return optimization for custom prompt shortcut check
- Remove "Created by Claude Code" file headers

Co-Authored-By: Claude Opus 4.5 <[email protected]>
…ortcuts-in-pin-ui

# Conflicts:
#	azooKeyMac/InputController/azooKeyMacInputController.swift
- Remove debug print statements from KeyboardShortcutConfigItem
- Remove debug messages from custom shortcut handling
- Add custom decoder to PromptHistoryItem for backward compatibility with existing data

Co-Authored-By: Claude Opus 4.5 <[email protected]>
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.

2 participants