Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add: N番目のキャラクターを選択するホットキーを追加 #1896

Closed
wants to merge 28 commits into from

Commits on Mar 4, 2024

  1. Add: N番目のキャラクターを選択するホットキーを追加

    N番目のキャラクターを選択するホットキーを追加
    ctrl+1が1キャラ目、ctrl+2が2キャラ目、...ctrl+0が10キャラ目
    
    ## 実装の概要
    - 新しいホットキーの追加
    - TalkEditor->AudioCell->CharacterButtonへと関数を呼び出していきCharacterButton内で関数を実行
    
    ## その他
    - ブラウザでやっているので複数個選択した時の挙動が不明
    - Mac/Linuxでの動作が不明
    - 設定のmigrationがよくわかりませんでした
    tsym77yoshi committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    ba8281d View commit details
    Browse the repository at this point in the history
  2. Add: 複数のキーを一つのホットキー動作に割り当てる機能

    ctrl+[数字]等のホットキー設定を可能に
    注:ホットキーは読み取り専用(ユーザーが変更できない設定)にしてください
    
    ## 実装の概要
    1.preload
    新たにargumentKey型("Numbers" | "VerticalArrows" | "HorizontalArrows" | undefined)を追加(真ん中二つは不要だが将来追加するかもしれないときの為に)
    2.hotkeyPlugin
    キーをバインド設定/解除するときにargumentKeyだけループ
    一部関数追加
    3.HotkeySettingDialog
    argumentKeyを表示させる
    キーが被った時に警告を出す
    
    ## この後の展開
    N番目のキャラクターを選択するホットキーを追加
    
    ## ホットキーの設定方法
    - 通常のホットキー設定と同様のことを行う
    - preloadのdefaultHotkeySettingsでargumentKeyを設定
    例)argumentKey: "Numbers",
    - HotkeySettingDialogでreadonlyHotkeyKeysに追加
    - (e)=>{}のe.keyからキー入力を取得できる
    
    ## より良くしようとすればできそうな点
    - HotkeySettingDialogのduplicatedHotkeyのコードの改善
    - argumentKey!=undefinedのものをHotkeySettingDialogのreadonlyHotkeyKeysに自動で追加できるようにする(読み込みの順番の問題?)
    - ↑ではなくそもそもキー割り当てを任意のものに変更可能にする
    - 余計なデータまで保存する必要があるのを改善する
    tsym77yoshi committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    6e9a441 View commit details
    Browse the repository at this point in the history
  3. FIX: 綴りミスの修正

    argumet -> argumentへとミスの修正
    tsym77yoshi committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    bdfc3d0 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2024

  1. update: 複数キーに一つのキーを対応させるときに設定を自由にできるように

    内容
    1.HotkeySettingDialog内
    - duplicatedHotkey(重複したキー)を複数へ
    - ショートカットキー入力画面で+(数字)が出るように(lastArgumentKeyText)
    - ショートカットキー入力画面でキー入力した時にargumentKeyがあるなら変化させる
    - changeHotkeySettingsでargumentKeyも登録されるように
    - duplicatedHotkeyを探索するときの処理時、自分が+(数字)等の時の探索方法の変化
    - キーをデフォルトへ戻すときにduplicatedkeyの関数を利用
    hotkeyPlugin内
    - getArgumentKeyCombinationTextをより使いやすく
    preload/0.13.json内
    - 「N番目のキャラクターを選択」のデフォルトを未設定に
    tsym77yoshi committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    b526787 View commit details
    Browse the repository at this point in the history
  2. FIX: 綴りミス

    BindignKey -> BindingKey
    tsym77yoshi committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    62cbd78 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2024

  1. Configuration menu
    Copy the full SHA
    a549161 View commit details
    Browse the repository at this point in the history
  2. refactor: 細かなリファクタリング

    Update HotkeySettingDialog.vue
    tsym77yoshi committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    1cc53bb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    44d4f7a View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2024

  1. Update: pull request内のHotkeySetting仕様変更

    argumentKey(ホットキーの+[数字])に関する仕様変更
    
    分離してみたところ意外とコードが複雑にならず、やっぱり分離するのが一番良さそうかなと思って変更しました
    [変更後]
    新たにHotkeyArgumentKeySettingsを追加
    defaultHotkeySettingsの仕様はpull request前と同じに戻す
    ↑
    [変更前]
    defaultHotkeySettingsの仕様を変更
    tsym77yoshi committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    3fbe3a2 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2024

  1. FIX: shiftkeyを利用した時に出るエラー修正

    shiftkeyを使うときにエラーがでるのを修正
    ついでに close VOICEVOX#1947
    tsym77yoshi committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    1c01222 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2024

  1. Configuration menu
    Copy the full SHA
    2ad8688 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from Hiroshiba/characterSelectShortcutの関数渡しを一段回減らす

    characterSelectShortcutの関数渡しを一段回減らす
    tsym77yoshi committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    a5349a8 View commit details
    Browse the repository at this point in the history
  3. revert: shift+数字の問題は解決できていなかった

    shift+数字の問題を解決するcommitが、世に存在する色々なキーボードが存在しているのに対応していないことに気が付き元に戻す。
    文字コードで操作していたがkeyCodeでやるべき
    tsym77yoshi committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    ec0ad81 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2024

  1. Configuration menu
    Copy the full SHA
    506b8a1 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2024

  1. Configuration menu
    Copy the full SHA
    c8cfaa9 View commit details
    Browse the repository at this point in the history
  2. change: 変数名変更

    tsym77yoshi committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    b18cecf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    62aee63 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3679225 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8f5970a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ba4b3c3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e271794 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    58c402b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3c7a46e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    485b309 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    29788e1 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    2afa494 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    b99eaa1 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    9149085 View commit details
    Browse the repository at this point in the history