Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(chat): new feedback, chart analysis #314

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import '@carbon/web-components/es/components/button/index.js';

// More on how to set up stories at: https://storybook.js.org/docs/web-components/writing-stories/introduction
export default {
title: 'Components/Chat/Card',
title: 'Components/Core/Card',
component: 'clabs-chat-card',
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { html } from 'lit';

// More on how to set up stories at: https://storybook.js.org/docs/web-components/writing-stories/introduction
export default {
title: 'Components/Chat/Carousel',
title: 'Components/Core/Carousel',
};

const carouselExamples = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@
import '../chartElement';
import { html } from 'lit';
import complexExamples from './examples2.json';
import otherExamples from './examples3.json';

// More on how to set up stories at: https://storybook.js.org/docs/web-components/writing-stories/introduction
export default {
title: 'Components/Chart',
title: 'Components/Experimental/Chart',
component: 'clabs-chat-chart',
};

Expand Down Expand Up @@ -386,6 +387,26 @@ export const ComplexExamples = {
`,
};

export const FacetingTest = {
/**
* Renders the template for Showcase Storybook
* @returns {TemplateResult<1>}
*/
render: () =>
html`
${otherExamples.map(
(item) =>
html` <h4>${item.name}</h4>
<clabs-chat-chart
container-height="600px"
container-width="800px"
debug-mode
content="${JSON.stringify(item.spec)}">
</clabs-chat-chart>`
)}
`,
};

export const RepeatingLayerCharts = {
/**
* Renders the template for Showcase Storybook
Expand Down
Loading