fix: improve Feishu/Lark channel modal UX and refine default main agent naming (#551)

This commit is contained in:
Felix
2026-03-17 14:14:47 +08:00
committed by GitHub
Unverified
parent 3b9ecb72b4
commit b9231d6431
6 changed files with 14 additions and 2 deletions

View File

@@ -425,9 +425,17 @@ export function ChannelConfigModal({
};
return (
<div className="fixed inset-0 z-50 bg-black/50 flex items-center justify-center p-4" onClick={onClose}>
<div
className="fixed inset-0 z-50 bg-black/50 flex items-center justify-center p-4"
onMouseDown={(event) => {
if (event.target === event.currentTarget) {
onClose();
}
}}
>
<Card
className="w-full max-w-3xl max-h-[90vh] flex flex-col rounded-3xl border-0 shadow-2xl bg-[#f3f1e9] dark:bg-card overflow-hidden"
onMouseDown={(event) => event.stopPropagation()}
onClick={(event) => event.stopPropagation()}
>
<CardHeader className="flex flex-row items-start justify-between pb-2 shrink-0">