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

[project-s] mainブランチマージのコンフリクト解消、及び追従 #1583

Merged
merged 3 commits into from
Sep 26, 2023

Conversation

Hiroshiba
Copy link
Member

@Hiroshiba Hiroshiba commented Sep 24, 2023

内容

mainブランチのマージのコンフリクトを解消し、フォーマッターを動作させ、エラーが起こる箇所を変更・追従しました。

実行するにはおそらく Nodeのバージョン更新と、npmパッケージの更新(npm run ci)と、.env ファイルの更新が必要です。

主な仕様変更点

  • PROCESS_BEFORE_QUITアクションを解体して元のCHECK_EDITED_AND_NOT_SAVEを改造する形にした
    • マルチエンジンが入った関係でアプリの終了シーケンスが変わり、CLOSE経路とRELOAD経路ができた
    • 両方の経路でレンダリングの停止を入れる必要がある
    • とりあえず両経路にくっついているCHECK_EDITED_AND_NOT_SAVE内に組み込みました

関連 Issue

その他

あとTTS側のVueファイルがComposition形式になってとても楽になったのですが、全範囲にコンフリクトが発生してしまうので、そこはとりあえず追従していません。

@Hiroshiba Hiroshiba requested a review from a team as a code owner September 24, 2023 22:07
@Hiroshiba Hiroshiba requested review from y-chan and removed request for a team September 24, 2023 22:07
@Hiroshiba Hiroshiba requested review from romot-co and sigprogramming and removed request for y-chan September 24, 2023 22:08
Comment on lines 17 to 21
<q-btn
v-close-popup
flat
no-caps
v-close-popup
class="col-grow"
Copy link
Member Author

Choose a reason for hiding this comment

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

このあたりの順序が入れ替わっているのは新しく導入されたformatterの影響です

Comment on lines -172 to +173
const changeStyleId = (speakerUuid: string, styleId: number) => {
const changeStyleId = (speakerUuid: SpeakerId, styleId: StyleId) => {
Copy link
Member Author

Choose a reason for hiding this comment

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

speakerIdやstyleIdやengineIdに型が導入されました

Comment on lines -1241 to +1244
const midiData = await window.electron.readFile({ filePath });
const midiData = getValueOrThrow(
await window.electron.readFile({ filePath })
);
Copy link
Member Author

Choose a reason for hiding this comment

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

Result型になりました

Comment on lines -221 to -240
<<<<<<< HEAD
components: {
draggable,
MenuBar,
HeaderBar,
AudioCell,
AudioDetail,
AudioInfo,
HelpDialog,
SettingDialog,
HotkeySettingDialog,
HeaderBarCustomDialog,
CharacterPortrait,
DefaultStyleSelectDialog,
CharacterOrderDialog,
AcceptRetrieveTelemetryDialog,
AcceptTermsDialog,
DictionaryManageDialog,
SingerTab,
=======
Copy link
Member Author

Choose a reason for hiding this comment

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

TTS側のVueファイルはComposition APIに変えた影響でこれらのimportが不要になりました。
あとreturnでいっぱい状態変数や関数を返すのも不要になっています。

Copy link
Contributor

@sigprogramming sigprogramming 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
Copy link
Member Author

レビューありがとうございます!!

@Hiroshiba Hiroshiba merged commit f15ae5b into VOICEVOX:merge-main Sep 26, 2023
@Hiroshiba Hiroshiba deleted the コンフリクト解消 branch September 26, 2023 15:35
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