Skip to content

Conversation

Daniel1464
Copy link
Contributor

@Daniel1464 Daniel1464 commented Aug 15, 2025

Choreo can now generate java files containing constants and variables defined in the GUI.

I decided to make the PR off the main branch instead of shueja's frontend-refactor, as the changes to the rest of the code are pretty minimal and (IMHO) can be integrated easily.

@github-actions github-actions bot added component: ui UI frontend component: backend Rust/Tauri backend labels Aug 15, 2025
Copy link
Member

@calcmogul calcmogul left a comment

Choose a reason for hiding this comment

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

I don't have an opinion on the TypeScript implementation because I don't do webdev. However, I'm concerned about the added complexity and maintainability of this change. We already have to go through quite a few steps for schema upgrades, and this change adds more steps.

* This allows for modifying constants in choreo while keeping your robot code up-to-date.
* DO NOT MODIFY this file yourself, as it is auto-generated.
*/
public final class ChoreoConsts {`);
Copy link
Collaborator

Choose a reason for hiding this comment

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

I suggest ChoreoRobotConfig.

Daniel1464 and others added 2 commits August 21, 2025 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: backend Rust/Tauri backend component: ui UI frontend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants