From d147994b9246a8b2509570603e98fe60ee4ea572 Mon Sep 17 00:00:00 2001 From: Luis Novo Date: Mon, 16 Feb 2026 14:46:42 -0300 Subject: [PATCH 1/5] fix: resolve translation proxy shadowing `name` keys The Proxy's get handler checked `prop in target` before looking up translations. Since the target is a function, `Function.name` is a built-in property that shadowed translation keys like `t.common.name`, causing the raw proxy path to render instead of the translated string. Move translation lookup before target property checks so i18n keys always take priority. Also remove unnecessary `|| 'Name'` fallback in CreateNotebookDialog. --- .../src/components/notebooks/CreateNotebookDialog.tsx | 2 +- frontend/src/lib/hooks/use-translation.ts | 10 +++------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/frontend/src/components/notebooks/CreateNotebookDialog.tsx b/frontend/src/components/notebooks/CreateNotebookDialog.tsx index a224c34..ced84c4 100644 --- a/frontend/src/components/notebooks/CreateNotebookDialog.tsx +++ b/frontend/src/components/notebooks/CreateNotebookDialog.tsx @@ -75,7 +75,7 @@ export function CreateNotebookDialog({ open, onOpenChange }: CreateNotebookDialo
- + Date: Mon, 16 Feb 2026 14:46:48 -0300 Subject: [PATCH 2/5] fix: prevent dialog content overflow with long unbroken strings Long strings without spaces caused the Add Source dialog to expand beyond the viewport due to field-sizing-content on textareas propagating width through CSS grid/flex layout. Add min-w-0 to Textarea, WizardContainer content layers, and the AddSourceDialog form to prevent flex/grid items from expanding to fit content. Add overflow-hidden to base DialogContent as a safeguard. --- frontend/src/components/sources/AddSourceDialog.tsx | 2 +- frontend/src/components/ui/dialog.tsx | 2 +- frontend/src/components/ui/textarea.tsx | 2 +- frontend/src/components/ui/wizard-container.tsx | 10 +++++----- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/frontend/src/components/sources/AddSourceDialog.tsx b/frontend/src/components/sources/AddSourceDialog.tsx index a49b2d4..3f31adb 100644 --- a/frontend/src/components/sources/AddSourceDialog.tsx +++ b/frontend/src/components/sources/AddSourceDialog.tsx @@ -542,7 +542,7 @@ export function AddSourceDialog({ - + ) {