From 03101bc77d583c90aa18de6979b180c978882b32 Mon Sep 17 00:00:00 2001 From: Michael Behrisch <m.behrisch@uu.nl> Date: Sun, 6 Feb 2022 21:36:32 +0100 Subject: [PATCH] refactor: :art: changes components folder location Changes from web/components folder location to just /components. This change can be done since the app has now the prefix web-graphpolaris --- apps/web-graphpolaris/src/app/app.tsx | 4 ++-- .../src/{web => }/components/panels/panel.stories.tsx | 0 .../src/{web => }/components/panels/panel.tsx | 0 .../visualisations/nodelink/nodelinkvis.stories.tsx | 0 .../components/visualisations/nodelink/nodelinkvis.tsx | 0 .../components/visualisations/paohvis/paohvis.stories.tsx | 0 .../{web => }/components/visualisations/paohvis/paohvis.tsx | 0 .../visualisations/rawjsonvis/rawjsonvis.module.scss | 0 .../components/visualisations/rawjsonvis/rawjsonvis.spec.tsx | 0 .../visualisations/rawjsonvis/rawjsonvis.stories.tsx | 2 +- .../components/visualisations/rawjsonvis/rawjsonvis.tsx | 0 .../semanticsubstrates/semanticsubstrates.stories.tsx | 0 .../visualisations/semanticsubstrates/semanticsubstrates.tsx | 0 13 files changed, 3 insertions(+), 3 deletions(-) rename apps/web-graphpolaris/src/{web => }/components/panels/panel.stories.tsx (100%) rename apps/web-graphpolaris/src/{web => }/components/panels/panel.tsx (100%) rename apps/web-graphpolaris/src/{web => }/components/visualisations/nodelink/nodelinkvis.stories.tsx (100%) rename apps/web-graphpolaris/src/{web => }/components/visualisations/nodelink/nodelinkvis.tsx (100%) rename apps/web-graphpolaris/src/{web => }/components/visualisations/paohvis/paohvis.stories.tsx (100%) rename apps/web-graphpolaris/src/{web => }/components/visualisations/paohvis/paohvis.tsx (100%) rename apps/web-graphpolaris/src/{web => }/components/visualisations/rawjsonvis/rawjsonvis.module.scss (100%) rename apps/web-graphpolaris/src/{web => }/components/visualisations/rawjsonvis/rawjsonvis.spec.tsx (100%) rename apps/web-graphpolaris/src/{web => }/components/visualisations/rawjsonvis/rawjsonvis.stories.tsx (95%) rename apps/web-graphpolaris/src/{web => }/components/visualisations/rawjsonvis/rawjsonvis.tsx (100%) rename apps/web-graphpolaris/src/{web => }/components/visualisations/semanticsubstrates/semanticsubstrates.stories.tsx (100%) rename apps/web-graphpolaris/src/{web => }/components/visualisations/semanticsubstrates/semanticsubstrates.tsx (100%) diff --git a/apps/web-graphpolaris/src/app/app.tsx b/apps/web-graphpolaris/src/app/app.tsx index f0d382be6..aeebee3fe 100644 --- a/apps/web-graphpolaris/src/app/app.tsx +++ b/apps/web-graphpolaris/src/app/app.tsx @@ -4,8 +4,8 @@ import { useAppDispatch, } from '@graphpolaris/shared/data-access/store'; import GridLayout from 'react-grid-layout'; -import Panel from '../web/components/panels/panel'; -import { RawJSONVis } from '../web/components/visualisations/rawjsonvis/rawjsonvis'; +import Panel from '../components/panels/panel'; +import { RawJSONVis } from '../components/visualisations/rawjsonvis/rawjsonvis'; export function App() { const dispatch = useAppDispatch(); diff --git a/apps/web-graphpolaris/src/web/components/panels/panel.stories.tsx b/apps/web-graphpolaris/src/components/panels/panel.stories.tsx similarity index 100% rename from apps/web-graphpolaris/src/web/components/panels/panel.stories.tsx rename to apps/web-graphpolaris/src/components/panels/panel.stories.tsx diff --git a/apps/web-graphpolaris/src/web/components/panels/panel.tsx b/apps/web-graphpolaris/src/components/panels/panel.tsx similarity index 100% rename from apps/web-graphpolaris/src/web/components/panels/panel.tsx rename to apps/web-graphpolaris/src/components/panels/panel.tsx diff --git a/apps/web-graphpolaris/src/web/components/visualisations/nodelink/nodelinkvis.stories.tsx b/apps/web-graphpolaris/src/components/visualisations/nodelink/nodelinkvis.stories.tsx similarity index 100% rename from apps/web-graphpolaris/src/web/components/visualisations/nodelink/nodelinkvis.stories.tsx rename to apps/web-graphpolaris/src/components/visualisations/nodelink/nodelinkvis.stories.tsx diff --git a/apps/web-graphpolaris/src/web/components/visualisations/nodelink/nodelinkvis.tsx b/apps/web-graphpolaris/src/components/visualisations/nodelink/nodelinkvis.tsx similarity index 100% rename from apps/web-graphpolaris/src/web/components/visualisations/nodelink/nodelinkvis.tsx rename to apps/web-graphpolaris/src/components/visualisations/nodelink/nodelinkvis.tsx diff --git a/apps/web-graphpolaris/src/web/components/visualisations/paohvis/paohvis.stories.tsx b/apps/web-graphpolaris/src/components/visualisations/paohvis/paohvis.stories.tsx similarity index 100% rename from apps/web-graphpolaris/src/web/components/visualisations/paohvis/paohvis.stories.tsx rename to apps/web-graphpolaris/src/components/visualisations/paohvis/paohvis.stories.tsx diff --git a/apps/web-graphpolaris/src/web/components/visualisations/paohvis/paohvis.tsx b/apps/web-graphpolaris/src/components/visualisations/paohvis/paohvis.tsx similarity index 100% rename from apps/web-graphpolaris/src/web/components/visualisations/paohvis/paohvis.tsx rename to apps/web-graphpolaris/src/components/visualisations/paohvis/paohvis.tsx diff --git a/apps/web-graphpolaris/src/web/components/visualisations/rawjsonvis/rawjsonvis.module.scss b/apps/web-graphpolaris/src/components/visualisations/rawjsonvis/rawjsonvis.module.scss similarity index 100% rename from apps/web-graphpolaris/src/web/components/visualisations/rawjsonvis/rawjsonvis.module.scss rename to apps/web-graphpolaris/src/components/visualisations/rawjsonvis/rawjsonvis.module.scss diff --git a/apps/web-graphpolaris/src/web/components/visualisations/rawjsonvis/rawjsonvis.spec.tsx b/apps/web-graphpolaris/src/components/visualisations/rawjsonvis/rawjsonvis.spec.tsx similarity index 100% rename from apps/web-graphpolaris/src/web/components/visualisations/rawjsonvis/rawjsonvis.spec.tsx rename to apps/web-graphpolaris/src/components/visualisations/rawjsonvis/rawjsonvis.spec.tsx diff --git a/apps/web-graphpolaris/src/web/components/visualisations/rawjsonvis/rawjsonvis.stories.tsx b/apps/web-graphpolaris/src/components/visualisations/rawjsonvis/rawjsonvis.stories.tsx similarity index 95% rename from apps/web-graphpolaris/src/web/components/visualisations/rawjsonvis/rawjsonvis.stories.tsx rename to apps/web-graphpolaris/src/components/visualisations/rawjsonvis/rawjsonvis.stories.tsx index 8c45dc630..0e5db8d68 100644 --- a/apps/web-graphpolaris/src/web/components/visualisations/rawjsonvis/rawjsonvis.stories.tsx +++ b/apps/web-graphpolaris/src/components/visualisations/rawjsonvis/rawjsonvis.stories.tsx @@ -8,7 +8,7 @@ import { configureStore, createSlice } from '@reduxjs/toolkit'; import graphQueryResultSlice, { assignNewGraphQueryResult, resetGraphQueryResults, -} from '../../../../../../../libs/shared/data-access/store/src/lib/graphQueryResultSlice'; +} from '../../../../../../libs/shared/data-access/store/src/lib/graphQueryResultSlice'; export default { /* 👇 The title prop is optional. diff --git a/apps/web-graphpolaris/src/web/components/visualisations/rawjsonvis/rawjsonvis.tsx b/apps/web-graphpolaris/src/components/visualisations/rawjsonvis/rawjsonvis.tsx similarity index 100% rename from apps/web-graphpolaris/src/web/components/visualisations/rawjsonvis/rawjsonvis.tsx rename to apps/web-graphpolaris/src/components/visualisations/rawjsonvis/rawjsonvis.tsx diff --git a/apps/web-graphpolaris/src/web/components/visualisations/semanticsubstrates/semanticsubstrates.stories.tsx b/apps/web-graphpolaris/src/components/visualisations/semanticsubstrates/semanticsubstrates.stories.tsx similarity index 100% rename from apps/web-graphpolaris/src/web/components/visualisations/semanticsubstrates/semanticsubstrates.stories.tsx rename to apps/web-graphpolaris/src/components/visualisations/semanticsubstrates/semanticsubstrates.stories.tsx diff --git a/apps/web-graphpolaris/src/web/components/visualisations/semanticsubstrates/semanticsubstrates.tsx b/apps/web-graphpolaris/src/components/visualisations/semanticsubstrates/semanticsubstrates.tsx similarity index 100% rename from apps/web-graphpolaris/src/web/components/visualisations/semanticsubstrates/semanticsubstrates.tsx rename to apps/web-graphpolaris/src/components/visualisations/semanticsubstrates/semanticsubstrates.tsx -- GitLab