Граф коммитов

1 Коммитов

Автор SHA1 Сообщение Дата
Nicholas King af18242748
Decouple dev workflow from Jupyter, create hot debugging environment (#25)
* 2 build targets for webpack - jupyter and dev

* First revision of Flask dev server hacked together

* Refactored code to maximize reuse. Changed webpack dev build to export a separate artifact to widget/resources directory instead of dist/

* Remove widget-build-dev from checkin, add to gitignore

* Setup webpack-dev-server and React hot loader. 'npm start' runs the web server. Debugger setup for VSCode. Integrated front end and backend.

* Code cleanup - remove unnecessary files, move .flaskenv to project root, cleanup linter errors

* widget.css has to be exported for Jupyter notebook - fix webpack

* Refactored compatibility_analysis.py and app.py to separate code more appropriately. Webpack now exports dev widget to dev-artifacts folder. Todo: Use FlaskHelper in dev mode, include Jupyter styles in dev widget build

* Merge webpack configs into 1 config that changes dynamically. Fix React hot loading. Use HtmlWebpackPlugin to generate index.html from template, removing dev build artifacts on file system. Linting & simplification of python code.

* Remove dev-artifacts folder from .gitignore

* Mode dev harness code to development/ folder outside of the widget code. Update readme with dev harness usage instructions. Update release.sh with new build command.

* Fix CompatibilityAnalysis import in app.py

* Include all CSS from Jupyter notebook

* Remove .dev-container CSS class

* Move development artifacts to development/ directory

* Change dev API port to 5000

* Revert a deletion in training.py, add info about non-localhost usage in Readme

Co-authored-by: Nicholas King <v-nicki@microsoft.com>
2020-11-13 12:21:07 -08:00