Comments (12)
Looking into this, will look at the PR above as a starting point
from declarativewidgets.
Before getting to far into this... would be nice to take a look at #90
from declarativewidgets.
Current TODO:
- 1. Change
Dockerfile
to pull fromjupyter/all-spark-notebook
or create separatemake build
inMakefile
- push
cloudet/all-spark-notebook-bower
image
- push
- 2. Change hardcoded filepaths in
Makefile
,setup.py
,.gitignore
, and other affected files- ensure
make sdist
,make server
,make install
work
- ensure
- 3. Change
import
statements in example notebooks and backendWidget
code - 4. Fix declarative widget initialization
-
load_ipython_extension
now necessary for extension initialization - handle
request_state
message in python - handle
request_state
message in scala
-
- 5. Find broken declarative widget functionality
- add argument to
_handle_custom_event_msg
-
Error: Couldn't create model
on page refresh with developer tools window open
- add argument to
- 6. Fix broken declarative widget functionality
- function
-
Error while invoking function: Can't clean for JSON: 0
in python dataframe functionnumpy.int64
in the index and column list was not understood
-
- dataframe
-
Invalid DataFrame variable name
on all python DataFrame examplessync
message was arriving beforesync_data
. Now sends an update onsync_data
-
- channels
- no issues when running example notebook
- import
- no issues when running example notebook
- chart
- no issues when running example notebook
- explorer
- no issues when running example notebook
- table
- no issues when running example notebook
- function
- 7. dependency modules, e.g.
ipykernel
andipywidgets
not visible inmake test-py
- the
make
target was using the old docker image
- the
from declarativewidgets.
regarding (1) above, our all-spark-notebook-bower
now only installs bower. We can do away with the entire image by introducing a make build
step, similar to the dashboards Makefile
from declarativewidgets.
regarding (4),
"Error: Could not set widget manager state.↵ at …in.js?v=40e10638fcf65fc1c057bff31d165e9d:12785:33", message: "Could not set widget manager state."
now occurs when the notebook loads
from declarativewidgets.
(5) and (6) are intentionally vague for now
from declarativewidgets.
/cc @dalogsdon @jhpedemonte since findings here might inform widget related work in jupyter/dashboards#105 (and vice versa)
from declarativewidgets.
Just FYI - I'm updating the checkbox TODO above as I discover / fix issues
from declarativewidgets.
Opened an issue on the spark kernel that I discovered when working on handling the request_state
in Scala
Specific problem arises here due to the missing parent_header
msg_id
As a result, the model for the Scala widgets does not initialize
from declarativewidgets.
I fixed the issue on the kernel PR here. Progress on this task is blocked until it's merged and the jupyter/all-spark-notebook
image is updated with the new kernel
from declarativewidgets.
@wellecks Could you please open a PR against docker-stacks asking for a rebuild to account for the spark kernel fix, and refer to that kernel PR so we know when the rebuild can happen? Thanks.
from declarativewidgets.
Rebasing with the current changes; it looks like the python 2/3 support will make the rebase non-trivial
from declarativewidgets.
Related Issues (20)
- declarativewidgets not working HOT 5
- Documentation not found HOT 1
- Need to modify scala build to install toree from apache's dist server and not pypi HOT 3
- R declarative widgets don’t actually depend on SparkR HOT 4
- Move to https://github.com/jupyter-widgets? HOT 7
- Error enabling on OSX with matplotlib 2.0 installed
- Associated repo website is 404 HOT 2
- Changing DataFrame Limit HOT 3
- widgets failing to load after notebook closed and reopened HOT 1
- dom-bind-behavior bug against Polymer 1.9
- urth-import fails with POLYMER package ECONFLICT
- urth-viz-table, selectionIndex property doesn't work
- Install declarativewidgets without "pip install"
- Link to latest docs is broken HOT 2
- Edit license and rename file to LICENSE
- Date Picker
- Broken links
- Is declarative widgets maintained? HOT 13
- Some extension like Explorer visualization HOT 1
- Why was it retired? Are there any follow-up projects like this? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from declarativewidgets.