podman-desktop/extensions
Simon Rey 39cf0e88c1 fix(renderer): hide update button when provider has no installed version
When a provider (e.g. Kind) reports updateInfo but the CLI is not
actually installed, the Resources page would show an Update button that
hangs indefinitely when clicked.

Root cause: the Kind extension registers a provider update even when
kindPath is undefined (CLI not installed). Additionally, the renderer
only compared versions without checking that the provider has a version
at all.

Fixes:
- Kind extension: skip provider.registerUpdate when kindPath is not set
- Renderer: require provider.version to exist before showing the button
- ProviderUpdateButton: add the same guard as defense-in-depth

Closes #13639

Signed-off-by: Simon Rey <music.music.music@hotmail.com>
Made-with: Cursor
Signed-off-by: Simon Rey <51708585+simonrey1@users.noreply.github.com>
2026-04-16 09:44:16 +02:00
..
compose chore(deps-dev): bump eslint-plugin-simple-import-sort from 12.1.1 to 13.0.0 (#16957) 2026-04-10 13:02:34 -04:00
docker/packages chore(deps-dev): bump the vitest group with 2 updates 2026-04-10 10:09:22 +02:00
kind fix(renderer): hide update button when provider has no installed version 2026-04-16 09:44:16 +02:00
kube-context chore(deps-dev): bump the vitest group with 2 updates 2026-04-10 10:09:22 +02:00
kubectl-cli chore(deps-dev): bump the vitest group with 2 updates 2026-04-10 10:09:22 +02:00
lima chore(deps-dev): bump the vitest group with 2 updates 2026-04-10 10:09:22 +02:00
podman/packages chore(deps-dev): bump msw from 2.13.2 to 2.13.3 2026-04-14 06:04:52 +02:00
podman-docker-context chore(deps-dev): bump the vitest group with 2 updates 2026-04-10 10:09:22 +02:00
registries chore(deps-dev): bump the vitest group with 2 updates 2026-04-10 10:09:22 +02:00
extensions.spec.ts fix: rename kubectl extension (#5255) 2023-12-14 09:36:45 +01:00
vitest.config.js refactor(extensions): simplify vitest config (#12103) 2025-04-09 10:42:39 +02:00