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

Draft
wants to merge 71 commits into
base: main
Choose a base branch
from
Draft

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

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.

1 participant