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

Upgraded to Typescript@3.6, Vega@5.2, Vega-Lite@3.4, Webpack@4.1 #886

Open
wants to merge 72 commits into
base: master
Choose a base branch
from

Conversation

siyaoL1
Copy link
Contributor

@siyaoL1 siyaoL1 commented Apr 6, 2022

List of upgraded dependencies:

  • ajv
  • vega
  • vega-lite
  • compassql
  • vega-datasets
  • vega-expression
  • vega-tooltip
  • vega-typings
  • vega-util
  • vega-functions
  • css-loader
  • extract-text-webpack-plugin
  • file-loader
  • html-webpack-plugin
  • postcss-loader
  • react-dnd
  • react-dev-utils
  • react-hot-loader
  • sass-loader
  • source-map-loader
  • terser-webpack-plugin
  • ts-jest
  • ts-loader
  • typescript
  • url-loader
  • webpack
  • webpack-cli
  • webpack-dev-server
  • webpack-manifest-plugin
  • @types/webpack
  • @types/node
  • @types/react

siyaoL1 and others added 30 commits July 11, 2021 20:58
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.
@siyaoL1
Copy link
Contributor Author

siyaoL1 commented Apr 7, 2022

I will work on addressing the comments

However, there still are errors when running jest
@lgtm-com
Copy link

lgtm-com bot commented Apr 20, 2022

This pull request introduces 3 alerts when merging 8822adf into 882809f - view on LGTM.com

new alerts:

  • 2 for Unused variable, import, function or class
  • 1 for Unreachable statement

@lgtm-com
Copy link

lgtm-com bot commented Apr 26, 2022

This pull request introduces 2 alerts when merging d86b3e7 into 882809f - view on LGTM.com

new alerts:

  • 2 for Unused variable, import, function or class

@lgtm-com
Copy link

lgtm-com bot commented Apr 26, 2022

This pull request introduces 2 alerts when merging 40bec63 into 882809f - view on LGTM.com

new alerts:

  • 2 for Unused variable, import, function or class

@domoritz
Copy link
Member

Please fix the tests

@domoritz domoritz closed this Apr 29, 2022
@domoritz domoritz reopened this Apr 29, 2022
@lgtm-com
Copy link

lgtm-com bot commented May 25, 2022

This pull request introduces 2 alerts when merging 6d04f84 into 2bd9d86 - view on LGTM.com

new alerts:

  • 2 for Unused variable, import, function or class

@domoritz
Copy link
Member

Let me know when tests pass.

Copy link
Member

@domoritz domoritz left a 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.

@@ -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');
Copy link
Member

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

var publicUrl = '';
const env = getClientEnvironment(publicUrl);
// var publicUrl = '';
// const env = getClientEnvironment(publicUrl);
Copy link
Member

Choose a reason for hiding this comment

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

same as above

@siyaoL1
Copy link
Contributor Author

siyaoL1 commented Jun 1, 2022

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?

@domoritz
Copy link
Member

domoritz commented Jun 5, 2022

@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.
@lgtm-com
Copy link

lgtm-com bot commented Jun 8, 2022

This pull request introduces 1 alert when merging 0bd2706 into 2bd9d86 - view on LGTM.com

new alerts:

  • 1 for Incomplete multi-character sanitization

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

2 participants