diff --git a/frontend/scripts/check-frontend-boundaries.mjs b/frontend/scripts/check-frontend-boundaries.mjs index 982a25b1..fa91cb28 100644 --- a/frontend/scripts/check-frontend-boundaries.mjs +++ b/frontend/scripts/check-frontend-boundaries.mjs @@ -240,7 +240,7 @@ const ADOPTION_CEILINGS = [ }, { name: 'hand-rolled form-group blocks (F2: FormField/useForm)', - ceiling: 253, + ceiling: 206, include: (file) => file.startsWith('pages/') || file.startsWith('components/'), pattern: /form-group/g, }, diff --git a/frontend/src/components/databases/EngineInstallDrawer.jsx b/frontend/src/components/databases/EngineInstallDrawer.jsx index 0a8202da..5773eaa9 100644 --- a/frontend/src/components/databases/EngineInstallDrawer.jsx +++ b/frontend/src/components/databases/EngineInstallDrawer.jsx @@ -8,6 +8,8 @@ import api from '../../services/api'; import { Drawer, SegControl } from '@/components/ds'; import { Button } from '@/components/ui/button'; import { Input } from '@/components/ui/input'; +import { Label } from '@/components/ui/label'; +import useFieldErrors from '@/hooks/useFieldErrors'; import { Switch } from '@/components/ui/switch'; import { useToast } from '../../contexts/useToast.js'; import EngineGlyph from './EngineGlyph'; @@ -65,23 +67,21 @@ function SecretRow({ password, onRegenerate, disabled }) { } // One template variable, rendered from its own declaration. -function VariableField({ variable, value, onChange }) { +function VariableField({ variable, value, onChange, error, onBlur }) { const { t } = useTranslation(); const id = `dbx-var-${variable.name}`; return (