Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: rework control entities #3185

Merged
merged 86 commits into from
Jan 17, 2025
Merged

feat: rework control entities #3185

merged 86 commits into from
Jan 17, 2025

Conversation

Julusian
Copy link
Member

@Julusian Julusian commented Dec 22, 2024

WIP for 3.6

The aim of this is to rework how we handle actions and feedbacks into a single type called entity.
There is still action and feedback specialisation of entities, but as maybe 80% of the code for them is the same and is currently duplicated, combining them allows us to the model.

The key benefit and motivator of this, is that it makes things much simpler when it comes to having feedbacks inside of actions (for an if action). Without doing this, making sure that we perform the correct lifecycle and mutations of these feedbacks is very hard and messy, and going forward would be error prone making sure that both places attempt to be updated.

TODO

  • upgrade existing config
  • look into refactoring ui code to reduce duplication
  • test it all

@Julusian Julusian added this to the v3.develop milestone Jan 13, 2025
@Julusian Julusian changed the base branch from main to develop January 17, 2025 21:46
@Julusian Julusian marked this pull request as ready for review January 17, 2025 21:47
@Julusian Julusian merged commit f3a142a into develop Jan 17, 2025
7 of 8 checks passed
@Julusian Julusian deleted the feat/rework-control-entities branch January 17, 2025 22:25
@Julusian Julusian modified the milestones: v3.develop, v3.6 Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant