Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Dash Dev Tools #100

Merged
merged 215 commits into from
Apr 18, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
215 commits
Select commit Hold shift + click to select a range
eb7f935
Dash dev tools -- frontend
rmarren1 Jul 29, 2018
605b585
Eslint error fixes.
rmarren1 Jul 30, 2018
e3d4d6a
Catch Werkzueg errors in front-end and display.
rmarren1 Aug 2, 2018
3758ca2
Error boundary around each component.
rmarren1 Aug 2, 2018
43093e8
Get rid of eslint complaints
rmarren1 Aug 3, 2018
01b64ed
Werkzueg embed with console working
rmarren1 Aug 3, 2018
ffdad09
Expandable error boundaries
rmarren1 Aug 3, 2018
4409102
Error component overlay and resolve.
rmarren1 Aug 8, 2018
15e03a2
Revert changes when resolved.
rmarren1 Aug 9, 2018
9b29a74
Updates to pass testing.
rmarren1 Aug 10, 2018
09f32a6
Add 'namespace' and 'type' props to _dash_update_component payload.
rmarren1 Aug 21, 2018
11ae9b3
Merge branch 'validate' into dash-dev-tools
rmarren1 Aug 27, 2018
1653474
Rebase on master
rmarren1 Oct 3, 2018
87fd0e3
Update webpack
rmarren1 Oct 3, 2018
375fdcd
Update Dash ecosystem requirements to latest
rmarren1 Oct 3, 2018
418f46b
Fix html raw comparison test
rmarren1 Oct 3, 2018
e0486eb
Add n_clicks, n_clicks_timestamp to raw HTML comparisons
rmarren1 Oct 3, 2018
12973a3
Merge branch 'dash-dev-tools' of https://github.com/rmarren1/dash-ren…
rmarren1 Oct 3, 2018
b94c026
Add css-loader
rmarren1 Oct 4, 2018
2954c8c
Add sample werkzueg.css file
rmarren1 Oct 4, 2018
e14a259
Re-build renderer
rmarren1 Oct 4, 2018
8e80bdb
Replace werkzueg.css with default
rmarren1 Oct 4, 2018
2fec382
Add frontEnd / backEnd error state to redux.
rmarren1 Oct 5, 2018
b6e2b5f
Fix 'UNDO' error.
rmarren1 Oct 10, 2018
89c5cae
Add ComponentDisabledOverlay
rmarren1 Oct 10, 2018
e60ed0a
Include component `id` and `UID` in store.
rmarren1 Oct 10, 2018
e266c33
Remove old children from Error Overlay.
rmarren1 Oct 10, 2018
1bdb9ea
Change myId -> myUID
rmarren1 Oct 10, 2018
6c644fc
Add Global error menu.
rmarren1 Oct 10, 2018
1fc8879
Work in disabled overlay.
rmarren1 Oct 10, 2018
4785896
Re-build dev bundle.
rmarren1 Oct 10, 2018
f2bdd45
Eslint fixex.
rmarren1 Oct 10, 2018
0916d24
Add more informative `_dash-` ids to each component.
rmarren1 Oct 10, 2018
5bce957
Delete test.py
rmarren1 Oct 10, 2018
29a9ea3
Track old children state in ComponentBoundary.
rmarren1 Oct 12, 2018
afcea21
Merge with rmarren1/dash-renderer:dev-tools-demo.
rmarren1 Nov 25, 2018
a4c74d1
Fix merge errors.
rmarren1 Nov 25, 2018
1f03780
Update dcc version in dev requirements (input test fix)
rmarren1 Dec 7, 2018
430d68c
typo fix
rmarren1 Dec 7, 2018
2b90202
Dev tools front end (#109)
valentijnnieman Jan 23, 2019
0983eaa
:twisted_rightwards_arrows: merge 6 months gap
Mar 19, 2019
84c4cd1
:bug: fix the merge issues
Mar 19, 2019
5042c8d
:bug: improve the overlay msg, bug fix
Mar 19, 2019
dbdc4b6
:art: npm run format
Mar 19, 2019
2508602
:art: prettier
Mar 19, 2019
b054903
:wrench: set build
Mar 20, 2019
da8cd72
:alembic: fix test render
Mar 21, 2019
22b7346
:wrench: fix
Mar 21, 2019
02dc047
:art: fix lint
Mar 21, 2019
f873634
:alembic: use assertIn
Mar 21, 2019
62c194b
:alembic: tmp save befor merge with regression fix
Mar 25, 2019
a297000
fix merge conflict
Mar 27, 2019
b20d16b
:rotating_light: lint issue
Mar 27, 2019
b3e3acc
:rotating_light: lint issue
Mar 27, 2019
f7937db
Merge branch 'dev-tools' of github.com:plotly/dash-renderer into dev-…
Mar 27, 2019
f7bc4cc
:lipstick: improve UI
Mar 28, 2019
ff973af
:bento: update bundles
Mar 28, 2019
a85afe6
:white_check_mark: fix the test_initial_state and improve it
Apr 1, 2019
0958494
:white_check_mark: fix test_callbacks_generating_children
Apr 1, 2019
a51bf89
:recycle: simplifies test_callbacks_generating_children
Apr 1, 2019
21622c0
:pencil: fix one typo
Apr 1, 2019
65b5332
:microscope: proof of concept - displaying python traceback in the JS…
chriddyp Apr 3, 2019
6cd0190
:triangular_ruler: werkzeug iframe sizing and styling
chriddyp Apr 3, 2019
4a4b76a
:triangular_ruler: more sizing updates
chriddyp Apr 3, 2019
f99de0d
:lipstick: remove ErrorIcon, use emoji
Apr 4, 2019
1d7ec89
:alembic: one possible version of HOC
Apr 5, 2019
99cd489
:lipstick: ui changes
Apr 5, 2019
69ccd07
:hankey: another possible
Apr 6, 2019
1671ce8
:twisted_rightwards_arrows: merge back to dev-tools
Apr 9, 2019
cc02aab
:twisted_rightwards_arrows: merge back to dev-tools
Apr 9, 2019
6d744ba
:pencil2: remove redundant import
Apr 9, 2019
81d39ef
:package: bundles
Apr 9, 2019
96391ed
:lipstick: prettier
Apr 9, 2019
8ab9ac2
:twisted_rightwards_arrows: merge with latest master
Apr 10, 2019
cee4825
:package: bundles
Apr 10, 2019
b54c1be
:lipstick: prettier
Apr 10, 2019
5799c69
:art: fix lint errors
Apr 10, 2019
d4960bb
:white_check_mark: fix circular test
Apr 10, 2019
0c1625a
:sparkles: add UI switch with config state
Apr 10, 2019
004d186
:white_check_mark: fix circular dependencies test
Apr 10, 2019
af2b19f
:wrench: fix test initial state
Apr 10, 2019
b3172c3
:white_check_mark: fixing test
Apr 10, 2019
cfe0dd4
:package: bundles
Apr 10, 2019
aa53c3c
conditionally load GlobalErrorContainer in dev mode
nicolaskruchten Apr 10, 2019
3fe228f
:white_check_mark: fix unittest warning with debug mode
Apr 10, 2019
fc8b259
:package: bundles
Apr 10, 2019
3d7711b
embed backend errors as iframes in the FrontEndError container
chriddyp Apr 11, 2019
cdfc505
display timestamps in the ui
chriddyp Apr 11, 2019
63fb325
tighten up the UI
chriddyp Apr 11, 2019
5320f28
don't import werkzeug css globally anymore, only in iframe
chriddyp Apr 11, 2019
402a65d
fixes to thread the backend through the UI
chriddyp Apr 11, 2019
abc3380
remove the "resolve backend error" thing
chriddyp Apr 11, 2019
7e0a330
remove duplicate error display UI
chriddyp Apr 11, 2019
37fec26
rename "Notifications" to "Errors"
chriddyp Apr 11, 2019
05be060
remove live reload button
chriddyp Apr 11, 2019
8ed90a9
mixxed a few imports
chriddyp Apr 11, 2019
ad82dff
raw loader to load the werkzeug css as a text string
chriddyp Apr 11, 2019
0182735
first pass at resolve backend errors
chriddyp Apr 11, 2019
ef87c35
raw loader
chriddyp Apr 11, 2019
7ba6e53
integrate backend errors into alerts
chriddyp Apr 11, 2019
5321381
remove unused warnings ui
chriddyp Apr 11, 2019
df40d32
move the menu further down
chriddyp Apr 11, 2019
d0cc2cb
z-index so it doesn't get covered
chriddyp Apr 11, 2019
c6a4559
don't render the popup unless there are errors
chriddyp Apr 11, 2019
c1a382c
prettier & eslint
chriddyp Apr 11, 2019
2e8d0c7
Merge branch 'dev-tools' into chris-dev-tools
byronz Apr 11, 2019
1e14342
Merge pull request #151 from plotly/chris-dev-tools
byronz Apr 11, 2019
e7ba76c
:lipstick: prettier
Apr 11, 2019
4af9e68
:package: bundles
Apr 11, 2019
76e2561
:bug: add fix for circular dependencies error
Apr 11, 2019
92308e0
throw errors from status check into handler
chriddyp Apr 11, 2019
8e1f310
sorry @byronz , but that radioactive sign was making me feel too naus…
chriddyp Apr 11, 2019
548155b
:zap: rm unused alerts
chriddyp Apr 11, 2019
3788ec7
unify front-end and backend error displays
chriddyp Apr 11, 2019
f6efce5
unify to use same error icon everywhere
chriddyp Apr 11, 2019
aed1b94
white background color
chriddyp Apr 11, 2019
ac7403d
prettier
chriddyp Apr 11, 2019
1e57f06
Merge pull request #152 from plotly/chriddyp-dev-tools
byronz Apr 12, 2019
5cecc07
explicitly handle object & nested array cases
chriddyp Apr 12, 2019
b6c4d33
display new lines as line breaks
chriddyp Apr 12, 2019
7d5b765
remove redundant border radius
chriddyp Apr 12, 2019
433ab79
:art: same color as chrome console for js stacktrace
Apr 12, 2019
cacf795
another emoji attempt
Apr 12, 2019
e9a6a64
:pencil2: typo
Apr 12, 2019
18a0d8a
:pencil2: typo
Apr 12, 2019
d14047c
all 3 properties are necessary
chriddyp Apr 12, 2019
d342c71
clone data, don't mutate
chriddyp Apr 12, 2019
9f318ec
Merge pull request #153 from plotly/chriddyp-dev-tools
byronz Apr 12, 2019
17f62ab
better error messages
chriddyp Apr 13, 2019
eeabb2b
prettier & eslint
chriddyp Apr 13, 2019
4cbd416
handle missing required properties
chriddyp Apr 13, 2019
9010044
simplify error overlay
chriddyp Apr 13, 2019
03d8875
rm unused variable
chriddyp Apr 13, 2019
0f2c259
js stack traces aren't as useful now that we have nice error messages
chriddyp Apr 13, 2019
846bdbb
:see_no_evil: typo
chriddyp Apr 13, 2019
217f0e2
let the error overlay take up almost the entire vertical screen
chriddyp Apr 13, 2019
a453786
hide scrollbars unless necessary
chriddyp Apr 13, 2019
32cdadf
move the floaty alert on top of the dev tools icon
chriddyp Apr 13, 2019
119cfc6
callback dag visualization
nicolaskruchten Apr 13, 2019
0406454
prettier
chriddyp Apr 13, 2019
678a31e
Merge branch 'dev-tools' into chriddyp-dev-tools
chriddyp Apr 13, 2019
367d398
adjust the title sizes
chriddyp Apr 13, 2019
574dc31
default tags (like h1) may have their own 3rd party css
chriddyp Apr 13, 2019
7c759e2
prettier
chriddyp Apr 13, 2019
c27aeb9
:twisted_rightwards_arrows: fix merge conflict
Apr 15, 2019
dc7e8a6
:twisted_rightwards_arrows: fix conflict
Apr 15, 2019
d30f69f
temp commit - comment out most of the tests so that CI runs quickly
chriddyp Apr 13, 2019
01f5297
first attempt at a screenshot test
chriddyp Apr 14, 2019
a941367
temp commit - speed up tests while in development
chriddyp Apr 14, 2019
102eb74
temp commit - attempt to understand what's going on remotely by takin…
chriddyp Apr 14, 2019
537f5b2
file directory typo
chriddyp Apr 14, 2019
1654890
maybe i need an artifacts folder?
chriddyp Apr 14, 2019
b477316
create artifacts folder before running tests
chriddyp Apr 14, 2019
83b9a4b
temp commit - try sleeping a few seconds before taking snapshot
chriddyp Apr 14, 2019
3a98b15
:bulb: dev-bundles weren't being built
chriddyp Apr 14, 2019
152fcde
temp commit - bring percy down to 1 since we're only running test_render
chriddyp Apr 14, 2019
a2fea9d
include a few other tests
chriddyp Apr 14, 2019
0ba1c4d
hide/show time varying data in percy
chriddyp Apr 15, 2019
1e52d99
make the timestamp special
chriddyp Apr 15, 2019
0135e83
bring back the tests
chriddyp Apr 15, 2019
d56104d
Revert "bring back the tests"
chriddyp Apr 15, 2019
fb10732
prevent taking a screenshot too soon
chriddyp Apr 15, 2019
c115ba0
switch to https://github.com/plotly/dash/pull/687
chriddyp Apr 15, 2019
f6a8a64
fixes have been merged to master
chriddyp Apr 15, 2019
539096f
prettier
chriddyp Apr 15, 2019
4da4481
2 exceptions not 1
chriddyp Apr 15, 2019
4a00662
improve exception handling and include more tests
chriddyp Apr 15, 2019
1099729
prevent dcc.Checklist issue
chriddyp Apr 15, 2019
b9fea87
print out which one failed
chriddyp Apr 15, 2019
053bedd
styling chainvis
nicolaskruchten Apr 15, 2019
2106622
handle a few more error message types
chriddyp Apr 15, 2019
d1a22b7
update test names
chriddyp Apr 15, 2019
6ed6876
another options test
chriddyp Apr 15, 2019
8cad4f4
2 more exact tests
chriddyp Apr 15, 2019
af40a5a
update version number to what's on master
chriddyp Apr 15, 2019
da2a371
display a friendlier multi output message
chriddyp Apr 16, 2019
afbe842
display the full message in case its hidden
chriddyp Apr 16, 2019
0d98474
multi output test
chriddyp Apr 16, 2019
40c3dc4
fix typo
chriddyp Apr 16, 2019
0e988a6
refactor try catch into a simpler check
chriddyp Apr 16, 2019
ccaa305
another typo
chriddyp Apr 16, 2019
b09f082
prettier
chriddyp Apr 16, 2019
eef2aca
eslint & prettier
chriddyp Apr 16, 2019
7a76c26
Merge pull request #155 from plotly/chriddyp-dev-tools
byronz Apr 16, 2019
59507da
:twisted_rightwards_arrows: solve conflict
Apr 16, 2019
e672c13
Merge branch 'dev-tools' of github.com:plotly/dash-renderer into dev-…
Apr 16, 2019
dc83366
:twisted_rightwards_arrows: merge with latest master commit
Apr 16, 2019
b8957bd
Merge branch 'master' into dev-tools
Apr 16, 2019
c74a763
:construction_worker: tmp point to dash branch for testing
Apr 16, 2019
1e883ea
:white_check_mark: fix multiple outputs test
Apr 16, 2019
bc30adb
:sparkles: add switch about props-check
Apr 16, 2019
c0f6572
:green_heart: increase percy parallel
Apr 17, 2019
06ae6fb
:recycle: use safe way
Apr 17, 2019
a98a314
:pencil2: fix typo
Apr 17, 2019
8a13e3e
:white_check_mark: add config tests
Apr 17, 2019
f614bea
:ok_hand: change to align _dashprivate
Apr 17, 2019
0f7bafa
Merge pull request #159 from plotly/prop-check-flag
byronz Apr 17, 2019
d0f01e4
:lipstick: style
Apr 17, 2019
1687c62
:hocho: using the desiredcapabilities
Apr 17, 2019
671b612
fix conflict
Apr 17, 2019
b77e84d
Merge branch 'dev-tools' of github.com:plotly/dash-renderer into dev-…
Apr 17, 2019
ec87f75
:see_no_evil: hoop, forget to save in last commit
Apr 17, 2019
218877c
Merge branch 'dev-tools' into test-config-flags
Apr 17, 2019
6f5ad96
:hocho: change the clean console
Apr 17, 2019
f5442ad
:white_check_mark: polish ui flag, fix circular dependencies
Apr 17, 2019
c428c22
:wrench: remove print
Apr 17, 2019
9529c60
:white_check_mark: fix state_and_inputs
Apr 17, 2019
be0f386
:white_check_mark: fix event properties state and inputs
Apr 17, 2019
44c2897
:white_check_mark: fix hot reload
Apr 17, 2019
bfa44d5
:memo: add changelog
Apr 17, 2019
fae739a
add debug stub
Apr 17, 2019
6800ab4
:pankey: one more
Apr 17, 2019
3360995
Merge pull request #160 from plotly/test-config-flags
byronz Apr 18, 2019
09e8168
:wrench: remove snapshot
Apr 18, 2019
7ec2f27
Merge pull request #161 from plotly/clean-dev-tools
byronz Apr 18, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -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
}]
]
}
}
}
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
name: Install dependencies (dash)
command: |
git clone [email protected]:plotly/dash.git
git clone [email protected]:plotly/dash-core-components.git
git clone --branch fix-prop-types [email protected]:plotly/dash-core-components.git
git clone [email protected]:plotly/dash-html-components.git
git clone [email protected]:plotly/dash-table.git
. venv/bin/activate
Expand All @@ -53,6 +53,7 @@ jobs:
command: |
. venv/bin/activate
npm run build
npm run build:dev
pip install -e . --quiet
pip list | grep dash

Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
27 changes: 27 additions & 0 deletions config/eslint/eslintrc-node.json
Original file line number Diff line number Diff line change
@@ -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
}
}
Loading