Skip to content

When you move a component from public to private, the warning that you get “no longer exists” needs to change #229

@alan412

Description

@alan412

Steps to reproduce:

  1. Create a mechanism
  2. Add a component to the "Components" section in mechanism.
Image
  1. Add the mechanism to the robot.
  2. In the robot or in an opmode, add a block that uses the mechanism's component.
Image
  1. In the mechanism, move the component to the "Private Components" section. Save the mechanism.
Image
  1. Reload the browser (This is necessary due to a bug introduced in pr Use a separate BlocklyComponent for each module #224.)
  2. In the robot (or the opmode), look at the block that uses the mechanism's component.
Image

The message on the block is incorrect. Instead of "...no longer exists", it should say that the component is private in the mechanism.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions