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

Experiment with ways a frontend can support ipywidgets 7 and 8 #3524

Closed
wants to merge 4 commits into from

Commits on Jul 16, 2022

  1. Export single plain amd modules from html manager so we can more easi…

    …ly load individual packages with requirejs.
    jasongrout committed Jul 16, 2022
    Configuration menu
    Copy the full SHA
    cac9c4c View commit details
    Browse the repository at this point in the history
  2. Make the standard controls optional for the HTML manager.

    This allows the HTML manager to instead load, for example, older versions of the core controls. The idea is that the HTML Manager can load either the ipywidgets 7 or ipywidgets 8 version of core controls, to support either during a transition time.
    
    It also allows the HTML manager to be used without loading all of the base controls, if desired, making it strictly more flexible.
    jasongrout committed Jul 16, 2022
    Configuration menu
    Copy the full SHA
    8cfb68a View commit details
    Browse the repository at this point in the history
  3. Make HTMLManager understand the basic widgets after all for compatibi…

    …lity, but at least check the versions.
    jasongrout committed Jul 16, 2022
    Configuration menu
    Copy the full SHA
    12476aa View commit details
    Browse the repository at this point in the history
  4. Add a control channel message to request registered widgets.

    This could be used to determine what widgets we can invoke from the frontend. We can also use this to query what version of the base widget is registered, which gives clues about what version of ipywidgets is installed.
    
    To determine what version of ipywidgets is installed, this is a rather indirect route, so it's not so satisfactory for that purpose.
    jasongrout committed Jul 16, 2022
    Configuration menu
    Copy the full SHA
    aada267 View commit details
    Browse the repository at this point in the history