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

Vega 5 upgrade #58545

Closed
wants to merge 36 commits into from
Closed

Vega 5 upgrade #58545

wants to merge 36 commits into from

Conversation

wylieconlon
Copy link
Contributor

Draft for collaboration

Summary

Summarize your PR. If it involves visual changes include a screenshot or gif.

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@wylieconlon wylieconlon mentioned this pull request Feb 25, 2020
4 tasks
@flash1293
Copy link
Contributor

It seems like you are also upgrading vega-lite, isn't this the problem @nyurik mentioned about it not being ready yet? vega/vega-lite#5920

@wylieconlon
Copy link
Contributor Author

Tested locally with the IE11 fix I was developing in parallel (#58943), and found that vega-lite can't be upgraded as far as vega like you pointed out. But vega 5 does run in IE11!

@flash1293
Copy link
Contributor

It should be possible to just upgrade vega and stick with the current outdated vega-lite version, right? If yes I think we should go for it, having vega Upgraded is the most important part because it’s always possible to compile vega-lite down somewhere else and then just use vega within Kibana if a user really needs the features of upgraded vega lite.

@wylieconlon
Copy link
Contributor Author

Yes, exactly. Once we fix IE11, we can upgrade vega by itself.

@wylieconlon
Copy link
Contributor Author

This work is currently blocked by another IE11 issue, I will return to focus on it soon.

@wylieconlon
Copy link
Contributor Author

I've submitted a PR to vega-lite which I tested against this PR: vega/vega-lite#6249

With the combination of these things, I was able to use both vega and vega-lite in IE11:

Screenshot 2020-04-03 15 06 59

@wylieconlon
Copy link
Contributor Author

The best way to test this is:

yarn es snapshot --license oss
BROWSERSLIST_ENV=production node --max-old-space-size=4096 scripts/kibana --dev --server.basePath=/abc --oss

The OSS build is smaller, and is able to run in IE11. IE11 testing also requires:

csp.strict: false
server.host: '0.0.0.0'

@wylieconlon
Copy link
Contributor Author

@elasticmachine merge upstream

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.

None yet

5 participants