-
Notifications
You must be signed in to change notification settings - Fork 178
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
Upgraded to Typescript@3.6, Vega@5.2, Vega-Lite@3.4, Webpack@4.1 #886
base: master
Are you sure you want to change the base?
Conversation
Needed to remove a line in the PlotBase definition due to the upgrade of @types/react Have to change protected to public for componentWillUnmount() function
Merged the upgrades from upgrade_webpack branch with typescript 3.4.1
yarn built successfully, and passes all the tests. However the webpack-dev-server renders a blank screen which still need to be solved.
Co-authored-by: Dominik Moritz <domoritz@gmail.com>
Co-authored-by: Dominik Moritz <domoritz@gmail.com>
And resolved the style issue.
I will work on addressing the comments |
However, there still are errors when running jest
This pull request introduces 3 alerts when merging 8822adf into 882809f - view on LGTM.com new alerts:
|
This pull request introduces 2 alerts when merging d86b3e7 into 882809f - view on LGTM.com new alerts:
|
This pull request introduces 2 alerts when merging 40bec63 into 882809f - view on LGTM.com new alerts:
|
Please fix the tests |
This pull request introduces 2 alerts when merging 6d04f84 into 2bd9d86 - view on LGTM.com new alerts:
|
Let me know when tests pass. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice!
Please remove yarn-error.log.
Did you check that the app works as expected? If so, I will make a final pass and merge after you address my comments.
config/webpack.config.lib.js
Outdated
@@ -6,10 +6,10 @@ const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin'); | |||
const TerserPlugin = require("terser-webpack-plugin"); | |||
var WebpackNotifierPlugin = require('webpack-notifier'); | |||
|
|||
const getClientEnvironment = require('./env'); | |||
// const getClientEnvironment = require('./env'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove commented out code
config/webpack.config.lib.js
Outdated
var publicUrl = ''; | ||
const env = getClientEnvironment(publicUrl); | ||
// var publicUrl = ''; | ||
// const env = getClientEnvironment(publicUrl); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
Thanks! I just addressed the comments and deleted the unavailable datasets, and I have tested that the app works as expected. Would you like me to add more datasets from vega-datasets? |
@siyaoL1 is working on support CSV and then we can merge this. |
Now the default dataset supports csv files from vega_datasets, such as birdstricks.csv.
This pull request introduces 1 alert when merging 0bd2706 into 2bd9d86 - view on LGTM.com new alerts:
|
List of upgraded dependencies: