containers / podman-desktop

Podman Desktop is the best free and open source tool to work with Containers and Kubernetes for developers. Get an intuitive and user-friendly interface to effortlessly build, manage, and deploy containers and Kubernetes — all from your desktop.
https://podman-desktop.io
Apache License 2.0
4.54k stars 290 forks source link

Improve design for CLI Tools card to support new actions #8041

Open axel7083 opened 2 months ago

axel7083 commented 2 months ago

Is your feature request related to a problem? Please describe

Currently the CLI Tools page only support displaying the tool, and offering the update mechanism for it if available.

Here are the two examples.

image

Describe the solution you'd like

We want to have more than one action/state.

Let's break it down.

ℹ️ Very important, we have some scenarios where the tool cannot be updated nor uninstalled: when the tool has not been installed by podman-desktop. If the tool has been installed in a place where podman-desktop would not place it, it is not managed by us, it can be used, but not remove/updated.

We have to consider other elements, today we do not display the path where the tool/binary is installed, we have access to this information, therefore we should probably display it, or at least have a tooltip ?

Describe alternatives you've considered

No response

Additional context

No response

deboer-tim commented 2 months ago

+1. FWIW issue #5215 is also open to show the path. IMHO we don't need to show any 'state' here, it should be clear by what info and actions are available.

axel7083 commented 2 months ago

Here are some ideas/mockup I made, I tried to display the different state possible, but I am not really liking the buttons

image