Skip to content

Conversation

@Julusian
Copy link
Member

@Julusian Julusian commented Feb 1, 2026

bitfocus/companion#3931

The aim here is to formalise a slightly more hierarchical structure for presets.

Instead of a flat structure with a 'category' name set on each preset, this has changed to a lightly nested structure.

Instead of arbitrary 'text' presets, there is now a concept of groups instead. Each 'section' (previously category) can now contain either an array of groups or presets.

Local variables are supported! Currently limited to just 'user value' type.

There is a new concept of a 'matrix' group. Inspired a little by the github actions matrix syntax.
Instead of having to define the same preset multiple times with just changing an option to an action/feedback, some value substitution can be done. This is done via local-variables, with the matrix overriding the default value of those local variables

Types have been tweaked a little too, to tidy up a few patches of messiness that have crept in.

TODO:

  • Stronger typescript for options

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