google / blockly

The web-based visual programming editor.
https://developers.google.com/blockly/
Apache License 2.0
12.52k stars 3.72k forks source link

feat: Add a BlockFlyoutInflater class. #8591

Closed gonfunko closed 2 months ago

gonfunko commented 2 months ago

The basics

The details

Resolves

Fixes #8541 and fixes #8542.

Proposed Changes

This PR adds a concrete implementation of IFlyoutInflater responsible for creating blocks in the flyout. It also includes the existing capacity filtering logic. Because recycling is not used in core, recycling support is not included; it will be added in a subclass in the continuous toolbox plugin.