(feat): add live messages

(fix): broken states in message component
(qol): update todos
This commit is contained in:
Alois 2026-05-01 13:40:04 +02:00
commit 2d1e2c7bf8
8 changed files with 91 additions and 30 deletions

View file

@ -146,9 +146,11 @@ function AppShell() {
<CallInit />
<TAuthWrapper>
<AppLayout>
<NotificationsProvider>
<Outlet />
</NotificationsProvider>
<ChatContext>
<NotificationsProvider>
<Outlet />
</NotificationsProvider>
</ChatContext>
</AppLayout>
</TAuthWrapper>
</UserContext>
@ -162,14 +164,6 @@ function CallInit() {
return null;
}
function Chat() {
return (
<ChatContext>
<ChatScreen />
</ChatContext>
);
}
const rootRoute = createRootRoute({
component: RootShell,
});
@ -234,7 +228,7 @@ const homeRoute = createRoute({
const chatRoute = createRoute({
getParentRoute: () => appRoute,
path: "chat",
component: Chat,
component: ChatScreen,
validateSearch: z.object({
id: z.number().optional(),
}),