Skip to content

Conversation

lizlooney
Copy link
Collaborator

Added mechanisms to the app (new mechanism, show mechanism in the tree, rename/copy mechanism, etc).

Set the title of the workspace name modal bases on what is being done (new workspace, rename workspace, copy workspace). Set the title of the module name modal bases on what is being done (new workspace, rename workspace, copy workspace).

Fixed a problem where the module type wasn't being passed to the python generator when it generates the python code for the UI.

When a new module is selected and we are updating the blocks editor area, close the toolbox flyout if it is open.

When saving a module to storage, include the module type. Improved the code that writes and reads modules (Workspaces, Mechanisms, and OpModes) to/from storage.

…e, rename/copy mechanism, etc).

Set the title of the workspace name modal bases on what is being done (new workspace, rename workspace, copy workspace).
Set the title of the module name modal bases on what is being done (new workspace, rename workspace, copy workspace).

Fixed a problem where the module type wasn't being passed to the python generator when it generates the python code for the UI.

When a new module is selected and we are updating the blocks editor area, close the toolbox flyout if it is open.

When saving a module to storage, include the module type.
Improved the code that writes and reads modules (Workspaces, Mechanisms, and OpModes) to/from storage.
@lizlooney lizlooney requested a review from alan412 February 14, 2025 06:23
@lizlooney lizlooney linked an issue Feb 14, 2025 that may be closed by this pull request
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.

I think we should improve the icon for mechanism, but this looks like a good way to do this to me.

@lizlooney lizlooney merged commit b63e3a0 into wpilibsuite:main Feb 15, 2025
1 check passed
@lizlooney lizlooney deleted the pr_mechanism_files branch February 15, 2025 00:17
@lizlooney lizlooney mentioned this pull request Feb 15, 2025
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.

Add MODULE_TYPE_MECHANISM to common_storage.ts

2 participants