-
Notifications
You must be signed in to change notification settings - Fork 948
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
Backport loadFromKernel nodifications to 8.x #3388
Conversation
@@ -507,7 +542,7 @@ export abstract class ManagerBase implements IWidgetManager { | |||
|
|||
let msg_id = ''; | |||
const info = new PromiseDelegate<Private.ICommUpdateData>(); | |||
comm.on_msg((msg: services.KernelMessage.ICommMsgMsg) => { |
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.
We lost a type annotation here that we should preserve.
@@ -370,11 +370,11 @@ This is implemented in ipywidgets 7.7. | |||
|
|||
### The `jupyter.widget.control` comm target | |||
|
|||
A kernel-side Jupyter widgets library registers a `jupyter.widget.control` comm target that is used for fetching all widgets states through a "one shot" comm message (one for all widget instances). Unlike the `jupyter.widget` comm target, the created comm is global to all widgets, |
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.
I think we should ignore the changes to this file in this PR.
@@ -375,7 +375,7 @@ export abstract class ManagerBase implements IWidgetManager { | |||
try { | |||
const initComm = await this._create_comm( | |||
CONTROL_COMM_TARGET, | |||
uuid(), | |||
utils.uuid(), |
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.
utils.uuid(), | |
uuid(), |
I took at crack at automated porting this one commit too. Not sure if it is any more successful, but may be useful for comparison: First, I slightly modified master to get it looking more like the 7.x before the commit in question: Then I applied the patch from jasongrout@0296e03 while ignoring whitespace (something like |
@jasongrout many thanks! |
No description provided.