From db562d21c605a529b6d7b421bc77ad75803e70f3 Mon Sep 17 00:00:00 2001 From: elisa lee Date: Fri, 14 Jun 2024 12:25:40 -0500 Subject: [PATCH] Cleanup storybook files (#7805) --- .../Components/ManageDevices.stories.tsx | 2 +- .../ManageSelfRegistrationLinks.stories.tsx | 2 +- .../src/app/analytics/Analytics.stories.tsx | 2 +- .../commonComponents/Card/Card.stories.tsx | 2 +- .../commonComponents}/Checkboxes.stories.tsx | 4 +- .../commonComponents}/DatePicker.stories.tsx | 0 .../commonComponents}/Dropdown.stories.tsx | 2 +- .../MultiSelect/MultiSelect.stories.tsx | 2 +- .../NewFeatureTag.stories.tsx | 5 +- .../commonComponents}/Optional.stories.tsx | 2 +- .../commonComponents}/RadioGroup.stories.tsx | 2 +- .../commonComponents}/Required.stories.tsx | 2 +- .../RequiredMessage.stories.tsx | 2 +- .../SingleFileInput.stories.tsx | 2 +- .../StepIndicator.stories.tsx | 2 +- .../commonComponents}/TextInput.stories.tsx | 2 +- .../USAGovBanner.stories.tsx | 4 +- .../YesNoNotSureRadioGroup.stories.tsx | 2 +- .../FacilitySelect.stories.tsx | 4 +- .../src/app/patients/AddPatient.stories.tsx | 2 +- .../testQueue/TestCard/TestCard.stories.tsx | 2 +- .../addToQueue/SearchResults.stories.tsx | 2 +- .../submissions/Submissions.stories.tsx | 2 +- .../TestResultPrintModal.stories.tsx | 2 +- .../SelfRegistration.stories.tsx | 50 ++++++++++--------- .../src/patientApp/timeOfTest/DOB.stories.tsx | 2 +- .../timeOfTest/TermsOfService.stories.tsx | 2 +- .../timeOfTest/TestResult.stories.tsx | 2 +- frontend/src/stories/Tag.stories.tsx | 33 ------------ .../testResults/Submission.stories.tsx | 2 +- .../testResults/UploadForm.stories.tsx | 2 +- 31 files changed, 56 insertions(+), 92 deletions(-) rename frontend/src/{stories => app/commonComponents}/Checkboxes.stories.tsx (91%) rename frontend/src/{stories => app/commonComponents}/DatePicker.stories.tsx (100%) rename frontend/src/{stories => app/commonComponents}/Dropdown.stories.tsx (94%) rename frontend/src/{stories => app/commonComponents}/NewFeatureTag.stories.tsx (88%) rename frontend/src/{stories => app/commonComponents}/Optional.stories.tsx (85%) rename frontend/src/{stories => app/commonComponents}/RadioGroup.stories.tsx (95%) rename frontend/src/{stories => app/commonComponents}/Required.stories.tsx (87%) rename frontend/src/{stories => app/commonComponents}/RequiredMessage.stories.tsx (76%) rename frontend/src/{stories => app/commonComponents}/StepIndicator.stories.tsx (92%) rename frontend/src/{stories => app/commonComponents}/TextInput.stories.tsx (87%) rename frontend/src/{stories => app/commonComponents}/USAGovBanner.stories.tsx (64%) rename frontend/src/{stories => app/facilitySelect}/FacilitySelect.stories.tsx (93%) delete mode 100644 frontend/src/stories/Tag.stories.tsx diff --git a/frontend/src/app/Settings/Facility/Components/ManageDevices.stories.tsx b/frontend/src/app/Settings/Facility/Components/ManageDevices.stories.tsx index 3ad962418a..ba9fb992a1 100644 --- a/frontend/src/app/Settings/Facility/Components/ManageDevices.stories.tsx +++ b/frontend/src/app/Settings/Facility/Components/ManageDevices.stories.tsx @@ -5,7 +5,7 @@ import { userEvent, within } from "@storybook/testing-library"; import ManageDevices from "./ManageDevices"; export default { - title: "App / Manage Facility / Manage Devices", + title: "App/Settings/Manage Facilities/Manage Devices", component: ManageDevices, argTypes: {}, } as Meta; diff --git a/frontend/src/app/Settings/ManageSelfRegistrationLinks.stories.tsx b/frontend/src/app/Settings/ManageSelfRegistrationLinks.stories.tsx index 9df030546a..ebc99e15ce 100644 --- a/frontend/src/app/Settings/ManageSelfRegistrationLinks.stories.tsx +++ b/frontend/src/app/Settings/ManageSelfRegistrationLinks.stories.tsx @@ -4,7 +4,7 @@ import { ComponentProps } from "react"; import { ManageSelfRegistrationLinks } from "./ManageSelfRegistrationLinks"; export default { - title: "Org Admin/Settings/Self-registration", + title: "App/Settings/Self-registration", component: ManageSelfRegistrationLinks, argTypes: { isNewFeature: { control: "boolean" }, diff --git a/frontend/src/app/analytics/Analytics.stories.tsx b/frontend/src/app/analytics/Analytics.stories.tsx index 1cabfe15c7..9e9e04bb15 100644 --- a/frontend/src/app/analytics/Analytics.stories.tsx +++ b/frontend/src/app/analytics/Analytics.stories.tsx @@ -8,7 +8,7 @@ import { Analytics } from "./Analytics"; const mockStore = createMockStore([]); export default { - title: "App/Analytics/COVID-19 testing data", + title: "App/Dashboard/COVID-19 testing data", component: Analytics, argTypes: {}, parameters: { diff --git a/frontend/src/app/commonComponents/Card/Card.stories.tsx b/frontend/src/app/commonComponents/Card/Card.stories.tsx index e58c4ecebf..fb4ef552e7 100644 --- a/frontend/src/app/commonComponents/Card/Card.stories.tsx +++ b/frontend/src/app/commonComponents/Card/Card.stories.tsx @@ -3,7 +3,7 @@ import { StoryFn, Meta } from "@storybook/react"; import { Card } from "./Card"; export default { - title: "Components/Card/Card", + title: "Components/Card", component: Card, argTypes: { logo: { control: "boolean" }, diff --git a/frontend/src/stories/Checkboxes.stories.tsx b/frontend/src/app/commonComponents/Checkboxes.stories.tsx similarity index 91% rename from frontend/src/stories/Checkboxes.stories.tsx rename to frontend/src/app/commonComponents/Checkboxes.stories.tsx index 8e5991477d..9874c4ec5f 100644 --- a/frontend/src/stories/Checkboxes.stories.tsx +++ b/frontend/src/app/commonComponents/Checkboxes.stories.tsx @@ -1,10 +1,10 @@ import { StoryFn, Meta } from "@storybook/react"; import React, { useState } from "react"; -import Checkboxes from "../app/commonComponents/Checkboxes"; +import Checkboxes from "./Checkboxes"; export default { - title: "Components/Form controls/Checkbox", + title: "Components/Form controls/Checkboxes", component: Checkboxes, parameters: { layout: "fullscreen", diff --git a/frontend/src/stories/DatePicker.stories.tsx b/frontend/src/app/commonComponents/DatePicker.stories.tsx similarity index 100% rename from frontend/src/stories/DatePicker.stories.tsx rename to frontend/src/app/commonComponents/DatePicker.stories.tsx diff --git a/frontend/src/stories/Dropdown.stories.tsx b/frontend/src/app/commonComponents/Dropdown.stories.tsx similarity index 94% rename from frontend/src/stories/Dropdown.stories.tsx rename to frontend/src/app/commonComponents/Dropdown.stories.tsx index 1f72f9fb5f..7a896f130d 100644 --- a/frontend/src/stories/Dropdown.stories.tsx +++ b/frontend/src/app/commonComponents/Dropdown.stories.tsx @@ -1,7 +1,7 @@ import { StoryFn, Meta } from "@storybook/react"; import { useState } from "react"; -import Dropdown from "../app/commonComponents/Dropdown"; +import Dropdown from "./Dropdown"; const fruits = ["Apple", "Orange", "Pear"]; diff --git a/frontend/src/app/commonComponents/MultiSelect/MultiSelect.stories.tsx b/frontend/src/app/commonComponents/MultiSelect/MultiSelect.stories.tsx index ba4245f9e8..4622983252 100644 --- a/frontend/src/app/commonComponents/MultiSelect/MultiSelect.stories.tsx +++ b/frontend/src/app/commonComponents/MultiSelect/MultiSelect.stories.tsx @@ -5,7 +5,7 @@ import { MultiSelectDropdownOption } from "./MultiSelectDropdown/MultiSelectDrop import MultiSelect, { MultiSelectProps } from "./MultiSelect"; export default { - title: "MultiSelect", + title: "Components/Form controls/MultiSelect", component: MultiSelect, argTypes: {}, args: { diff --git a/frontend/src/stories/NewFeatureTag.stories.tsx b/frontend/src/app/commonComponents/NewFeatureTag.stories.tsx similarity index 88% rename from frontend/src/stories/NewFeatureTag.stories.tsx rename to frontend/src/app/commonComponents/NewFeatureTag.stories.tsx index 04e38391e8..cd125ab0ee 100644 --- a/frontend/src/stories/NewFeatureTag.stories.tsx +++ b/frontend/src/app/commonComponents/NewFeatureTag.stories.tsx @@ -1,9 +1,6 @@ import { StoryFn, Meta } from "@storybook/react"; -import { - featureList, - NewFeatureTag, -} from "../app/commonComponents/NewFeatureTag"; +import { featureList, NewFeatureTag } from "./NewFeatureTag"; export default { title: "Components/NewFeatureTag", diff --git a/frontend/src/stories/Optional.stories.tsx b/frontend/src/app/commonComponents/Optional.stories.tsx similarity index 85% rename from frontend/src/stories/Optional.stories.tsx rename to frontend/src/app/commonComponents/Optional.stories.tsx index 755151cc10..d93cedfa9c 100644 --- a/frontend/src/stories/Optional.stories.tsx +++ b/frontend/src/app/commonComponents/Optional.stories.tsx @@ -1,6 +1,6 @@ import { StoryFn, Meta } from "@storybook/react"; -import Optional from "../app/commonComponents/Optional"; +import Optional from "./Optional"; export default { title: "Components/Form controls/Optional", diff --git a/frontend/src/stories/RadioGroup.stories.tsx b/frontend/src/app/commonComponents/RadioGroup.stories.tsx similarity index 95% rename from frontend/src/stories/RadioGroup.stories.tsx rename to frontend/src/app/commonComponents/RadioGroup.stories.tsx index b7ae568dab..8fb756353c 100644 --- a/frontend/src/stories/RadioGroup.stories.tsx +++ b/frontend/src/app/commonComponents/RadioGroup.stories.tsx @@ -1,7 +1,7 @@ import { StoryFn, Meta } from "@storybook/react"; import React, { useState } from "react"; -import RadioGroup from "../app/commonComponents/RadioGroup"; +import RadioGroup from "./RadioGroup"; export default { title: "Components/Form controls/Radio buttons", diff --git a/frontend/src/stories/Required.stories.tsx b/frontend/src/app/commonComponents/Required.stories.tsx similarity index 87% rename from frontend/src/stories/Required.stories.tsx rename to frontend/src/app/commonComponents/Required.stories.tsx index 6459eb550d..8b5332a78f 100644 --- a/frontend/src/stories/Required.stories.tsx +++ b/frontend/src/app/commonComponents/Required.stories.tsx @@ -1,6 +1,6 @@ import { StoryFn, Meta } from "@storybook/react"; -import Required from "../app/commonComponents/Required"; +import Required from "./Required"; export default { title: "Components/Form controls/Required", diff --git a/frontend/src/stories/RequiredMessage.stories.tsx b/frontend/src/app/commonComponents/RequiredMessage.stories.tsx similarity index 76% rename from frontend/src/stories/RequiredMessage.stories.tsx rename to frontend/src/app/commonComponents/RequiredMessage.stories.tsx index 0663c081cf..3025a13e82 100644 --- a/frontend/src/stories/RequiredMessage.stories.tsx +++ b/frontend/src/app/commonComponents/RequiredMessage.stories.tsx @@ -1,6 +1,6 @@ import { Meta } from "@storybook/react"; -import RequiredMessage from "../app/commonComponents/RequiredMessage"; +import RequiredMessage from "./RequiredMessage"; export default { title: "Components/Form controls/Required message", diff --git a/frontend/src/app/commonComponents/SingleFileInput.stories.tsx b/frontend/src/app/commonComponents/SingleFileInput.stories.tsx index c785b0b98b..750f2412ac 100644 --- a/frontend/src/app/commonComponents/SingleFileInput.stories.tsx +++ b/frontend/src/app/commonComponents/SingleFileInput.stories.tsx @@ -4,7 +4,7 @@ import { ComponentProps } from "react"; import SingleFileInput from "./SingleFileInput"; export default { - title: "Components/Single File Input", + title: "Components/Form controls/Single File Input", component: SingleFileInput, args: { id: "mySingleFileInput", diff --git a/frontend/src/stories/StepIndicator.stories.tsx b/frontend/src/app/commonComponents/StepIndicator.stories.tsx similarity index 92% rename from frontend/src/stories/StepIndicator.stories.tsx rename to frontend/src/app/commonComponents/StepIndicator.stories.tsx index 68d0c4b9ad..a98aca684a 100644 --- a/frontend/src/stories/StepIndicator.stories.tsx +++ b/frontend/src/app/commonComponents/StepIndicator.stories.tsx @@ -1,6 +1,6 @@ import { StoryFn, Meta } from "@storybook/react"; -import StepIndicator from "../app/commonComponents/StepIndicator"; +import StepIndicator from "./StepIndicator"; export default { title: "Components/Step indicator", diff --git a/frontend/src/stories/TextInput.stories.tsx b/frontend/src/app/commonComponents/TextInput.stories.tsx similarity index 87% rename from frontend/src/stories/TextInput.stories.tsx rename to frontend/src/app/commonComponents/TextInput.stories.tsx index d6f3473887..648dfef6e1 100644 --- a/frontend/src/stories/TextInput.stories.tsx +++ b/frontend/src/app/commonComponents/TextInput.stories.tsx @@ -1,6 +1,6 @@ import { StoryFn, Meta } from "@storybook/react"; -import { TextInput } from "../app/commonComponents/TextInput"; +import { TextInput } from "./TextInput"; export default { title: "Components/Form controls/Text input", diff --git a/frontend/src/stories/USAGovBanner.stories.tsx b/frontend/src/app/commonComponents/USAGovBanner.stories.tsx similarity index 64% rename from frontend/src/stories/USAGovBanner.stories.tsx rename to frontend/src/app/commonComponents/USAGovBanner.stories.tsx index b7f4ff3fff..f7c1fa6db3 100644 --- a/frontend/src/stories/USAGovBanner.stories.tsx +++ b/frontend/src/app/commonComponents/USAGovBanner.stories.tsx @@ -1,9 +1,9 @@ import { Meta } from "@storybook/react"; -import USAGovBanner from "../app/commonComponents/USAGovBanner"; +import USAGovBanner from "./USAGovBanner"; export default { - title: "Components/Banner", + title: "Components/USA Gov Banner", component: USAGovBanner, } as Meta; diff --git a/frontend/src/app/commonComponents/YesNoNotSureRadioGroup.stories.tsx b/frontend/src/app/commonComponents/YesNoNotSureRadioGroup.stories.tsx index 7731abbd95..e8d3a65d53 100644 --- a/frontend/src/app/commonComponents/YesNoNotSureRadioGroup.stories.tsx +++ b/frontend/src/app/commonComponents/YesNoNotSureRadioGroup.stories.tsx @@ -3,7 +3,7 @@ import { StoryFn, Meta } from "@storybook/react"; import YesNoNotSureRadioGroup from "./YesNoNotSureRadioGroup"; export default { - title: "Components/Yes, No, Not Sure Radio Group", + title: "Components/Form controls/Yes, No, Not Sure Radio Group", component: YesNoNotSureRadioGroup, argTypes: {}, args: { diff --git a/frontend/src/stories/FacilitySelect.stories.tsx b/frontend/src/app/facilitySelect/FacilitySelect.stories.tsx similarity index 93% rename from frontend/src/stories/FacilitySelect.stories.tsx rename to frontend/src/app/facilitySelect/FacilitySelect.stories.tsx index cfe652eade..0fb27a1a0d 100644 --- a/frontend/src/stories/FacilitySelect.stories.tsx +++ b/frontend/src/app/facilitySelect/FacilitySelect.stories.tsx @@ -2,9 +2,7 @@ import { Meta, StoryFn } from "@storybook/react"; import { Provider } from "react-redux"; import createMockStore from "redux-mock-store"; -import FacilitySelect, { - FacilitySelectProps, -} from "../app/facilitySelect/FacilitySelect"; +import FacilitySelect, { FacilitySelectProps } from "./FacilitySelect"; export default { title: "App/Facility select", diff --git a/frontend/src/app/patients/AddPatient.stories.tsx b/frontend/src/app/patients/AddPatient.stories.tsx index 5215c47d02..cf44900cca 100644 --- a/frontend/src/app/patients/AddPatient.stories.tsx +++ b/frontend/src/app/patients/AddPatient.stories.tsx @@ -27,7 +27,7 @@ const element = ( ); export default { - title: "App/Add Patient", + title: "App/Patients/Add Patient", parameters: { msw: getMocks("AddPatient", "PatientExists"), }, diff --git a/frontend/src/app/testQueue/TestCard/TestCard.stories.tsx b/frontend/src/app/testQueue/TestCard/TestCard.stories.tsx index 19420b5d17..6179dd0705 100644 --- a/frontend/src/app/testQueue/TestCard/TestCard.stories.tsx +++ b/frontend/src/app/testQueue/TestCard/TestCard.stories.tsx @@ -12,7 +12,7 @@ import { DevicesMap } from "../TestCardForm/types"; import { TestCard, TestCardProps } from "./TestCard"; export default { - title: "App/Test Queue/Test Card", + title: "App/Queue/Test Card", component: TestCard, argTypes: {}, args: { diff --git a/frontend/src/app/testQueue/addToQueue/SearchResults.stories.tsx b/frontend/src/app/testQueue/addToQueue/SearchResults.stories.tsx index d166392f8e..71495f93e0 100644 --- a/frontend/src/app/testQueue/addToQueue/SearchResults.stories.tsx +++ b/frontend/src/app/testQueue/addToQueue/SearchResults.stories.tsx @@ -27,7 +27,7 @@ const RouterWithFacility: React.FC = ({ }) => {children}; export default { - title: "Search Results", + title: "App/Queue/Patient Search Results", component: SearchResults, argTypes: {}, } as Meta; diff --git a/frontend/src/app/testResults/submissions/Submissions.stories.tsx b/frontend/src/app/testResults/submissions/Submissions.stories.tsx index 65bffb631a..0e174afad1 100644 --- a/frontend/src/app/testResults/submissions/Submissions.stories.tsx +++ b/frontend/src/app/testResults/submissions/Submissions.stories.tsx @@ -19,7 +19,7 @@ const store = mockStore({ }); export default { - title: "App/Test results/Submissions", + title: "App/Results/Upload history", component: Submissions, argTypes: {}, args: {}, diff --git a/frontend/src/app/testResults/viewResults/actionMenuModals/TestResultPrintModal.stories.tsx b/frontend/src/app/testResults/viewResults/actionMenuModals/TestResultPrintModal.stories.tsx index 8212644e8d..74c8eba32e 100644 --- a/frontend/src/app/testResults/viewResults/actionMenuModals/TestResultPrintModal.stories.tsx +++ b/frontend/src/app/testResults/viewResults/actionMenuModals/TestResultPrintModal.stories.tsx @@ -7,7 +7,7 @@ import TestResultPrintModal, { } from "./TestResultPrintModal"; export default { - title: "Print test results", + title: "App/Results/Print modal", component: TestResultPrintModal, parameters: { layout: "fullscreen", diff --git a/frontend/src/patientApp/selfRegistration/SelfRegistration.stories.tsx b/frontend/src/patientApp/selfRegistration/SelfRegistration.stories.tsx index 284966345d..b07a21caa4 100644 --- a/frontend/src/patientApp/selfRegistration/SelfRegistration.stories.tsx +++ b/frontend/src/patientApp/selfRegistration/SelfRegistration.stories.tsx @@ -1,40 +1,42 @@ -import { StoryFn, Meta } from "@storybook/react"; +import { Meta } from "@storybook/react"; import { Provider } from "react-redux"; -import { MemoryRouter as Router } from "react-router-dom"; +import { + createMemoryRouter, + createRoutesFromElements, + Route, + RouterProvider, +} from "react-router-dom"; import createMockStore from "redux-mock-store"; - -import { getMocks } from "../../stories/storyMocks"; +import React from "react"; import { SelfRegistration } from "./SelfRegistration"; +const element = ( + + + +); export default { - title: "App/Self-Registration", + title: "App/PXP/Self-Registration", component: SelfRegistration, - decorators: [ - (Story) => ( - - - - - - ), - ], parameters: { layout: "fullscreen", }, argTypes: {}, } as Meta; -const Template: StoryFn = (args) => ; +const route = createRoutesFromElements( + <> + + +); -export const Default = Template.bind({}); -Default.args = {}; -Default.parameters = { - msw: getMocks("getEntityName", "uniqueRegistration", "register"), -}; +const router = createMemoryRouter(route, { + initialEntries: [`/register/shady-oaks`], +}); -export const Duplicate = Template.bind({}); -Duplicate.args = {}; -Duplicate.parameters = { - msw: getMocks("getEntityName", "duplicateRegistration"), +const Template = (): React.ReactElement => { + return ; }; + +export const Default = Template.bind({}); diff --git a/frontend/src/patientApp/timeOfTest/DOB.stories.tsx b/frontend/src/patientApp/timeOfTest/DOB.stories.tsx index b604e42efc..10b042644a 100644 --- a/frontend/src/patientApp/timeOfTest/DOB.stories.tsx +++ b/frontend/src/patientApp/timeOfTest/DOB.stories.tsx @@ -9,7 +9,7 @@ import DOB from "./DOB"; const mockStore = createMockStore([]); export default { - title: "App/Test Results/Step 2: DOB", + title: "App/PXP/Step 2: DOB", component: DOB, argTypes: {}, } as Meta; diff --git a/frontend/src/patientApp/timeOfTest/TermsOfService.stories.tsx b/frontend/src/patientApp/timeOfTest/TermsOfService.stories.tsx index b53b61e64c..abaa98292b 100644 --- a/frontend/src/patientApp/timeOfTest/TermsOfService.stories.tsx +++ b/frontend/src/patientApp/timeOfTest/TermsOfService.stories.tsx @@ -9,7 +9,7 @@ import TermsOfService from "./TermsOfService"; const mockStore = createMockStore([]); export default { - title: "App/Test Results/Step 1: Terms of Service", + title: "App/PXP/Step 1: Terms of Service", component: TermsOfService, argTypes: {}, } as Meta; diff --git a/frontend/src/patientApp/timeOfTest/TestResult.stories.tsx b/frontend/src/patientApp/timeOfTest/TestResult.stories.tsx index 89b79c8329..a0921d2ad2 100644 --- a/frontend/src/patientApp/timeOfTest/TestResult.stories.tsx +++ b/frontend/src/patientApp/timeOfTest/TestResult.stories.tsx @@ -12,7 +12,7 @@ import TestResult from "./TestResult"; const mockStore = createMockStore([]); export default { - title: "Pxp Test Results", + title: "App/PXP/Step 3: Test Result", component: TestResult, parameters: { layout: "fullscreen", diff --git a/frontend/src/stories/Tag.stories.tsx b/frontend/src/stories/Tag.stories.tsx deleted file mode 100644 index 6679fb5a1d..0000000000 --- a/frontend/src/stories/Tag.stories.tsx +++ /dev/null @@ -1,33 +0,0 @@ -import { StoryFn, Meta } from "@storybook/react"; -import { Tag } from "@trussworks/react-uswds"; - -export default { - title: "Components/Tag", - component: Tag, - parameters: { - layout: "fullscreen", - }, - argTypes: {}, - args: {}, -} as Meta; - -type Props = React.ComponentProps; - -const Template: StoryFn = (args) => ; - -export const Default = Template.bind({}); -Default.args = { - children: "Hello", -}; - -export const CustomBackground = Template.bind({}); -CustomBackground.args = { - children: "Hello", - background: "#bba1f7", -}; - -export const CustomClass = Template.bind({}); -CustomClass.args = { - children: "Hello", - className: "bg-blue radius-pill", -}; diff --git a/frontend/src/stories/testResults/Submission.stories.tsx b/frontend/src/stories/testResults/Submission.stories.tsx index 1f6dfeb6ba..810ce998a2 100644 --- a/frontend/src/stories/testResults/Submission.stories.tsx +++ b/frontend/src/stories/testResults/Submission.stories.tsx @@ -15,7 +15,7 @@ const store = mockStore({ }); export default { - title: "Submission", + title: "App/Results/Upload history submission", component: Submission, argTypes: {}, args: {}, diff --git a/frontend/src/stories/testResults/UploadForm.stories.tsx b/frontend/src/stories/testResults/UploadForm.stories.tsx index 7387a4f9bc..fac09914c6 100644 --- a/frontend/src/stories/testResults/UploadForm.stories.tsx +++ b/frontend/src/stories/testResults/UploadForm.stories.tsx @@ -8,7 +8,7 @@ import DiseaseSpecificUploadContainer from "../../app/testResults/uploads/Diseas import AgnosticUploadContainer from "../../app/testResults/uploads/AgnosticUploadContainer"; export default { - title: "App/Test results/Upload CSV", + title: "App/Results/Bulk upload form", argTypes: {}, args: {}, decorators: [