This repository was archived by the owner on Feb 10, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 26
Async canvas component / IE11 compatibility #29
Merged
Merged
Changes from 8 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
a8829f1
async, bump dep versions
ace9e82
dev,testing
9ed8d50
version, changelog
50bfe90
- dash requirement
8520fba
update build
c740667
remove --webdriver
970d073
remove requirements
304dfee
Update CHANGELOG.md
Marc-Andre-Rivet 6f4d413
update spaces/tabs
48a4b07
Merge branch 'exp-dynamic' of github.com:plotly/dash-canvas into exp-…
4082933
empty lines
a34706c
there's no map
4ba126c
dev path
c643447
webpack plugin, artifacts
2e2b883
- es5 check
2b073cb
plotly, dcc, html come with Dash
ec4e7f6
bump @plotly/webpack-dash-dynamic-import
d7be73f
bump @plotly/webpack-dash-dynamic-import
0f1afcc
- npm ci
8b32981
- update build:all usage
0446fd3
dash>=1.6.1
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Change Log for dash-canvas | ||
All notable changes to this project will be documented in this file. | ||
This project adheres to [Semantic Versioning](http://semver.org/). | ||
|
||
## [0.1.0] - 2019-11-05 | ||
### Added | ||
- [#29](https://github.com/plotly/dash-canvas/pull/29) Async canvas component |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
include dash_canvas/dash_canvas.min.js | ||
include dash_canvas/dash_canvas.dev.js | ||
include dash_canvas/async~*.js | ||
include dash_canvas/metadata.json | ||
include dash_canvas/package.json | ||
include README.md |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module.exports = { | ||
presets: [ | ||
'@babel/env', | ||
'@babel/react' | ||
], | ||
plugins: [ | ||
'@babel/plugin-syntax-dynamic-import' | ||
] | ||
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
{ | ||
"name": "dash_canvas", | ||
"version": "0.0.11", | ||
"version": "0.1.0", | ||
"description": "Sketching pad for dash based on react-sketch", | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:plotly/dash-canvas.git" | ||
"type": "git", | ||
"url": "[email protected]:plotly/dash-canvas.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/plotly/dash-canvas/issues" | ||
"url": "https://github.com/plotly/dash-canvas/issues" | ||
}, | ||
"homepage": "https://github.com/plotly/dash-canvas", | ||
"main": "build/index.js", | ||
|
@@ -18,7 +18,7 @@ | |
"build:js-dev": "webpack --mode development", | ||
"build:js": "webpack --mode production", | ||
"build:py": "node ./extract-meta.js src/lib/components > dash_canvas/metadata.json && copyfiles package.json dash_canvas && venv/bin/python -c \"import dash; dash.development.component_loader.generate_classes('dash_canvas', 'dash_canvas/metadata.json')\"", | ||
"build:all": "npm run build:js & npm run build:js-dev & npm run build:py" | ||
"build:all": "npm run build:js && npm run build:js-dev && npm run build:py" | ||
}, | ||
"author": "Emmanuelle Gouillart <[email protected]>", | ||
"license": "MIT", | ||
|
@@ -32,9 +32,15 @@ | |
"plotly-icons": ">=1.0" | ||
}, | ||
"devDependencies": { | ||
"babel-core": "^6.26.3", | ||
"@babel/cli": "^7.6.2", | ||
"@babel/core": "^7.6.2", | ||
"@babel/plugin-syntax-dynamic-import": "^7.2.0", | ||
"@babel/polyfill": "^7.6.0", | ||
"@babel/preset-env": "^7.6.2", | ||
"@babel/preset-react": "^7.0.0", | ||
"@plotly/webpack-dash-dynamic-import": "^1.1.2", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the dash custom dynamic import plugin / also, updating the toolchain |
||
"babel-eslint": "^8.2.3", | ||
"babel-loader": "^7.1.4", | ||
"babel-loader": "^8.0.6", | ||
"copyfiles": "^2.0.0", | ||
"babel-preset-env": "^1.7.0", | ||
"babel-preset-react": "^6.24.1", | ||
|
@@ -45,11 +51,11 @@ | |
"eslint-plugin-react": "^7.9.1", | ||
"npm": "^6.1.0", | ||
"flexboxgrid": "^6.3.1", | ||
"react-docgen": "^2.20.1", | ||
"react-docgen": "^4.1.1", | ||
"react-dropzone": "4.2.7", | ||
"style-loader": "^0.21.0", | ||
"webpack": "^4.20.2", | ||
"webpack-cli": "^3.1.1", | ||
"webpack": "^4.41.0", | ||
"webpack-cli": "^3.3.9", | ||
"webpack-serve": "^1.0.2" | ||
}, | ||
"peerDependencies": { | ||
|
@@ -60,4 +66,4 @@ | |
"node": ">=8.11.0", | ||
"npm": ">=6.1.0" | ||
} | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
&
makesbuild:py
at the same time as the build.. we want them in sequence