-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature/SOF-7286 feat: add JupyterLite Session component #67
Conversation
[action in IframeMessageSchema["action"]]: HandlerFunction[]; | ||
}; | ||
|
||
class MessageHandler { |
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.
IframeToFromHostMessageHandler
Let's move this outside of jupyter?
|
||
if (event.data.type === "from-iframe-to-host") { | ||
const { action, payload } = event.data; | ||
// @ts-ignore |
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.
Too much ts-ignore
src/other/iframe-messaging/index.ts
Outdated
@@ -0,0 +1 @@ | |||
export { default } from "./IframeToFromHostMessageHandler"; |
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.
Remove
src/other/jupyterlite/index.ts
Outdated
@@ -0,0 +1 @@ | |||
export { default } from "./JupyterLiteSession"; |
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.
Remove
|
||
private hostOriginURL = "*"; | ||
|
||
private iframeId = ""; |
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.
Let's explain what these variables are in comments
No description provided.