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

Enhancement: Publisher copy instance settings between instances

Open BigRoy opened this issue 1 year ago • 1 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?

I'd like to be able to transfer the attribute definition values of one instance to others. That way when new instances are created I can easily transfer the settings from an instance I had already configured the way I like.

How would you imagine the implementation of the feature?

I think being able to right click on the Instance left hand side to "Copy Settings" would be great to then select multiple others, right click and "Paste Settings".

image

Additional nice to haves:

  • Would be great if it'd support CTRL + C and then CTRL + V since it's must faster if you want to do this frequently.
  • The copied settings could be a json into the (system) clipboard so that you could even paste it onto instances in another session.
    • By allowing pasting from clipboard it could even result in someone sharing an example json snippet and say "paste this onto the instance to configure it the way we need" which I think could be a nice bonus.
  • When "copying" or "pasting" a notification like the "refreshed" one could appear at the top of the window to indicate that the settings were copied to clipboard or that they were applied.

I'd expect it to only transfer the attribute definitions and NOT the variant, asset and task. I'm not sure what we'd like to do with the thumbnail; whether to copy/paste that as well - I think we might be best to exclude that as well. As such it'd only be the attribute definition values that get copied to clipboard and applied to selected instances on pasting.


In short, allow selecting an instance, click CTRL + C, select a few others and CTRL + V to paste the same attribute definition values there.

Are there any labels you wish to add?

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

Describe alternatives you've considered:

The new publisher allows for "Multiselection" to change the values of multiple instances at once. But it can often happen that you have an instance configured the way you like, a new instance gets created or added and you just want to match the settings. There's currently no easy way to do that.

Additional context:

No response

[cuID:OP-6719]

BigRoy avatar Sep 01 '23 09:09 BigRoy