ayon-core icon indicating copy to clipboard operation
ayon-core copied to clipboard

Enhancement: Callbacks and groups with Publisher attributes

Open antirotor opened this issue 11 months ago • 5 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues.

Please describe the feature you have in mind and explain what the current shortcomings are?

In publisher, both creator and publish plugins can define attributes that can be set to control specifics of the publishing process. Right now, all those attributes are basically standalone without having any connection to others.

We need to define relationship between individual attributes, so changing value of one can affect the whole group (or other groups, or other controls).

How would you imagine the implementation of the feature?

Since attributes are defined in individual plugins there are few things that needs to be implemented to overcome this:

  • attribute identifier: to be able to reference one attribute from somewhere else
  • callbacks: ability for plugin to define custom callback to be called when some attribute state is changed (connected to event system). Those callbacks should be able to report back to UI - for example to report invalid state.
  • labeling: show what controls belongs together, either plugin-wise, or logical group related

Are there any labels you wish to add?

  • [X] I have added the relevant labels to the enhancement request.

Describe alternatives you've considered:

No response

Additional context:

Rreferences

https://github.com/ynput/ayon-workgroups/issues/4

[cuID:AY-2420]

antirotor avatar Feb 28 '24 17:02 antirotor