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

Function to empty trash #3666

Closed
rachel-fenichel opened this issue Jan 28, 2020 · 0 comments
Closed

Function to empty trash #3666

rachel-fenichel opened this issue Jan 28, 2020 · 0 comments
Labels
component: developer apis issue: feature request Describes a new feature and why it should be added low priority

Comments

@rachel-fenichel
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Clearing the workspace fills the trashcan.
https://groups.google.com/g/blockly/c/m7e3g0TC75Y

Describe the solution you'd like

An emptyTrash function that developers can call. No associated UI for users.

Describe alternatives you've considered

Disable event before clearing the workspace, and reenable after clearing the workspace.

  • This has the advantage of leaving previous items in the trashcan, as the poster wanted.

UI for user to empty trashcan.

  • Doesn't rely on the developer knowing when to empty the trash, but means adding another bit of UI, likely with low usage.
@rachel-fenichel rachel-fenichel added issue: feature request Describes a new feature and why it should be added issue: triage Issues awaiting triage by a Blockly team member component: developer apis component: trash flyout low priority and removed issue: triage Issues awaiting triage by a Blockly team member labels Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: developer apis issue: feature request Describes a new feature and why it should be added low priority
Projects
None yet
Development

No branches or pull requests

1 participant