Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add core elements of Dash API, support generated components #18

Merged
merged 51 commits into from
May 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
e2cbeaf
in work
waralex Apr 24, 2020
4b54091
Merge branch 'dash_arguments_refactor' into generated_components
waralex Apr 24, 2020
ddf58ae
application resources
waralex Apr 26, 2020
4624641
application resources
waralex Apr 26, 2020
e2e9d7f
Merge branch 'dev' into generated_components
waralex Apr 26, 2020
b623848
Merge branch 'dev' into generated_components
waralex Apr 27, 2020
5b92333
Router etc
waralex May 3, 2020
11b14cf
almost ready to pr
waralex May 3, 2020
85b1acd
fix external urls
waralex May 4, 2020
b8773ec
app refactoring
waralex May 4, 2020
f7f1083
fix
waralex May 4, 2020
76901cd
fixes
waralex May 4, 2020
272b99f
try to use plotly image
May 10, 2020
9a4c853
restore julia:latest
May 10, 2020
c571495
:sparkles: add Julia integration test
May 10, 2020
bd8e893
add startup message
May 12, 2020
f431975
Merge pull request #21 from plotly/enable-integration
rpkyle May 12, 2020
48152c0
try to pull from current branch
May 12, 2020
67d2625
add undo/redo test
May 13, 2020
dcb6c90
try to speed up compilation
May 13, 2020
7822674
increase timeout
May 13, 2020
c5fee8d
basic callbacks tests
waralex May 16, 2020
d4467e7
integration tests
waralex May 17, 2020
9d94c51
remove changed props
waralex May 17, 2020
3eca5d3
remove components jsons
waralex May 17, 2020
41f1b26
test fix
waralex May 17, 2020
bcbffb3
assets and callbacks test
waralex May 17, 2020
8dd2dd3
:rotating_light: add test for meta tags
May 18, 2020
50d7afa
switch off debug mode
May 18, 2020
99ba811
:pencil2: s/childs/children/g
May 18, 2020
782ac3c
:necktie: add CRLF at EOF
May 18, 2020
61bc449
Update src/app/callbacks.jl
rpkyle May 18, 2020
4794a5b
Update src/app/dashapp.jl
rpkyle May 18, 2020
5f02cbe
Update src/app/dashapp.jl
rpkyle May 18, 2020
b4151c8
Update src/app/dashapp.jl
rpkyle May 18, 2020
ae4afaf
Update src/app/dashapp.jl
rpkyle May 18, 2020
705666c
Update src/app/dashapp.jl
rpkyle May 18, 2020
89f48e6
Update src/app/dashapp.jl
rpkyle May 18, 2020
ac865d6
Update src/app/dashapp.jl
rpkyle May 18, 2020
7c3c5bb
Update src/app/dashapp.jl
rpkyle May 18, 2020
bd0588c
s/segmets_vector/segments_vector/g
May 18, 2020
6d03c77
Update src/handler/handlers.jl
rpkyle May 18, 2020
014e8e9
add missing env vars
May 18, 2020
ffb3520
Merge branch 'generated_components' of github.com:plotly/Dash.jl into…
May 18, 2020
97cce28
modify help header, match Dash for :snake:
May 18, 2020
133e3dc
Update src/app/callbacks.jl
waralex May 18, 2020
248f3a7
try parallelizing
May 18, 2020
675164d
Merge branch 'generated_components' of github.com:plotly/Dash.jl into…
May 18, 2020
1eb86fa
try pytest-xdist
May 18, 2020
4b229be
set parallelism
May 18, 2020
a8d89de
:hocho: parallelism, slower
May 18, 2020
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
33 changes: 28 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ version: 2
jobs:

test:
working_directory: /root/project/Dash

working_directory: ~/dashjl
docker:
- image: julia:latest

- image: plotly/julia:ci
environment:
PERCY_PARALLEL_TOTAL: '-1'
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: 'True'

steps:
- checkout

Expand All @@ -26,7 +28,28 @@ jobs:
- run:
name: 🔎 Unit tests
command: |
julia -e 'using Pkg; Pkg.update(); Pkg.add(PackageSpec(path=pwd())); Pkg.build("Dash"); Pkg.test("Dash", coverage=true);'
julia -e 'using Pkg; Pkg.update(); Pkg.add(PackageSpec(url="https://github.com/plotly/Dash.jl.git", rev=ENV["CIRCLE_BRANCH"])); Pkg.add(PackageSpec(url="https://github.com/waralex/dash-html-components.git", rev="jl_generator_test")); Pkg.add(PackageSpec(url="https://github.com/waralex/dash-core-components.git", rev="jl_generator_test")); Pkg.build("Dash"); Pkg.build("DashHtmlComponents"); Pkg.build("DashCoreComponents"); Pkg.test("Dash", coverage=true); function precompile_pkgs(); for pkg in collect(keys(Pkg.installed())); if !isdefined(Symbol(pkg), :Symbol) && pkg != "Compat.jl"; @info("Importing $(pkg)..."); try (@eval import $(Symbol(pkg))) catch end; end; end; end; precompile_pkgs()'

- run:
name: ⚙️ Integration tests
command: |
python -m venv venv
. venv/bin/activate
git clone --depth 1 https://github.com/plotly/dash.git -b add-julia-runner dash-main
cd dash-main && pip install -e .[dev,testing] --progress-bar off && cd ~/dashjl
export PATH=$PATH:/home/circleci/.local/bin/
pytest --headless --nopercyfinalize --junitxml=test-reports/dashjl.xml --percy-assets=test/assets/ test/integration/
- store_artifacts:
path: test-reports
- store_test_results:
path: test-reports
- store_artifacts:
path: /tmp/dash_artifacts

- run:
name: 🦔 percy finalize
command: npx percy finalize --all
when: always

workflows:
version: 2
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ components/*
lib/*
Manifest.toml
.DS_Store
docs/build
docs/build
venv
*.pyc
tmp
7 changes: 4 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,25 @@ authors = ["Alexandr Romanenko"]
version = "0.1.0"

[deps]
CodecZlib = "944b1d66-785c-5afd-91f1-9de20f533193"
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
HTTP = "cd3eb016-35fb-5094-929b-558a96fad6f3"
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
JSON2 = "2535ab7d-5cd8-5a07-80ac-9b1792aadce3"
CodecZlib = "944b1d66-785c-5afd-91f1-9de20f533193"
LibGit2 = "76f85450-5226-5b5a-8eaa-529ad045b433"
MD5 = "6ac74813-4b46-53a4-afec-0b5dc9d7885c"
MacroTools = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09"
PlotlyBase = "a03496cd-edff-5a9b-9e67-9cda94a718b5"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
julia = "1.1"
DataStructures = "0.17.5"
HTTP = "0.8.6"
HTTP = "0.8.10"
JSON = "0.21.0"
JSON2 = "0.3.1"
MacroTools = "0.5.1"
PlotlyBase = "0.3.0"
julia = "1.1"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Expand Down
28 changes: 0 additions & 28 deletions component_sources.json

This file was deleted.

60 changes: 0 additions & 60 deletions components_meta.json

This file was deleted.

13 changes: 0 additions & 13 deletions deps/build.jl

This file was deleted.

Loading