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

feat: add ability to delete workspace comments #8023

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

BeksOmega
Copy link
Collaborator

The basics

The details

Resolves

N/A
Related to #8006

Proposed Changes

Makes it so the rendered workspace comment implements the IDeletable interface. The comment will now be deleted if you drag it over the toolbox or trashcan, or if you use the delete key while it is selected.

Test Coverage

Manually tested that deleting works in the three outlined cases:

  • Deleting over the toolbox.
  • Deleting over the trashcan.
  • Deleting using the keyboard shortcut.

Documentation

N/A

Additional Information

Going to fix the context menu option separately, since that needs more work.

@github-actions github-actions bot added the PR: feature Adds a feature label Apr 11, 2024
@BeksOmega BeksOmega marked this pull request as ready for review April 11, 2024 16:59
@BeksOmega BeksOmega requested a review from a team as a code owner April 11, 2024 16:59
@BeksOmega BeksOmega requested a review from maribethb April 11, 2024 16:59
@BeksOmega BeksOmega merged commit d554053 into google:rc/v11.0.0 Apr 11, 2024
10 checks passed
johnnesky pushed a commit to johnnesky/blockly that referenced this pull request Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: feature Adds a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants