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

Bug: Publisher detailed description from Create tab shows in Publish tab but with unrelated help

Open BigRoy opened this issue 1 year ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior:

The new style Creators of the new publisher allow to define a detailed_description class attribute or override a get_detailed_description method to retrieve a informational help message about the Creator to be shown when the question mark on the top right of the UI is clicked.

For example: image

However, currently when going to the Publish tab the detailed description remains. image

Even when selecting an instance of another creator: image

Expected Behavior:

If the publish tab doesn't provide its own detailed descriptions I'd say the help dialog should auto-close and the question mark top right should disappear or get disabled.

Version

3.16.5-nightly.2

What platform you are running OpenPype on?

Windows

Steps To Reproduce:

  1. Select a creator with detailed description in create tab
  2. Go to publish tab

Are there any labels you wish to add?

  • [X] I have added the relevant labels to the bug report.

Relevant log output:

No response

Additional context:

Side note - when no detailed description is implemented you'll see:

We didn't prepare help for this part...

image

I think for those cases it'd also be preferable for that message to read:

No detailed description available for {creator.label}.

And maybe even expand that with:

Please check the Ayon documentation at {docs_url} or request more details on the community forum if the related documentation can't be found

[cuID:OP-6730]

BigRoy avatar Aug 28 '23 10:08 BigRoy