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

Feature/SOF-7286 feat: add JupyterLite Session component #67

Merged
merged 35 commits into from
Mar 20, 2024

Conversation

VsevolodX
Copy link
Member

No description provided.

[action in IframeMessageSchema["action"]]: HandlerFunction[];
};

class MessageHandler {
Copy link
Member

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Too much ts-ignore

@@ -0,0 +1 @@
export { default } from "./IframeToFromHostMessageHandler";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove

@@ -0,0 +1 @@
export { default } from "./JupyterLiteSession";
Copy link
Member

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 = "";
Copy link
Member

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

@VsevolodX VsevolodX merged commit 9922e93 into main Mar 20, 2024
2 checks passed
@VsevolodX VsevolodX deleted the feature/SOF-7286 branch March 20, 2024 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants