Skip to content

Selecting OCI from the repoType dropdown menu in the New App panel does not do anything #23747

@keithchong

Description

@keithchong

This bug was originally reported in the argo-cd-oci-integration slack channel: https://cloud-native.slack.com/archives/C06Q17QJPJR/p1748759446575809

I did not include the fix in the original UI PR for the initial OCI support, so I'm providing the fix now

Checklist:

  • I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • I've included steps to reproduce the bug.
  • I've pasted the output of argocd version.

Describe the bug

In Argo CD's UI, in the New App panel and in the SOURCE section (card), the repo type's dropdown menu contains three items, GIT, HELM, and OCI. Currently, if you select any dropdown item (select OCI from GIT, for example), nothing happens, and the original value (GIT) is still displayed. This is poor UX since you should be able to select it first and then fill in the repo URL after.

To Reproduce

  • Launch the New App panel
  • Immediately go to the Source section/card and try changing the value of that dropdown next to the Repo URL field.
  • Nothing happens

Expected behavior

  • When the selection changes, the Source section/card should update based on the selected item. eg. If HELM is selected, then the Chart field should show up since they are applicable to the HELM source type, and the Path field should disappear, since it is not applicable. If you select GIT again, then the Chart field should disappear, and the Path and Branch fields should appear.

Version
Latest

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcomponent:uiUser interfaces bugs and enhancements

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions