Giter Club home page Giter Club logo

Comments (12)

wellecks avatar wellecks commented on July 24, 2024

Looking into this, will look at the PR above as a starting point

from declarativewidgets.

lbustelo avatar lbustelo commented on July 24, 2024

Before getting to far into this... would be nice to take a look at #90

from declarativewidgets.

wellecks avatar wellecks commented on July 24, 2024

Current TODO:

  • 1. Change Dockerfile to pull from jupyter/all-spark-notebook or create separate make build in Makefile
    • push cloudet/all-spark-notebook-bower image
  • 2. Change hardcoded filepaths in Makefile, setup.py, .gitignore, and other affected files
    • ensure make sdist, make server, make install work
  • 3. Change import statements in example notebooks and backend Widget 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
  • 6. Fix broken declarative widget functionality
    • function
      • Error while invoking function: Can't clean for JSON: 0 in python dataframe function
    • dataframe
      • Invalid DataFrame variable name on all python DataFrame examples
        • sync message was arriving before sync_data. Now sends an update on sync_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
  • 7. dependency modules, e.g. ipykernel and ipywidgets not visible in make test-py
    • the make target was using the old docker image

from declarativewidgets.

wellecks avatar wellecks commented on July 24, 2024

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.

wellecks avatar wellecks commented on July 24, 2024

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.

wellecks avatar wellecks commented on July 24, 2024

(5) and (6) are intentionally vague for now

from declarativewidgets.

parente avatar parente commented on July 24, 2024

/cc @dalogsdon @jhpedemonte since findings here might inform widget related work in jupyter/dashboards#105 (and vice versa)

from declarativewidgets.

wellecks avatar wellecks commented on July 24, 2024

Just FYI - I'm updating the checkbox TODO above as I discover / fix issues

from declarativewidgets.

wellecks avatar wellecks commented on July 24, 2024

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.

wellecks avatar wellecks commented on July 24, 2024

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.

parente avatar parente commented on July 24, 2024

@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.

wellecks avatar wellecks commented on July 24, 2024

Rebasing with the current changes; it looks like the python 2/3 support will make the rebase non-trivial

from declarativewidgets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.