Skip to content

Backpack plugin #233

@rachel-fenichel

Description

@rachel-fenichel

Category
Plugin

Component

@blockly/plugin-backpack

Is your feature request related to a problem? Please describe.

App Inventor, Scratch, etc have backpacks. We should too!

Describe the solution you'd like

  • The backpack should be a flyout that is either on the side opposite the toolbox, or on the bottom. (I'm open to arguments on which is best.)
  • Like the trash can, it should be a target for drags.
  • Dropping a block or block stack should add it into the backpack.
  • There should be a button to open and close it.
    • Optionally positioned on the workspace? But this is secondary, because it can be added in the surrounding UI if necessary.
  • Possibly also a right-click action to add a block or block stack to the backpack?

APIs required from core Blockly

  • Register a drag target
  • Either an API to get metrics or one to automagically position the flyout
  • (Optional) Add button/control on workspace
  • (Optional) Add Blockly-global context menu option

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions