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

Refactor: デフォルトファイル名取得関数2つをgetterへ移動 #1490

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

thiramisu
Copy link
Contributor

内容

デフォルトのプロジェクト名と音声ファイル名を返す関数をstore.getterに移動しました。
ユーザー視点での変更はありません。

関連 Issue

ref #1475
上記の一環です。

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

その他

プロジェクト名取得(DEFAULT_PROJECT_FILE_BASE_NAME)は、名前的にはproject.tsが妥当なんですが、audio.tsの繋げて書き出し2種の時にも参照されているのと、内部処理的にもaudioItemを参照しているのでどちらに置くべきか微妙なところかもです。とりあえずaudio.tsのほうに置いてみました。

@thiramisu thiramisu requested a review from a team as a code owner August 6, 2023 12:59
@thiramisu thiramisu requested review from Hiroshiba and removed request for a team August 6, 2023 12:59
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!!!

リファクタリング助かります、また是非!!

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.

(間違えました)

@Hiroshiba Hiroshiba merged commit ee088a6 into VOICEVOX:main Aug 8, 2023
@thiramisu thiramisu deleted the file-name-getter branch August 9, 2023 21:03
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