Commit Graph

8 Commits

Author SHA1 Message Date
Jeremy e986a1746f
fix(webpack-dev-server): parse env args (#19744) 2024-02-07 14:59:41 -07:00
Jesse Yang a5af2ade0a
test: add React Testing Library (#11771) 2020-12-01 11:14:37 -08:00
Jesse Yang 70ea7ae776
fix: error handling for webpack proxy (#11420) 2020-10-25 17:14:56 -07:00
Jesse Yang 04ee4a2d08
build: let webpack proxy server handle more content encoding (#11376) 2020-10-22 13:25:17 -07:00
Jianchao Yang 7b4b0d1c61
[Build] Add Github workflows (#9517)
As an replacement to Travis CI.
2020-04-14 13:38:09 -07:00
Jianchao Yang 77fcc4b6aa
build: use manifest hooks for dev server proxy and fix hot reload for charts (#9333)
* Use manifest hooks for dev server proxy

* Rewrite dashboard/App.jsx to supress Redux error in hot reload

* Update ChartRenderer to allow hot realod in Explore

* Fix hot reload in dashboars as well

* Revert changes to ChartRenderer.jsx

Will submit in another PR.

* Clean up
2020-03-26 16:55:22 -07:00
Jianchao Yang c4b53a7d42
Build: optimize frontend build configs to improve superset-ui-plugin dev experience (#9326)
* Upgrade webpack, babel and React

* Upgrade all Babel related packages

Also remove babel-plugin-css-modules-transform that is not in use.

* Remvoe tslib as dependency

* Remove unnecesary packages
2020-03-19 14:57:39 -07:00
Jianchao Yang c36a7e3ada
chore: allow webpack-dev-server proxy to any destination (#9296)
One of the pain points in developing Superset frontend code is the lack
of testing data. Local installation often do not have enough examples
setup to test all edge cases.

This change allows `webpack-dev-server` to proxy to any remote Superset
service, but the same time replaces frontend asset references in HTML
with links to local development version. This allows developers to test
with production data locally, tackling edge cases all while maintaining
the productivity of editing the code locally.
2020-03-17 15:37:07 -07:00