From 428413c829d7f32bb491d60595cb2dd7c27d3d6d Mon Sep 17 00:00:00 2001 From: "Nanashi." Date: Wed, 23 Oct 2024 03:29:20 +0900 Subject: [PATCH] =?UTF-8?q?Refactor:=20SequencerGrid=E3=82=92Presentation/?= =?UTF-8?q?Container=E3=81=AB=E5=88=86=E9=9B=A2=20(#2311)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: github-actions[bot] Co-authored-by: Hiroshiba --- src/components/Sing/ScoreSequencer.vue | 2 +- .../Sing/SequencerGrid/Container.vue | 29 +++++++++++++ .../Presentation.vue} | 40 ++++++++++-------- .../Sing/SequencerGrid/index.stories.ts | 34 +++++++++++++++ ...equencergrid--default-storybook-win32.png" | Bin 0 -> 5057 bytes 5 files changed, 86 insertions(+), 19 deletions(-) create mode 100644 src/components/Sing/SequencerGrid/Container.vue rename src/components/Sing/{SequencerGrid.vue => SequencerGrid/Presentation.vue} (86%) create mode 100644 src/components/Sing/SequencerGrid/index.stories.ts create mode 100644 "tests/e2e/storybook/\343\202\271\343\202\257\343\203\252\343\203\274\343\203\263\343\202\267\343\203\247\343\203\203\343\203\210.spec.mts-snapshots/components-sing-sequencergrid--default-storybook-win32.png" diff --git a/src/components/Sing/ScoreSequencer.vue b/src/components/Sing/ScoreSequencer.vue index 46306a9ea3..8b707c23cd 100644 --- a/src/components/Sing/ScoreSequencer.vue +++ b/src/components/Sing/ScoreSequencer.vue @@ -203,7 +203,7 @@ import { getButton, PreviewMode, } from "@/sing/viewHelper"; -import SequencerGrid from "@/components/Sing/SequencerGrid.vue"; +import SequencerGrid from "@/components/Sing/SequencerGrid/Container.vue"; import SequencerRuler from "@/components/Sing/SequencerRuler.vue"; import SequencerKeys from "@/components/Sing/SequencerKeys.vue"; import SequencerNote from "@/components/Sing/SequencerNote.vue"; diff --git a/src/components/Sing/SequencerGrid/Container.vue b/src/components/Sing/SequencerGrid/Container.vue new file mode 100644 index 0000000000..0d433420d6 --- /dev/null +++ b/src/components/Sing/SequencerGrid/Container.vue @@ -0,0 +1,29 @@ + + + diff --git a/src/components/Sing/SequencerGrid.vue b/src/components/Sing/SequencerGrid/Presentation.vue similarity index 86% rename from src/components/Sing/SequencerGrid.vue rename to src/components/Sing/SequencerGrid/Presentation.vue index 41f2e16697..8b6f9fb5c5 100644 --- a/src/components/Sing/SequencerGrid.vue +++ b/src/components/Sing/SequencerGrid/Presentation.vue @@ -88,40 +88,44 @@