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

vuexのstoreの呼び出しをリテラル引数からDot記法へ: components/Dialog #2328

Merged
merged 16 commits into from
Oct 28, 2024

Conversation

Segu-g
Copy link
Member

@Segu-g Segu-g commented Oct 26, 2024

内容

components/Dialog/フォルダ内のdispatch("ACTION1", payloads) のような引数におけるリテラル指定から actions.ACTION(payload) のようにdot記法によるアクセスに変更します。

  • src/components/Dialog/AcceptDialog/AcceptRetrieveTelemetryDialog.vue
  • src/components/Dialog/AcceptDialog/AcceptTermsDialog.vue
  • src/components/Dialog/AllDialog.vue
  • src/components/Dialog/CharacterOrderDialog.vue
  • src/components/Dialog/DefaultStyleListDialog.vue
  • src/components/Dialog/DefaultStyleSelectDialog.vue
  • src/components/Dialog/DictionaryManageDialog.vue
  • src/components/Dialog/EngineManageDialog.vue
  • src/components/Dialog/ExportSongAudioDialog/Container.vue
  • src/components/Dialog/HelpDialog/HelpDialog.vue
  • src/components/Dialog/HotkeySettingDialog.vue
  • src/components/Dialog/ImportSongProjectDialog.vue
  • src/components/Dialog/PresetManageDialog.vue
  • src/components/Dialog/SettingDialog/SettingDialog.vue
  • src/components/Dialog/ToolBarCustomDialog.vue
  • src/components/Dialog/UpdateNotificationDialog/Container.vue
    を対応しています。

関連 Issue

スクリーンショット・動画など

その他

dispatch([\s\n]"([A-Z_])",?
actions.$1(
と正規表現で置換してその後眼力チェックしています。

Copy link
Member

@Hiroshiba Hiroshiba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!!

どんどん初学者に優しくなっていって嬉しいです!!!

@Hiroshiba Hiroshiba merged commit da93c23 into VOICEVOX:main Oct 28, 2024
8 checks passed
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