diff --git a/src/pages/Workflow/components/NoFloIcon.tsx b/src/pages/Workflow/GraphEditor/components/NoFloIcon.tsx similarity index 100% rename from src/pages/Workflow/components/NoFloIcon.tsx rename to src/pages/Workflow/GraphEditor/components/NoFloIcon.tsx diff --git a/src/pages/Workflow/components/SearchComponents.tsx b/src/pages/Workflow/GraphEditor/components/SearchComponents.tsx similarity index 97% rename from src/pages/Workflow/components/SearchComponents.tsx rename to src/pages/Workflow/GraphEditor/components/SearchComponents.tsx index 6da0f144..ce85629a 100644 --- a/src/pages/Workflow/components/SearchComponents.tsx +++ b/src/pages/Workflow/GraphEditor/components/SearchComponents.tsx @@ -1,11 +1,9 @@ import { sidebarWidth } from '@/constants/style'; import { Autocomplete, autocompleteClasses, Box, createFilterOptions, TextField } from '@material-ui/core'; -import { PropertyMap } from 'fbp-graph/lib/Types'; import { useEffect, useMemo, useState } from 'react'; import { useTranslation } from 'react-i18next'; import styled from 'styled-components'; import type { IFBPLibrary, INoFloUIComponent } from 'the-graph'; -import { makeNewID } from '../idUtils'; import { NoFloIcon } from './NoFloIcon'; const SearchBarWrapper = styled.div` diff --git a/src/pages/Workflow/constants.ts b/src/pages/Workflow/GraphEditor/constants.ts similarity index 100% rename from src/pages/Workflow/constants.ts rename to src/pages/Workflow/GraphEditor/constants.ts diff --git a/src/pages/Workflow/fbpGraphJSON.type.ts b/src/pages/Workflow/GraphEditor/fbpGraphJSON.type.ts similarity index 100% rename from src/pages/Workflow/fbpGraphJSON.type.ts rename to src/pages/Workflow/GraphEditor/fbpGraphJSON.type.ts diff --git a/src/pages/Workflow/idUtils.ts b/src/pages/Workflow/GraphEditor/idUtils.ts similarity index 100% rename from src/pages/Workflow/idUtils.ts rename to src/pages/Workflow/GraphEditor/idUtils.ts diff --git a/src/pages/Workflow/GraphEditor.tsx b/src/pages/Workflow/GraphEditor/index.tsx similarity index 100% rename from src/pages/Workflow/GraphEditor.tsx rename to src/pages/Workflow/GraphEditor/index.tsx diff --git a/src/pages/Workflow/library.ts b/src/pages/Workflow/GraphEditor/library.ts similarity index 100% rename from src/pages/Workflow/library.ts rename to src/pages/Workflow/GraphEditor/library.ts diff --git a/src/pages/Workflow/menu.ts b/src/pages/Workflow/GraphEditor/menu.ts similarity index 100% rename from src/pages/Workflow/menu.ts rename to src/pages/Workflow/GraphEditor/menu.ts diff --git a/src/pages/Workflow/mouseEvents.ts b/src/pages/Workflow/GraphEditor/mouseEvents.ts similarity index 100% rename from src/pages/Workflow/mouseEvents.ts rename to src/pages/Workflow/GraphEditor/mouseEvents.ts diff --git a/src/pages/Workflow/subscribe.ts b/src/pages/Workflow/GraphEditor/subscribe.ts similarity index 100% rename from src/pages/Workflow/subscribe.ts rename to src/pages/Workflow/GraphEditor/subscribe.ts diff --git a/src/pages/Workflow/utilityElement.ts b/src/pages/Workflow/GraphEditor/utilityElement.ts similarity index 100% rename from src/pages/Workflow/utilityElement.ts rename to src/pages/Workflow/GraphEditor/utilityElement.ts diff --git a/src/pages/Workflow/index.tsx b/src/pages/Workflow/index.tsx index 66169042..4cfe5f94 100644 --- a/src/pages/Workflow/index.tsx +++ b/src/pages/Workflow/index.tsx @@ -6,7 +6,7 @@ import { useEffect, useState } from 'react'; import { useTranslation } from 'react-i18next'; import type { IFBPLibrary } from 'the-graph'; import { GraphEditor } from './GraphEditor'; -import { getBrowserComponentLibrary } from './library'; +import { getBrowserComponentLibrary } from './GraphEditor/library'; import { photoboothJSON } from './photobooth.json'; export default function Workflow(): JSX.Element {