+ « Autre / auto » détecte l'OS via os-release. Détection complète (type, virt) ensuite via ⚙ Sonder.
+
{error &&
diff --git a/client/src/features/machines/MachineTile.tsx b/client/src/features/machines/MachineTile.tsx
index 0167e6d..151b1aa 100644
--- a/client/src/features/machines/MachineTile.tsx
+++ b/client/src/features/machines/MachineTile.tsx
@@ -6,6 +6,7 @@ import {
api,
type DockerSettingsView,
type DockerStackRow,
+ type MachineHardwareView,
type ProbeResultView,
type ProfileManifestView,
type ProfileValues,
@@ -49,8 +50,9 @@ export function MachineTile({
}: Props) {
const [dockerOpen, setDockerOpen] = useState(false);
const [postOpen, setPostOpen] = useState(false);
+ const [hwOpen, setHwOpen] = useState(false);
const [configOpen, setConfigOpen] = useState(false);
- const expanded = dockerOpen || postOpen;
+ const expanded = dockerOpen || postOpen || hwOpen;
const isError = machine.status === "error" || machine.status === "unknown";
return (
@@ -154,6 +156,14 @@ export function MachineTile({
onToggle={() => setPostOpen((value) => !value)}
/>
{postOpen &&
}
+
+
setHwOpen((value) => !value)}
+ />
+ {hwOpen && }
);
@@ -776,6 +786,48 @@ function PostInstallSection({ machine, onSelect }: { machine: MachineView; onSel
);
}
+function HardwareSection({ machineId }: { machineId: string }) {
+ const [hw, setHw] = useState