argoproj / argo-cd

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

Ellipsis menu for pod logs opens a loading thing and then disappears #20034

Closed jsoref closed 1 month ago

jsoref commented 1 month ago

Checklist:

Describe the bug

Ellipsis menu for pod logs opens a loading thing and then disappears (it also can't be triggered again w/o reloading the page...)

To Reproduce

  1. Visit https://cd.apps.argoproj.io/applications/argocd/argo-cd?view=pods&node=%2FPod%2Fargocd%2Fargocd-application-controller-0&tab=logs
  2. Click the ellipsis near the upper right corner: image

Expected behavior

Screenshots

This shows up momentarily and then runs away:

image

Version

{
    "Version": "v2.11.0+1cffa15",
    "BuildDate": "2024-04-18T08:51:13Z",
    "GitCommit": "1cffa15f0ddecbc241d572e316ea20920fdfdb65",
    "GitTreeState": "clean",
    "GoVersion": "go1.21.9",
    "Compiler": "gc",
    "Platform": "linux/amd64",
    "KustomizeVersion": "v5.2.1 2023-10-19T20:13:51Z",
    "HelmVersion": "v3.14.3+gf03cc04",
    "KubectlVersion": "v0.26.11",
    "JsonnetVersion": "v0.20.0"
}

Logs

Paste any relevant application logs here.
linghaoSu commented 1 month ago

It seems like there is a request to know if there is an action available, maybe it would be better to get the actionable options when opening the pod details page, and then provide the trigger button for this menu if there is an actionable option available?

image
CefBoud commented 1 month ago

@jsoref @linghaoSu I have attempted to bring a fix to this issue in https://github.com/argoproj/argo-cd/pull/20051. Please let me know what you think.