Skip to content

Conversation

@sevenc-nanashi
Copy link
Member

内容

タイトル通りです。
また、一部細かい調整(内部で使われている識別名の変更など)も行っています。

関連 Issue

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

(なし)

その他

@sevenc-nanashi sevenc-nanashi requested a review from a team as a code owner September 6, 2025 22:34
@sevenc-nanashi sevenc-nanashi requested review from Hiroshiba and removed request for a team September 6, 2025 22:34
@voicevox-preview-pages
Copy link

voicevox-preview-pages bot commented Sep 6, 2025

🚀 プレビュー用ページを作成しました 🚀

更新時点でのコミットハッシュ:b80bddc

This comment was marked as outdated.

@Hiroshiba
Copy link
Member

@codex このプルリクエストをレビューしてください

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

Codex Review: Here are some suggestions.

Reply with @codex fix comments to fix any unresolved comments.

About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you open a pull request for review, mark a draft as ready, or comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex fix this CI failure" or "@codex address that feedback".

@@ -0,0 +1 @@
{"appVersion":"9999.9999.9999","talk":{"audioKeys":["b52d172e-44b8-4d2e-b184-cda49015ccf7","0bfa1591-8e39-400d-a1fa-90d5f2202372","4a9b9b66-7a5b-415e-9730-7cbcc02ed5e2"],"audioItems":{"b52d172e-44b8-4d2e-b184-cda49015ccf7":{"text":"hoge","voice":{"engineId":"074fc39e-678b-4c13-8916-ffca8d505d1d","speakerId":"7ffcb7ce-00ec-4bdc-82cd-45a8889e43ff","styleId":0},"query":{"accentPhrases":[],"speedScale":1,"pitchScale":0,"intonationScale":1,"volumeScale":1,"prePhonemeLength":0.1,"postPhonemeLength":0.1,"pauseLength":null,"pauseLengthScale":1,"outputSamplingRate":24000,"outputStereo":false},"presetKey":"2e2dc222-3218-41bf-b68c-5a863d9ddd53"},"0bfa1591-8e39-400d-a1fa-90d5f2202372":{"text":"fuga","voice":{"engineId":"074fc39e-678b-4c13-8916-ffca8d505d1d","speakerId":"388f246b-8c41-4ac1-8e2d-5d79f3ff56d9","styleId":1},"query":{"accentPhrases":[],"speedScale":1,"pitchScale":0,"intonationScale":1,"volumeScale":1,"prePhonemeLength":0.1,"postPhonemeLength":0.1,"pauseLength":null,"pauseLengthScale":1,"outputSamplingRate":24000,"outputStereo":false},"presetKey":"ca0ba6ba-558a-4b46-a201-3a266a4da90e"},"4a9b9b66-7a5b-415e-9730-7cbcc02ed5e2":{"text":"piyo","voice":{"engineId":"074fc39e-678b-4c13-8916-ffca8d505d1d","speakerId":"35b2c544-660e-401e-b503-0e14c635303a","styleId":8},"query":{"accentPhrases":[],"speedScale":1,"pitchScale":0,"intonationScale":1,"volumeScale":1,"prePhonemeLength":0.1,"postPhonemeLength":0.1,"pauseLength":null,"pauseLengthScale":1,"outputSamplingRate":24000,"outputStereo":false},"presetKey":"56d5633e-b015-4403-baea-9338a2789db5"}}},"song":{"tpqn":480,"tempos":[{"position":0,"bpm":120}],"timeSignatures":[{"measureNumber":1,"beats":4,"beatType":4}],"tracks":{"7dc46a6b-3429-45e8-9c40-160c18516238":{"name":"無名トラック","keyRangeAdjustment":0,"volumeRangeAdjustment":0,"notes":[],"pitchEditData":[],"phonemeTimingEditData":{},"solo":false,"mute":false,"gain":1,"pan":0}},"trackOrder":["7dc46a6b-3429-45e8-9c40-160c18516238"]}}
Copy link
Member

