From 5bcb7aa7c3c00be1e27807301072f46477438ef2 Mon Sep 17 00:00:00 2001 From: Michael Chihlas Date: Fri, 24 Apr 2026 02:56:35 -0400 Subject: [PATCH] =?UTF-8?q?feat(pilot):=20InlineNoTemplateDialog=20?= =?UTF-8?q?=E2=80=94=20chat-region=20placement=20wrapper?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Slide-up wrapper around the existing NoTemplateDialog for rendering in the chat region above the composer (parallel to ProposalBanner). The chat region's width lets grid-cols-3 finally work as intended. No change to NoTemplateDialog itself; decision callbacks and card copy stay identical. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../pilot/InlineNoTemplateDialog.tsx | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 frontend/src/components/pilot/InlineNoTemplateDialog.tsx diff --git a/frontend/src/components/pilot/InlineNoTemplateDialog.tsx b/frontend/src/components/pilot/InlineNoTemplateDialog.tsx new file mode 100644 index 00000000..475504dc --- /dev/null +++ b/frontend/src/components/pilot/InlineNoTemplateDialog.tsx @@ -0,0 +1,22 @@ +/** + * InlineNoTemplateDialog — chat-region placement wrapper for + * NoTemplateDialog. Renders above the composer (slide-up animation + * matching ProposalBanner), using the full chat-region width so the + * three decision cards fit side-by-side. + */ +import { NoTemplateDialog } from '@/components/pilot/script/NoTemplateDialog' +import type { ComponentProps } from 'react' + +type Props = ComponentProps + +export function InlineNoTemplateDialog(props: Props) { + return ( +
+
+ +
+
+ ) +} + +export default InlineNoTemplateDialog