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

refactor: make CommentView more amenable to subclassing. #8783

Merged
merged 1 commit into from
Feb 24, 2025

Conversation

gonfunko
Copy link
Contributor

The basics

This PR makes CommentView more compatible with subclassing. Scratch has a subclass, which it uses to provide a bubble-based comment view attached by a line to its parent block. This PR allows that subclass to implement ISelectable, which requires this.workspace to be public, and allows for it to correctly update its disposal state around additional disposal logic.

@gonfunko gonfunko merged commit 22dbd75 into google:rc/v12.0.0 Feb 24, 2025
11 checks passed
@gonfunko gonfunko deleted the subclassing branch February 24, 2025 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants