KI-AGENT: Matrix-Kontoerstellung nutzbarer machen

This commit is contained in:
2026-05-18 16:59:35 +02:00
parent eb2dd03ef9
commit c893574cb1
4 changed files with 95 additions and 10 deletions

View File

@@ -28,6 +28,12 @@ const statusItems = computed(() => [
icon: "i-heroicons-identification",
color: "neutral"
},
{
label: "Provisionierung",
value: status.value?.provisioningConfigured ? "Bereit" : "Nicht eingerichtet",
icon: status.value?.provisioningConfigured ? "i-heroicons-key" : "i-heroicons-exclamation-triangle",
color: status.value?.provisioningConfigured ? "success" : "warning"
},
{
label: "Erreichbarkeit",
value: status.value?.reachable ? "Erreichbar" : "Nicht erreichbar",
@@ -133,6 +139,7 @@ onMounted(loadMatrixInfo)
:class="{
'text-success': item.color === 'success',
'text-error': item.color === 'error',
'text-warning': item.color === 'warning',
'text-muted': item.color === 'neutral'
}"
/>
@@ -196,6 +203,15 @@ onMounted(loadMatrixInfo)
title="Matrix-Homeserver nicht erreichbar"
:description="status.error || 'Bitte prüfe den lokalen Matrix-Stack und die Backend-Konfiguration.'"
/>
<UAlert
v-else-if="status && !status.provisioningConfigured"
icon="i-heroicons-key"
color="warning"
variant="soft"
title="Matrix-Provisionierung nicht eingerichtet"
description="Bitte setze MATRIX_REGISTRATION_SHARED_SECRET in der Backend-Umgebung."
/>
</div>
<template #footer>
@@ -206,7 +222,7 @@ onMounted(loadMatrixInfo)
<UButton
icon="i-heroicons-user-plus"
:loading="provisioning"
:disabled="!status?.reachable"
:disabled="!status?.reachable || !status?.provisioningConfigured"
@click="provisionMatrixAccount"
>
Matrix-Konto erstellen