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

Refactor to move ChartState to vegafusion core #519

Merged
merged 4 commits into from
Oct 16, 2024

Conversation

jonmmease
Copy link
Collaborator

This is a refactor PR that moves the ChartState struct up from vegafusion-runtime to vegafusion-core. The motivation is that in the future we want to use the ChartState construct from vegafusion-wasm, which does not depend on vegafusion-runtime.

To make this work, I added a VegaFusionRuntimeTrait to vegafusion-core, and write the ChartState implementation based on this. Then the trait is implemented in vegafusion-runtime.

@jonmmease jonmmease changed the base branch from main to v2 October 16, 2024 17:37
@jonmmease jonmmease merged commit d7120b8 into v2 Oct 16, 2024
19 checks passed
jonmmease added a commit that referenced this pull request Oct 17, 2024
jonmmease added a commit that referenced this pull request Oct 17, 2024
jonmmease added a commit that referenced this pull request Oct 17, 2024
jonmmease added a commit that referenced this pull request Oct 17, 2024
* Reapply "Refactor to move ChartState to vegafusion core (#519)" (#520)

This reverts commit 713b159.

* Use ChartState in vegafusion-wasm

* format
jonmmease added a commit that referenced this pull request Nov 16, 2024
* Move ChartState to vegafusion-core, add VegaFusionRuntimeTrait

* format

* fmt

* type fixes
jonmmease added a commit that referenced this pull request Nov 16, 2024
jonmmease added a commit that referenced this pull request Nov 16, 2024
* Reapply "Refactor to move ChartState to vegafusion core (#519)" (#520)

This reverts commit 713b159.

* Use ChartState in vegafusion-wasm

* format
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.

1 participant