feat: add status endpoint, hide FAB/dashlet when integration disabled

This commit is contained in:
2026-03-31 23:10:22 +00:00
parent f116611c73
commit 4dad65f578
@@ -236,6 +236,16 @@ class SmartAssistantService
}
}
public function getStatus(): array
{
$webhookUrl = $this->getWebhookUrl();
return [
'enabled' => $webhookUrl !== null,
'webhookConfigured' => !empty($webhookUrl),
];
}
public function getSummary(): array
{
$alertCalc = $this->injectableFactory->create(AlertCalculator::class);