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

お問い合わせ画面の増設(#615) #620

Merged
merged 15 commits into from
Jan 25, 2022
Merged

お問い合わせ画面の増設(#615) #620

merged 15 commits into from
Jan 25, 2022

Conversation

Apple-Yuki
Copy link
Contributor

内容

ディスカッション:使い方の一番下にあるお問い合わせに関して #615 でしているお問い合わせ画面の追加のプルリクです。

関連 Issue

close #615

その他

src/components/ContactInfo.vueContact.value = md.render(await store.dispatch("GET_Coninfo_TEXT"));がうまくビルド通らなくて悩み中。

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.

良いですね!!!
文字ケースと名前だけちょっと直して頂けると!

@@ -85,6 +85,9 @@ export const indexStore: VoiceVoxStoreOptions<
async GET_PRIVACY_POLICY_TEXT() {
return await window.electron.getPrivacyPolicyText();
},
async GET_Coninfo_TEXT() {
Copy link
Member

Choose a reason for hiding this comment

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

基本的に文字のケース(大文字小文字など)は周囲と揃えて頂ければ!
(自由度が下がって議論の手間を省けるので)

ConinfoはCONTACT INFOMATIONの略語でしょうか。
文脈を知らなくても誰にでも意味が通じるよう、GET_CONTACT_TEXTにしておくのはどうでしょう?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Hiroshiba
ConinfoはCONTACT INFOMATIONの略語です。

単にテスト書いて入れてるだけなので、後のコミットで修正します。

Copy link
Member

Choose a reason for hiding this comment

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

テスト用、なるほどです!

githubはプルリクエストが未完成であることを示せるように、draft機能があるのでちょっとdraftにしちゃいますね。
完成したらこちらの方法でdraftを外して頂けると!!

https://docs.github.com/ja/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request#marking-a-pull-request-as-ready-for-review

@@ -8,6 +8,7 @@ export interface Sandbox {
getUpdateInfos(): Promise<UpdateInfo[]>;
getOssCommunityInfos(): Promise<string>;
getPrivacyPolicyText(): Promise<string>;
getConinfo_Text(): Promise<string>;
Copy link
Member

Choose a reason for hiding this comment

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

同じくケースを揃えちゃって getContactTextだと綺麗そうです

@Hiroshiba Hiroshiba marked this pull request as draft December 27, 2021 06:51
Fixed text shaking.

Test push.
@Apple-Yuki
Copy link
Contributor Author

@Hiroshiba
一応組みこんだ感じなんですけど、こういうのはエンジン側から取得してるんですかね?

スクリーンショット 2022-01-02 21 27 27

@Hiroshiba
Copy link
Member

お問い合わせは使い方などと同じく、エンジンからではなく組み込みでいいかなと思いました。
ただエンジンへのお問合せとかもあるかもなので、将来的にはエンジンからも取得できてもいいかもです。

@Apple-Yuki
Copy link
Contributor Author

@Hiroshiba ビルド成功しても真っ白なので、どこから読んでるんだろうと思いまして。

(ほぼ、使い方のコピペなんですが。)

@Hiroshiba
Copy link
Member

それはコードを読んで頂ければ…!

@Hiroshiba Hiroshiba marked this pull request as ready for review January 25, 2022 17:11
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 27692cb into VOICEVOX:main Jan 25, 2022
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