From 763c1a885cd22bfc5ccb4cbc1e7d024873e921ca Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Thu, 20 Nov 2025 16:48:06 +0800 Subject: [PATCH] perf: url display in webhook dialog --- .../ApiIntegrationDialog.tsx | 48 +++++++++++++------ 1 file changed, 33 insertions(+), 15 deletions(-) diff --git a/web/src/app/home/components/api-integration-dialog/ApiIntegrationDialog.tsx b/web/src/app/home/components/api-integration-dialog/ApiIntegrationDialog.tsx index 078d7dea..e4a58f8a 100644 --- a/web/src/app/home/components/api-integration-dialog/ApiIntegrationDialog.tsx +++ b/web/src/app/home/components/api-integration-dialog/ApiIntegrationDialog.tsx @@ -289,12 +289,16 @@ export default function ApiIntegrationDialog({ {t('common.noApiKeys')} ) : ( -
+
- {t('common.name')} - {t('common.apiKeyValue')} + + {t('common.name')} + + + {t('common.apiKeyValue')} + {t('common.actions')} @@ -372,16 +376,20 @@ export default function ApiIntegrationDialog({ {t('common.noWebhooks')} ) : ( -
-
+
+
- {t('common.name')} - {t('common.webhookUrl')} + + {t('common.name')} + + + {t('common.webhookUrl')} + {t('common.webhookEnabled')} - + {t('common.actions')} @@ -389,20 +397,30 @@ export default function ApiIntegrationDialog({ {webhooks.map((webhook) => ( - -
-
{webhook.name}
+ +
+
+ {webhook.name} +
{webhook.description && ( -
+
{webhook.description}
)}
- - {webhook.url} - +
+ + {webhook.url} + +