argoproj / argo-cd

Declarative Continuous Deployment for Kubernetes
https://argo-cd.readthedocs.io
Apache License 2.0
16.33k stars 4.93k forks source link

UI: Provide Add and Delete support in Sources tab for multi-source apps #18047

Open keithchong opened 2 weeks ago

keithchong commented 2 weeks ago

Summary

Building on top of what was added for the Edit support in https://github.com/argoproj/argo-cd/issues/17588, this enhancement covers the support for adding new sources and deleting existing sources from the Sources panel.

Motivation and Proposal

See proposal here, multiple-sources-for-applications-ui.md or original PR: https://github.com/argoproj/argo-cd/pull/17108

Add Source button at the top, and Delete button on each source card:

ExpandedSourceShowingDeleteButton

Add Source panel (Has to be a sliding panel):

AddSourcePage

Pagination:

multisource-pagination

Delete warning:

DeleteWarning