Skip to content

Commit

Permalink
Migrated client-report to compdem subdir.
Browse files Browse the repository at this point in the history
  • Loading branch information
patcon committed Oct 11, 2024
1 parent 1c0b2da commit e824f07
Show file tree
Hide file tree
Showing 16 changed files with 89 additions and 98 deletions.
14 changes: 0 additions & 14 deletions stories/client-report/framework/Footer.stories.js

This file was deleted.

17 changes: 0 additions & 17 deletions stories/client-report/framework/heading.stories.js

This file was deleted.

17 changes: 0 additions & 17 deletions stories/client-report/framework/legend.stories.js

This file was deleted.

14 changes: 0 additions & 14 deletions stories/client-report/framework/logoLargeShort.stories.js

This file was deleted.

14 changes: 0 additions & 14 deletions stories/client-report/framework/logoSmallLong.stories.js

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import React from 'react'
import BarChart from '../../codebases/compdem/client-report/src/components/barChart'
import { getMath } from '../../.storybook/utils'
import { svgDecorator } from '../../.storybook/decorators'
import BarChart from '../../../codebases/compdem/client-report/src/components/barChart'
import { getMath } from '../../../.storybook/utils'
import { svgDecorator } from '../../../.storybook/decorators'

const mathResults = getMath()

export default {
title: 'Client-Report/BarChart',
component: BarChart,
decorators: [svgDecorator],
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import React from 'react'
import Beeswarm from '../../codebases/compdem/client-report/src/components/beeswarm/beeswarm'
import { getMath, getConversation, getExtremity } from '../../.storybook/utils'
import Beeswarm from '../../../codebases/compdem/client-report/src/components/beeswarm/beeswarm'
import { getMath, getConversation, getExtremity } from '../../../.storybook/utils'

import '../../codebases/compdem/client-report/src/index.css';
import '../../../codebases/compdem/client-report/src/index.css';

const mathResult = getMath()

export default {
title: 'Client-Report/Beeswarm (not working)',
title: 'compdem/client-report/Beeswarm (not working)',
component: Beeswarm,
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import React from 'react'
import Overview from '../../codebases/compdem/client-report/src/components/overview'
import { getMath, getConversation } from '../../.storybook/utils'
import Overview from '../../../codebases/compdem/client-report/src/components/overview'
import { getMath, getConversation } from '../../../.storybook/utils'

import '../../codebases/compdem/client-report/src/index.css';
import '../../../codebases/compdem/client-report/src/index.css';

export default {
title: 'Client-Report/Overview',
component: Overview,
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import React from 'react'
import Checkbox from '../../../codebases/compdem/client-report/src/components/framework/checkbox'
import settings from '../../../codebases/compdem/client-report/src/settings'
import Checkbox from '../../../../codebases/compdem/client-report/src/components/framework/checkbox'
import settings from '../../../../codebases/compdem/client-report/src/settings'

import '../../../codebases/compdem/client-report/src/index.css';
import '../../../../codebases/compdem/client-report/src/index.css';

export default {
title: 'Client-Report/Checkbox (buggy)',
title: 'compdem/client-report/framework/Checkbox (buggy)',
component: Checkbox,
}

Expand Down
13 changes: 13 additions & 0 deletions stories/compdem/client-report/framework/Footer.stories.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import React from 'react'
import Footer from '../../../../codebases/compdem/client-report/src/components/framework/Footer'

import '../../../../codebases/compdem/client-report/src/index.css'

export default {
component: Footer,
}

const Template = (args) => <Footer {...args} />

export const Default = Template.bind({})
Default.args = {}
16 changes: 16 additions & 0 deletions stories/compdem/client-report/framework/Heading.stories.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import React from 'react'
import Heading from '../../../../codebases/compdem/client-report/src/components/framework/heading'
import { getConversation } from '../../../../.storybook/utils'

import '../../../../codebases/compdem/client-report/src/index.css';

export default {
component: Heading,
}

const Template = (args) => <Heading {...args} />

export const Default = Template.bind({})
Default.args = {
conversation: getConversation(),
}
16 changes: 16 additions & 0 deletions stories/compdem/client-report/framework/Legend.stories.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import React from 'react'
import Legend from '../../../../codebases/compdem/client-report/src/components/framework/legend'
import { getVoteColors } from '../../../../.storybook/utils'

import '../../../../codebases/compdem/client-report/src/index.css';

export default {
component: Legend,
}

const Template = (args) => <Legend {...args} />

export const Default = Template.bind({})
Default.args = {
voteColors: getVoteColors(),
}
13 changes: 13 additions & 0 deletions stories/compdem/client-report/framework/LogoLargeShort.stories.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import React from 'react'
import LogoLargeShort from '../../../../codebases/compdem/client-report/src/components/framework/logoLargeShort'

import '../../../../codebases/compdem/client-report/src/index.css';

export default {
component: LogoLargeShort,
}

const Template = (args) => <LogoLargeShort {...args} />

export const Default = Template.bind({})
Default.args = {}
13 changes: 13 additions & 0 deletions stories/compdem/client-report/framework/LogoSmallLong.stories.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import React from 'react'
import LogoSmallLong from '../../../../codebases/compdem/client-report/src/components/framework/logoSmallLong'

import '../../../../codebases/compdem/client-report/src/index.css';

export default {
component: LogoSmallLong,
}

const Template = (args) => <LogoSmallLong {...args} />

export const Default = Template.bind({})
Default.args = {}
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import React from 'react'

import { BarChartCompact } from '../../../codebases/compdem/client-report/src/components/lists/commentList.js'
import { BarChartCompact } from '../../../../codebases/compdem/client-report/src/components/lists/commentList.js'

import participationData from '../../../.storybook/data/3ntrtcehas-participation-init.json'
import participationData from '../../../../.storybook/data/3ntrtcehas-participation-init.json'
const pcaData = JSON.parse(participationData.pca)

export default {
title: 'Client-Report/BarChartCompact',
component: BarChartCompact,
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import React from 'react'

import { CommentRow } from '../../../codebases/compdem/client-report/src/components/lists/commentList.js'
import { CommentRow } from '../../../../codebases/compdem/client-report/src/components/lists/commentList.js'

import participationData from '../../../.storybook/data/3ntrtcehas-participation-init.json'
import participationData from '../../../../.storybook/data/3ntrtcehas-participation-init.json'
const pcaData = JSON.parse(participationData.pca)

export default {
title: 'Client-Report/CommentRow',
component: CommentRow,
}

Expand Down

0 comments on commit e824f07

Please sign in to comment.