Skip to content

Conversation

@lyjeileen
Copy link
Collaborator

Change:

  • Rename vegaLiteChart to vegaLite
  • Move chart and vegaLite to Visualization folder

More storybook examples will be added in a follow-up PR

Before

Screenshot 2024-05-22 at 4 14 03 PM

After

Screenshot 2024-05-22 at 4 12 45 PM

BREAKING CHANGE: rename vagaLiteChart to vegaLite
BREAKING CHANGE: rename vegalite

type VegaLiteOptions = EmbedOptions<string, Renderers>
export interface VegaLiteChartFormat extends DataFormat {
export interface VegaLiteVizFormat extends DataFormat {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this should just be VegaLiteFormat

Suggested change
export interface VegaLiteVizFormat extends DataFormat {
export interface VegaLiteFormat extends DataFormat {


export type VegaLiteChartData = VegaLiteChartFormat &
Updates<VegaLiteChartFormat>
export type VegaLiteVizData = VegaLiteVizFormat & Updates<VegaLiteVizFormat>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
export type VegaLiteVizData = VegaLiteVizFormat & Updates<VegaLiteVizFormat>
export type VegaLiteData = VegaLiteFormat & Updates<VegaLiteFormat>

@Shiti Shiti merged commit 1a62c5c into rustic-ai:main May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants