Inspect {MODULE_LABELS[module].toLowerCase()} data and available operations.
- ) : ( -Instance context is unavailable for this route.
- )} - > +Find, compare, and manage SimAdmin instances.
- - {model.selectedIds.length} selected - +No instances match your search and filters.
) : null} - {model.emptyReason === 'filter' ?No instances match this status filter.
: null} + {model.emptyReason === 'filter' ?No instances match the active filters.
: null} ) : null} {snapshot && model.rows.length > 0 ? ( -| - toggleVisible(event.currentTarget.checked)} - /> - | - {(['name', 'status', 'latency'] as const).map((column) => { - const label = column[0]!.toUpperCase() + column.slice(1); - const active = sort.column === column; - return ( + <> +
|---|
| + toggleVisible(event.currentTarget.checked)} + /> + | + {ALL_COLUMNS.filter((column) => shownColumns.has(column)).map((column) => (- + {column === 'origin' ? ( + COLUMN_LABELS[column] + ) : ( + + )} | + ))} ++ + {row.displayName} + + {row.id} + | + ), + status: ( ++ + {STATUS_LABELS[row.statusKind]} + + | + ), + latency:{row.latencyMs === undefined ? '—' : `${row.latencyMs} ms`} | , + version:{row.version ?? '—'} | , + capabilities:{row.capabilities.join(', ') || '—'} | , + tags:{row.tags.join(', ') || '—'} | , + freshness:{row.freshness} | , + anomalies:{row.anomalies.join(', ') || '—'} | , + origin: ( ++ {origin ? ( + + {origin} + + ) : ( + Invalid origin + )} + | + ), + }; + return ( +
|---|---|---|---|---|
| + toggleOne(row.id, event.currentTarget.checked)} + /> + | + {ALL_COLUMNS.filter((column) => shownColumns.has(column)).map((column) => ( +Origin | - - - - {model.rows.map((row) => { - const origin = canonicalHttpOrigin(row.instance.url); - return ( -|||
| - toggleOne(row.id, event.currentTarget.checked)} - /> - | -- - {row.displayName} - - {row.id} - | -- - {STATUS_LABELS[row.statusKind]} - - | -{row.latencyMs === undefined ? '—' : `${row.latencyMs} ms`} | -- {origin ? ( - - {origin} - - ) : ( - Invalid origin - )} - | -
+ {error} +
+ ) : ( +Loading instance…
+ ); + + return ( ++ {error} +
+ ) : null} + {status ? ( ++ {status} +
+ ) : null} + + {mode === 'edit' ? ( +Deletion cannot be undone.
+ + + +Instance context is unavailable for this route.
+Loading capabilities…
: null} + {loadError ?Capabilities unavailable: {loadError}
: null} + {!loading && activeCapability.state === 'supported' ? ( ++ Inspect {INSTANCE_MODULE_LABELS[module].toLowerCase()} data and available operations. +
+ ) : null} + {!loading && activeCapability.state !== 'supported' ? ( +{explanation(activeCapability)}
+ ) : null} +