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

Can Tekton provide a more powerful graphical interface #3852

Open
zhaomingcheng01 opened this issue Dec 20, 2024 · 1 comment
Open

Can Tekton provide a more powerful graphical interface #3852

zhaomingcheng01 opened this issue Dec 20, 2024 · 1 comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@zhaomingcheng01
Copy link

Provide a Git branch selection box
Variable dropdown menu
Remarks input box, etc
Not just a simple YAML editing box that can only serve as a CI base, but also a layer of user experience related packaging on top of it

@zhaomingcheng01 zhaomingcheng01 added the kind/feature Categorizes issue or PR as related to a new feature. label Dec 20, 2024
@AlanGreene
Copy link
Member

AlanGreene commented Dec 27, 2024

Hi @zhaomingcheng01, thanks for the feature request. Can you elaborate on what exactly you're looking for?

Not just a simple YAML editing box that can only serve as a CI base, but also a layer of user experience related packaging on top of it

I assume you're talking about the UI for creating a run. The Dashboard already provides a form-based UI with support for simple inputs, so the YAML editor is not the only option.

Provide a Git branch selection branch
Variable dropdown menu

Same question for both of these, what would the source of the options in this UI control be?
There have been a number of previous issues requesting support for dropdowns etc., see for example #3193

As discussed in that issue, one option would be support in Tekton Pipelines for an enum type param. The Dashboard would be able to read the details of the enum from the Task / Pipeline and display the corresponding options in some UI control for the user to select. Until support for this or a similar feature is available in Tekton Pipelines there is nothing for the Dashboard to display.

As for making requests to some git provider to dynamically retrieve a list of branches to display, I think that's unlikely to be something the Dashboard will implement directly. Perhaps some future extension mechanism could allow for extension authors to augment the experience with support for additional functionality like this but I don't think it will be built-in to the Dashboard core.

The Dashboard is not currently intended to be a full-blown CI/CD UI, instead it's more akin to a Tekton-focused version of the Kubernetes Dashboard, providing a view on the current state of Tekton resources on the cluster. It provides some limited additional functionality for convenience, but that is not the Dashboard's core focus.

Remarks input box

Where would this be stored / displayed?
Are you envisioning something like a description of the reason / circumstances surrounding creation of the run? If so, see #3804 for related discussion.

I'm currently on vacation so responses may be slow. I'll catch up on any additional questions or comments in the new year.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants