From cac6bf142c3ca8733093577c8f594e485205f33d Mon Sep 17 00:00:00 2001 From: Avraham Sakal Date: Sun, 14 Sep 2025 21:47:44 -0400 Subject: [PATCH] scrollable message list with sticky conversation header --- layouts/LayoutDefault.tsx | 16 ++++++++- pages/chat/@id/+Page.tsx | 76 ++++++++++++++++++++++----------------- 2 files changed, 59 insertions(+), 33 deletions(-) diff --git a/layouts/LayoutDefault.tsx b/layouts/LayoutDefault.tsx index b1d08b2..350e33d 100644 --- a/layouts/LayoutDefault.tsx +++ b/layouts/LayoutDefault.tsx @@ -2,11 +2,13 @@ import "@mantine/core/styles.css"; import { navigate } from "vike/client/router"; import { AppShell, + Box, Burger, Group, Image, MantineProvider, NavLink, + ScrollArea, Title, } from "@mantine/core"; import { @@ -137,7 +139,19 @@ export default function LayoutDefault({ - {children} + + + {" "} + {children}{" "} + + diff --git a/pages/chat/@id/+Page.tsx b/pages/chat/@id/+Page.tsx index 91d9ad5..cfc5869 100644 --- a/pages/chat/@id/+Page.tsx +++ b/pages/chat/@id/+Page.tsx @@ -496,8 +496,8 @@ export default function ChatPage() { } return ( - - + + )} - + Message System Prompt @@ -540,35 +548,39 @@ export default function ChatPage() { Facts Fact Triggers - - -