-
Notifications
You must be signed in to change notification settings - Fork 7
Remove tab #117
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
Remove tab #117
Conversation
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.
Thanks @trungleduc.
I have some comments below
@@ -131,6 +131,14 @@ export class GlueSessionSharedModel | |||
}, false); | |||
} | |||
|
|||
removeTab(name: string): void { |
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.
Probably in a follow up PR, but the viewers of the tab could also be deleted to clean the session file.
Maybe we can open an issue on it.
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.
Indeed I wanted to do it in this PR, but it needs more changes in the YDoc structure since we need to keep track of the viewers in a YMap
Are the changes on
|
Idk, I did not touch on anything in the package.json. |
No description provided.