Choose a reason for hiding this comment

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

このファイル、プロジェクトファイルのマイグレーションをしてくれないから、データ構造変わるたびに更新する必要があってしんどいかも?
空のプロジェクトファイルを作る関数を呼ぶと良いかも。
可能ならjson stringにする関数も共通化したいけど、Vuex storeにしかないならまずそれを切り出す必要があるかも。

Copy link
Member

Choose a reason for hiding this comment

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

ここも

Copy link
Member Author

Choose a reason for hiding this comment

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

ここはappVersionさえ読めればなんでもいいはずですね。

Copy link
Member

Choose a reason for hiding this comment

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

あ、なるほどです。
んじゃappVersionだけがキーなプロジェクトファイルにすると良さそう?

@sevenc-nanashi
Copy link
Member Author

ちょっと色々触ってたんですが、多分プロジェクトファイルを作成して保存してから読み込むみたいな流れの方が楽な気がしてきたのでいったんDraftにします。

@sevenc-nanashi sevenc-nanashi marked this pull request as draft September 8, 2025 06:31
@sevenc-nanashi sevenc-nanashi changed the title test: 未来のバージョンで作られたファイルの警告のテストを追加 test: プロジェクト読み込みのテストを追加 Sep 8, 2025
@sevenc-nanashi
Copy link
Member Author

sevenc-nanashi commented Sep 8, 2025

保存->読み込みにしました。

@sevenc-nanashi sevenc-nanashi marked this pull request as ready for review September 8, 2025 07:16
@Hiroshiba Hiroshiba requested a review from Copilot September 9, 2025 14:55
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

プロジェクト読み込みに関するE2Eテストを追加し、関連する識別名の変更を行うPRです。

  • E2Eテストで過去・未来のプロジェクトファイル読み込みとプロジェクト保存・再読み込みのテストを追加
  • showOldProjectWarningDialogからshowNewerVersionWarningDialogへの識別名変更とメッセージ更新
  • テスト用ユーティリティ関数の共通化とファイル操作モック関数の追加

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/unit/domain/project.spec.ts 未来バージョン警告ダイアログ関数名とテスト期待値を新しい識別名に更新
tests/e2e/browser/プロジェクト.spec.ts プロジェクト読み込み・保存・未来バージョン警告のE2Eテストを新規追加
tests/e2e/browser/テキスト追加・削除・入れ替え.spec.ts 重複するヘルパー関数を削除し、共通のutils関数を使用するよう変更
tests/e2e/browser/vvproj/simple.vvproj テスト用の基本プロジェクトファイルを追加
tests/e2e/browser/vvproj/future.vvproj 未来バージョンテスト用のプロジェクトファイルを追加
tests/e2e/browser/utils.ts プロジェクト操作とAudioCell操作の共通ユーティリティ関数を新規追加
tests/e2e/browser/mockUtility.ts ファイル読み込みとファイル選択ダイアログのモック関数を追加
src/store/project/index.ts 警告ダイアログ関数名とタイトルメッセージを更新
src/infrastructures/projectFile/migration.ts 警告ダイアログ関数名と戻り値の識別名を更新

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Hiroshiba
Copy link
Member

@codex このプルリクエストを日本語でレビューしてください。

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

Codex Review: Here are some suggestions.

Reply with @codex fix comments to fix any unresolved comments.

About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you open a pull request for review, mark a draft as ready, or comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex fix this CI failure" or "@codex address that feedback".

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.

fillAudioCellとかをutilsに再配置するの良いですね!!

ほぼ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.

いろいろ書いてますがLGTM!!

test.stepで区切っていくのめっちゃいいですねぇ。
やりたいことがわかる。

@sevenc-nanashi
Copy link
Member Author

マージします。

@sevenc-nanashi sevenc-nanashi added this pull request to the merge queue Sep 18, 2025
Merged via the queue into VOICEVOX:main with commit 4630c08 Sep 18, 2025
11 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