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] リファクタリング #1735

Merged
merged 4 commits into from
Jan 21, 2024

Conversation

sigprogramming
Copy link
Contributor

内容

以下を行います。

  • リファクタリング
    • ScoreSequencer.vueToolBar.vuesinging.tsdomain.tsのリファクタリング
    • state.phrasesの型をRecord<string, Phrase>からMap<string, Phrase>に変更
    • ドラッグ開始時のguideLineTicksを保持するように変更
    • isValidBpmisValidBeatsを追加し、ToolBar.vueでそれらを呼ぶように変更
    • getSnapTypesisValidSnapTypedomain.tsに移動
    • OverlappingNotesDetectorclear()を追加
    • NOTE_IDS(getter)を追加
    • === undefined!== undefinedの箇所を修正
  • コメントの追加
  • シンセの音量を変更

関連 Issue

VOICEVOX/voicevox_project#15

その他

@sigprogramming sigprogramming marked this pull request as ready for review January 21, 2024 13:11
@sigprogramming sigprogramming requested a review from a team as a code owner January 21, 2024 13: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!!!

@@ -1097,6 +1099,35 @@ export default defineComponent({
position: relative;
}

.sequencer-grid {
Copy link
Member

Choose a reason for hiding this comment

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

gridはきれいにコンポーネントに分けられそうだなと思いました!
(Vueは体感700行くらい超えてくると結構コーディングが重くなってくるので。。。)

@Hiroshiba Hiroshiba merged commit 0f16033 into VOICEVOX:project-s Jan 21, 2024
7 of 8 checks passed
@sigprogramming sigprogramming deleted the refactor branch January 27, 2024 03:01
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