Skip to content

block-shareable-procedures: Spurious callers added to flyout #1856

@laurensvalk

Description

@laurensvalk

Category

  • Plugins

Component

block-shareable-procedures

Describe the bug

When creating new procedures, spurious callers are added to the flyout.

Oddly enough, this appears to only happen when installing with yarn. With npm, all seems to work fine. This took me a while to figure out 😄

update-2023-08-12_09.34.26.mp4

To Reproduce

I was able to reproduce this on the latest master build and the 2023-q3-eq-release.

No code changes are needed; this can be reproduced directly in this repo with its example project.

cd blockly-samples/plugins/block-shareable-procedures

rm -rf node_modules
rm package-lock.json

yarn add typescript --dev # Without this, install will pass but on start says Typescript is missing
yarn install
yarn start

All seems to work fine, until you add procedures, as shown in the video above.

Expected behavior

No spurious callers added. This video was made when installing with npm and everything works as expected:

update-2023-08-12_09.32.27.mp4

Additional context

I originally arrived at this problem when trying to make my own customized flyout for the procedure category, but this turns out unrelated.

Metadata

Metadata

Assignees

Labels

category: pluginAnything in the plugins foldertype: bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions