Skip to content
Permalink
Browse files

Merge pull request #100 from plotly/dev-tools

Dash Dev Tools
  • Loading branch information...
byronz committed Apr 18, 2019
2 parents fd0b53d + 7ec2f27 commit a9e5b8a56173ff3713b493b0b327bafb4dfac3af
Showing with 35,741 additions and 22,673 deletions.
  1. +12 −2 .babelrc
  2. +2 −1 .circleci/config.yml
  3. +9 −0 CHANGELOG.md
  4. +27 −0 config/eslint/eslintrc-node.json
  5. +25,061 −19,221 dash_renderer/dash_renderer.dev.js
  6. +1 −1 dash_renderer/dash_renderer.dev.js.map
  7. +12 −4 dash_renderer/dash_renderer.min.js
  8. +1 −1 dash_renderer/dash_renderer.min.js.map
  9. +204 −0 dash_renderer/react-dom@16.6.3.production.min.js
  10. +222 −0 dash_renderer/react-dom@16.8.4.production.min.js
  11. +31 −0 dash_renderer/react@16.6.3.production.min.js
  12. +33 −0 dash_renderer/react@16.8.4.production.min.js
  13. +4 −1 dev-requirements.txt
  14. +7,345 −2,665 package-lock.json
  15. +33 −13 package.json
  16. +17 −9 src/APIController.react.js
  17. +2 −2 src/AppContainer.react.js
  18. +142 −79 src/TreeContainer.js
  19. +8 −9 src/actions/api.js
  20. +13 −10 src/actions/constants.js
  21. +279 −214 src/actions/index.js
  22. +16 −0 src/components/error/CallbackGraph/CallbackGraphContainer.css
  23. +73 −0 src/components/error/CallbackGraph/CallbackGraphContainer.react.js
  24. +78 −0 src/components/error/ComponentErrorBoundary.react.js
  25. +116 −0 src/components/error/FrontEnd/FrontEndError.css
  26. +180 −0 src/components/error/FrontEnd/FrontEndError.react.js
  27. +53 −0 src/components/error/FrontEnd/FrontEndErrorContainer.react.js
  28. +54 −0 src/components/error/GlobalErrorContainer.react.js
  29. +17 −0 src/components/error/GlobalErrorContainerPassthrough.react.js
  30. +101 −0 src/components/error/GlobalErrorOverlay.css
  31. +43 −0 src/components/error/GlobalErrorOverlay.react.js
  32. +12 −0 src/components/error/Percy.css
  33. +3 −0 src/components/error/icons/BellIcon.svg
  34. +3 −0 src/components/error/icons/BellIconGrey.svg
  35. +3 −0 src/components/error/icons/CloseIcon.svg
  36. +3 −0 src/components/error/icons/CollapseIcon.svg
  37. +3 −0 src/components/error/icons/DebugIcon.svg
  38. +3 −0 src/components/error/icons/ErrorIconWhite.svg
  39. +3 −0 src/components/error/icons/GraphIcon.svg
  40. +3 −0 src/components/error/icons/GraphIconGrey.svg
  41. +3 −0 src/components/error/icons/LeftArrow.svg
  42. +3 −0 src/components/error/icons/ReloadIcon.svg
  43. +3 −0 src/components/error/icons/RightArrow.svg
  44. +3 −0 src/components/error/icons/WarningIconWhite.svg
  45. +3 −0 src/components/error/icons/WhiteCloseIcon.svg
  46. +44 −0 src/components/error/menu/DebugAlertContainer.css
  47. +38 −0 src/components/error/menu/DebugAlertContainer.react.js
  48. +102 −0 src/components/error/menu/DebugMenu.css
  49. +161 −0 src/components/error/menu/DebugMenu.react.js
  50. +104 −0 src/components/error/werkzeug.css.txt
  51. +119 −0 src/exceptions.js
  52. +1 −0 src/reducers/api.js
  53. +58 −0 src/reducers/error.js
  54. +11 −0 src/reducers/history.js
  55. +2 −2 src/reducers/paths.js
  56. +5 −2 src/reducers/reducer.js
  57. +20 −6 src/reducers/utils.js
  58. +6 −5 src/registry.js
  59. +56 −42 tests/IntegrationTests.py
  60. +1 −0 tests/test_assets/initial_state_dash_app_content.html
  61. +2 −2 tests/test_race_conditions.py
  62. +747 −360 tests/test_render.py
  63. +0 −21 tests/utils.py
  64. +24 −1 webpack.config.js
@@ -1,3 +1,13 @@
{
"presets": ["env", "react"]
}
"presets": ["es2015", "react", "stage-2"],
"env": {
"development": {
"presets": ["es2015", "react", "stage-2"],
"plugins": [
["transform-es2015-modules-commonjs-simple", {
"noMangle": true
}]
]
}
}
}
@@ -39,7 +39,7 @@ jobs:
name: Install dependencies (dash)
command: |
git clone git@github.com:plotly/dash.git
git clone git@github.com:plotly/dash-core-components.git
git clone --branch fix-prop-types git@github.com:plotly/dash-core-components.git
git clone git@github.com:plotly/dash-html-components.git
git clone git@github.com:plotly/dash-table.git
. venv/bin/activate
@@ -53,6 +53,7 @@ jobs:
command: |
. venv/bin/activate
npm run build
npm run build:dev
pip install -e . --quiet
pip list | grep dash
@@ -6,6 +6,15 @@ This project adheres to [Semantic Versioning](http://semver.org/).
### Fixed
- Fix regression for `children=0` case [#148](https://github.com/plotly/dash-renderer/issues/148)


### Added

- Dash Dev Tools [#100](https://github.com/plotly/dash-renderer/pull/100)

- a simple UI interface, which consolidates both frontend and backend errors into an "error popup" at the top-right corner
- callback function visualization through a DAG(Directed Acyclic Graph) [#144](https://github.com/plotly/dash-renderer/pull/144)
- free [Component Props check](https://reactjs.org/docs/typechecking-with-proptypes.html) for all Dash React Components inside dash-renderer

## [0.22.0] - 2019-04-10
### Added
- Added support for clientside callbacks [#143](https://github.com/plotly/dash-renderer/pull/143)
@@ -0,0 +1,27 @@
{
"env": {
"node": true,
"browser": true
},
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:react/recommended"
],
"plugins": [
"import", "react"
],
"parserOptions": {
"ecmaVersion": "2015",
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"rules": {
"import/no-commonjs": 0,
"import/no-nodejs-modules": 0
}
}

0 comments on commit a9e5b8a

Please sign in to comment.
You can’t perform that action at this time.