Open HumairAK opened 4 years ago
This sounds useful, and there is "display name" for a step. Have you set that?
Is that separate from the name
field within a step? I.e. the name you see in the ui on workflow square icon? Those get truncated after exceeding a certain number of characters. I was thinking more along the lines of a way to click the specific step then be able to see a more detailed description in a form of a sentence or paragraph - if that makes sense.
Sounds good too. Would you like to raise a PR?
I would recommend you make your workflows and template compatibly with the template catalog by using the annotations:
apiVersion: argoproj.io/v1alpha1
kind: WorkflowTemplate
metadata:
annotations:
workflows.argoproj.io/description: This is a basic catalog example that simply
prints "hello argo!".
workflows.argoproj.io/maintainer: '@alexec'
workflows.argoproj.io/tags: example
workflows.argoproj.io/version: '>= 2.9.0'
name: hello-world
Is/will the description be exposed in the UI? (For internal templates that don't get added to the Catalog.)
You can view these values via the YAML viewer. They not really considered 1st-class.
Hi @alexec, do you mean that it's not recommended to add descriptions to steps? I'm considering working on this issue and have done some basic explorations, but if you don't think we should implement this, maybe we can close this issue.
Summary
Add step description field that can add human readable descriptions about the step.
Motivation
We make the ui available for others on our teams to view, but they do not necessarily have the full technical understanding of what the workflow is doing. It would be great if instead we could offer them a description of a step when they click on it to get a summary of what the step is doing.
Proposal
Not sure, but I'd imagine the end result would be an additional field within templates.steps when designing a workflow.