diff --git a/apps/graphpolaris/src/web/components/panels/Panel.stories.tsx b/apps/graphpolaris/src/web/components/panels/Panel.stories.tsx index a17f7b23e136cba98225b81522d63093dbb41f2d..a172d8f1f4569d624ea280fbb283fbbadb5eea2e 100644 --- a/apps/graphpolaris/src/web/components/panels/Panel.stories.tsx +++ b/apps/graphpolaris/src/web/components/panels/Panel.stories.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import Panel from './Panel'; +import Panel from './panel'; import { ComponentStory, ComponentMeta } from '@storybook/react'; export default { diff --git a/apps/graphpolaris/src/web/components/visualisations/RawJSONVis/raw-jsonvis.module.scss b/apps/graphpolaris/src/web/components/visualisations/RawJSONVis/rawjsonvis.module.scss similarity index 100% rename from apps/graphpolaris/src/web/components/visualisations/RawJSONVis/raw-jsonvis.module.scss rename to apps/graphpolaris/src/web/components/visualisations/RawJSONVis/rawjsonvis.module.scss diff --git a/apps/graphpolaris/src/web/components/visualisations/RawJSONVis/raw-jsonvis.spec.tsx b/apps/graphpolaris/src/web/components/visualisations/RawJSONVis/rawjsonvis.spec.tsx similarity index 84% rename from apps/graphpolaris/src/web/components/visualisations/RawJSONVis/raw-jsonvis.spec.tsx rename to apps/graphpolaris/src/web/components/visualisations/RawJSONVis/rawjsonvis.spec.tsx index ec4c0a8e85966a245b9ff5c8ae0fe6d06e42ed92..684e611b1ecfeba2f1f73f85046ee15504c6acc1 100644 --- a/apps/graphpolaris/src/web/components/visualisations/RawJSONVis/raw-jsonvis.spec.tsx +++ b/apps/graphpolaris/src/web/components/visualisations/RawJSONVis/rawjsonvis.spec.tsx @@ -1,6 +1,6 @@ import { render } from '@testing-library/react'; -import RawJSONVis from './raw-jsonvis'; +import RawJSONVis from './rawjsonvis'; describe('RawJSONVis', () => { it('should render successfully', () => { diff --git a/apps/graphpolaris/src/web/components/visualisations/RawJSONVis/raw-jsonvis.stories.tsx b/apps/graphpolaris/src/web/components/visualisations/RawJSONVis/rawjsonvis.stories.tsx similarity index 94% rename from apps/graphpolaris/src/web/components/visualisations/RawJSONVis/raw-jsonvis.stories.tsx rename to apps/graphpolaris/src/web/components/visualisations/RawJSONVis/rawjsonvis.stories.tsx index 02311737301d14a8fcf5c6cfeeb6e0a11c78e9a7..8c45dc630889739eb5384b8f863f4f94c20da53e 100644 --- a/apps/graphpolaris/src/web/components/visualisations/RawJSONVis/raw-jsonvis.stories.tsx +++ b/apps/graphpolaris/src/web/components/visualisations/RawJSONVis/rawjsonvis.stories.tsx @@ -1,11 +1,10 @@ import React from 'react'; import { ComponentStory, ComponentMeta } from '@storybook/react'; -import { RawJSONVis } from './raw-jsonvis'; +import { RawJSONVis } from './rawjsonvis'; import { Provider } from 'react-redux'; import { configureStore, createSlice } from '@reduxjs/toolkit'; -// import * as TaskListStories from './TaskList.stories'; import graphQueryResultSlice, { assignNewGraphQueryResult, resetGraphQueryResults, diff --git a/apps/graphpolaris/src/web/components/visualisations/RawJSONVis/raw-jsonvis.tsx b/apps/graphpolaris/src/web/components/visualisations/RawJSONVis/rawjsonvis.tsx similarity index 97% rename from apps/graphpolaris/src/web/components/visualisations/RawJSONVis/raw-jsonvis.tsx rename to apps/graphpolaris/src/web/components/visualisations/RawJSONVis/rawjsonvis.tsx index d9e48232217a6ecfc3a0738865d0a43be1e8d3e5..ecd4ba1c862a5e57d253b5049252cd9ec33e1203 100644 --- a/apps/graphpolaris/src/web/components/visualisations/RawJSONVis/raw-jsonvis.tsx +++ b/apps/graphpolaris/src/web/components/visualisations/RawJSONVis/rawjsonvis.tsx @@ -1,7 +1,7 @@ import { useGraphQueryResult } from '@graphpolaris/shared/data-access/store'; import React, { useEffect, useState } from 'react'; import ReactJSONView from 'react-json-view'; -import './raw-jsonvis.module.scss'; +import './rawjsonvis.module.scss'; /* eslint-disable-next-line */ export interface RawJSONVisProps { diff --git a/apps/graphpolaris/src/web/components/visualisations/SemanticSubstrates/SemanticSubstrates.stories.tsx b/apps/graphpolaris/src/web/components/visualisations/SemanticSubstrates/SemanticSubstrates.stories.tsx index e4b342f2e872187af5304a536b59da729efc0949..3c80f3467ea40c048d39f56220b860b05843a433 100644 --- a/apps/graphpolaris/src/web/components/visualisations/SemanticSubstrates/SemanticSubstrates.stories.tsx +++ b/apps/graphpolaris/src/web/components/visualisations/SemanticSubstrates/SemanticSubstrates.stories.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import SemanticSubstrates from './SemanticSubstrates'; +import SemanticSubstrates from './semanticsubstrates'; import { ComponentStory, ComponentMeta } from '@storybook/react'; export default { diff --git a/apps/graphpolaris/src/web/components/visualisations/NodeLink/Nodelink.stories.tsx b/apps/graphpolaris/src/web/components/visualisations/nodelink/nodelinkvis.stories.tsx similarity index 95% rename from apps/graphpolaris/src/web/components/visualisations/NodeLink/Nodelink.stories.tsx rename to apps/graphpolaris/src/web/components/visualisations/nodelink/nodelinkvis.stories.tsx index c4fb623d8ba3095274111bc10c2d3ade7b39eb96..fb22505b674ca26e9acb79192fb100fa11c3c159 100644 --- a/apps/graphpolaris/src/web/components/visualisations/NodeLink/Nodelink.stories.tsx +++ b/apps/graphpolaris/src/web/components/visualisations/nodelink/nodelinkvis.stories.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import NodeLink from './NodeLink'; +import NodeLink from './nodelinkvis'; import { ComponentStory, ComponentMeta } from '@storybook/react'; export default { diff --git a/apps/graphpolaris/src/web/components/visualisations/NodeLink/NodeLink.tsx b/apps/graphpolaris/src/web/components/visualisations/nodelink/nodelinkvis.tsx similarity index 100% rename from apps/graphpolaris/src/web/components/visualisations/NodeLink/NodeLink.tsx rename to apps/graphpolaris/src/web/components/visualisations/nodelink/nodelinkvis.tsx diff --git a/apps/graphpolaris/src/web/components/visualisations/PoahVis/PoahVis.stories.tsx b/apps/graphpolaris/src/web/components/visualisations/paohvis/paohvis.stories.tsx similarity index 60% rename from apps/graphpolaris/src/web/components/visualisations/PoahVis/PoahVis.stories.tsx rename to apps/graphpolaris/src/web/components/visualisations/paohvis/paohvis.stories.tsx index da885542e0a8ff13fa86554277b157834fa03dd4..795a79aba58096b8ee5beb94af287ec7fadaab51 100644 --- a/apps/graphpolaris/src/web/components/visualisations/PoahVis/PoahVis.stories.tsx +++ b/apps/graphpolaris/src/web/components/visualisations/paohvis/paohvis.stories.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import PoahVis from './PoahVis'; +import PaohVis from './paohvis'; import { ComponentStory, ComponentMeta } from '@storybook/react'; export default { @@ -7,13 +7,13 @@ export default { * See https://storybook.js.org/docs/react/configure/overview#configure-story-loading * to learn how to generate automatic titles */ - title: 'PoahVis', - component: PoahVis, + title: 'PaohVis', + component: PaohVis, decorators: [(story) => <div style={{ padding: '3rem' }}>{story()}</div>], -} as ComponentMeta<typeof PoahVis>; +} as ComponentMeta<typeof PaohVis>; -const Template: ComponentStory<typeof PoahVis> = (args) => ( - <PoahVis {...args} /> +const Template: ComponentStory<typeof PaohVis> = (args) => ( + <PaohVis {...args} /> ); export const Primary = Template.bind({}); @@ -21,9 +21,3 @@ export const Primary = Template.bind({}); Primary.args = { content: 'Testing header #1', }; - -export const Secondary = Template.bind({}); - -Secondary.args = { - content: 'Testing header number twoooo', -}; diff --git a/apps/graphpolaris/src/web/components/visualisations/PoahVis/PoahVis.tsx b/apps/graphpolaris/src/web/components/visualisations/paohvis/paohvis.tsx similarity index 100% rename from apps/graphpolaris/src/web/components/visualisations/PoahVis/PoahVis.tsx rename to apps/graphpolaris/src/web/components/visualisations/paohvis/paohvis.tsx