Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI: Workflow of Workflows representation #6922

Open
Asherslab opened this issue Oct 13, 2021 · 2 comments
Open

UI: Workflow of Workflows representation #6922

Asherslab opened this issue Oct 13, 2021 · 2 comments
Labels
area/ui solution/suggested A solution to the bug has been suggested. Someone needs to implement it. type/feature Feature request

Comments

@Asherslab
Copy link

Summary

Currently a workflow of workflows (using the resource template) creates a seperate workflow representation in the UI with no form of reference or link between the created workflow and the "parent" workflow. Having some way to see the entire workflow of workflows as a single UI visualization would be great.

Terms:
Parent referrers to any Workflow that creates a workflow
Child referrers to any Workflow created by a (parent) workflow

Ideas for implementation:

  • Add a parent setting to the workflow spec, the parent setting can be filled in with a workflow name and a step name for what workflow created it. This is simpler than a children setting given that the parent when creating the child knows it's own name, however a child's name isn't always known by the parent due to generated names.
  • When a workflow step has children display them in the UI Workflow view visualisation, timeline, etc.

Use Cases

This can be used for visualising and calculating complicated Workflow of Workflows scenarios where workflow templates aren't feasible, such as dynamically created workflows.


Message from the maintainers:

Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

@Asherslab Asherslab added the type/feature Feature request label Oct 13, 2021
@alexec alexec added the area/ui label Feb 7, 2022
@agilgur5
Copy link
Member

agilgur5 commented Aug 23, 2023

Discussed this a bit over Slack yesterday and one (potentially simple) implementation option would be to have the resource step link to the new Workflow. This would be similar to how the Argo CD UI displays nested apps.

"Step links" could also potentially be made more generic and allow arbitrary links, also similar to Argo CD.
Workflows does already have custom links available for various pages/scopes (and custom columns on the List page), so I think this would be fairly consistent UX.

@agilgur5
Copy link
Member

Linking was also suggested in #4238 (comment).

Workflows does already have custom links available for various pages/scopes

I am wondering if the Pod scope may actually cover this as a workaround. I haven't used that scope before, will need to check that

@agilgur5 agilgur5 changed the title Workflow of Workflows representation in UI UI: Workflow of Workflows representation Oct 15, 2024
@agilgur5 agilgur5 added the solution/suggested A solution to the bug has been suggested. Someone needs to implement it. label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui solution/suggested A solution to the bug has been suggested. Someone needs to implement it. type/feature Feature request
Projects
Status: No status
Development

No branches or pull requests

3 participants