Skip to content

Conversation

@lizlooney
Copy link
Collaborator

Fixed problem where toolbox doesn't show mechanism that was just added to the robot.

Steps to reproduce the problem:

  1. Make a new project
  2. Add a mechanism "Arm" from the + next to Tabs
  3. Click on the Robot tab.
  4. Add the mechanism (my_arm) to the Robot.
  5. Click on the Teleop tab.
  6. The mechanism should be in the toolbox (Robot -> Mechanisms -> my_arm)

Details:
Modified Tabs so it waits for the saveModule to finish before switching tabs.
Modified TabContent so when a module is saved, it updates modulePathToContentText.

…ng tabs.

Modified TabContent so when a module is saved, it updates modulePathToContentText.
@lizlooney lizlooney requested a review from alan412 November 13, 2025 07:13
Copy link
Collaborator

@alan412 alan412 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alan412 alan412 merged commit af999b2 into wpilibsuite:main Nov 13, 2025
1 check passed
@lizlooney lizlooney deleted the pr_await_save_module branch November 14, 2025 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants