Skip to content

A personal agent with a browser, terminal, files, and work that keeps going built with CopilotKit and AG-UI.

TypeScript

fix: keep the welcome screen clear of the header

Jerel John Velarde427f8802e612
diff --git a/apps/mobile/src/chat.tsx b/apps/mobile/src/chat.tsx
index 527c887..99f3fc4 100644
--- a/apps/mobile/src/chat.tsx
+++ b/apps/mobile/src/chat.tsx
@@ -28,7 +28,7 @@ import { ConversationQueue, type QueuedMessage } from "./conversation-queue";
import { runConversationTurn } from "./conversation-run";
import { FileThreadCard, TaskThreadCard } from "./thread-artifacts";
import { type Selection, useMuseThread } from "./threads";
-import { Button, Card, CheckRow, colors, ErrorNotice, Orb, s } from "./ui";
+import { Button, Card, CheckRow, colors, ErrorNotice, s } from "./ui";
import { useWorkspace } from "./workspace";
const displayParameters = z.record(z.string(), z.unknown());
@@ -326,11 +326,12 @@ export function ChatScreen({
onScroll={({ nativeEvent: { contentOffset, contentSize, layoutMeasurement } }) => {
const nearEnd = contentSize.height - contentOffset.y - layoutMeasurement.height < 100;
followLatest.current = nearEnd;
- setAwayFromLatest(!nearEnd);
+ setAwayFromLatest(visible.length > 0 && !nearEnd);
}}
scrollEventThrottle={100}
onContentSizeChange={() => {
- if (active && followLatest.current) list.current?.scrollToEnd({ animated: false });
+ if (active && visible.length > 0 && followLatest.current)
+ list.current?.scrollToEnd({ animated: false });
}}
keyboardShouldPersistTaps="handled"
>
@@ -345,14 +346,14 @@ export function ChatScreen({
{!visible.length ? (
<View
style={{
- flex: 1,
+ flexGrow: 1,
+ flexShrink: 0,
justifyContent: "center",
alignItems: "center",
paddingVertical: 34,
gap: 15,
}}
>
- <Orb size={88} />
<Text
style={{
fontSize: 28,
diff --git a/assets/openmuse-demo.gif b/assets/openmuse-demo.gif
index 8109b80..9525c99 100644
Binary files a/assets/openmuse-demo.gif and b/assets/openmuse-demo.gif differ
diff --git a/assets/openmuse-mobile-demo.mp4 b/assets/openmuse-mobile-demo.mp4
index 526c583..0f9fbec 100644
Binary files a/assets/openmuse-mobile-demo.mp4 and b/assets/openmuse-mobile-demo.mp4 differ
diff --git a/assets/openmuse-web-demo.gif b/assets/openmuse-web-demo.gif
index 36e4373..fd528c5 100644
Binary files a/assets/openmuse-web-demo.gif and b/assets/openmuse-web-demo.gif differ
diff --git a/assets/openmuse-web-demo.mp4 b/assets/openmuse-web-demo.mp4
index 0620200..62e9536 100644
Binary files a/assets/openmuse-web-demo.mp4 and b/assets/openmuse-web-demo.mp4 differ
diff --git a/assets/openmuse-web-preview.png b/assets/openmuse-web-preview.png
index 2b96c77..ec8d470 100644
Binary files a/assets/openmuse-web-preview.png and b/assets/openmuse-web-preview.png differ