From c23dfe16e95713e7058137308bdbc28419609a39 Mon Sep 17 00:00:00 2001
From: Matthias Nott <mnott@mnsoft.org>
Date: Sat, 07 Mar 2026 11:54:15 +0100
Subject: [PATCH] feat: typing indicator, message deletion, chain playback, autoplay guard
---
components/SessionDrawer.tsx | 41 +++++++++++++++++++++--------------------
1 files changed, 21 insertions(+), 20 deletions(-)
diff --git a/components/SessionDrawer.tsx b/components/SessionDrawer.tsx
index 07b59fd..6195fbe 100644
--- a/components/SessionDrawer.tsx
+++ b/components/SessionDrawer.tsx
@@ -482,8 +482,7 @@
>
Sessions
</Text>
- <View style={{ flexDirection: "row", alignItems: "center", gap: 8 }}>
- <Pressable
+ <Pressable
onPress={() => requestSessions()}
hitSlop={{ top: 8, bottom: 8, left: 8, right: 8 }}
style={({ pressed }) => ({
@@ -497,23 +496,6 @@
Refresh
</Text>
</Pressable>
- <Pressable
- onPress={handleNewSession}
- hitSlop={{ top: 8, bottom: 8, left: 8, right: 8 }}
- style={({ pressed }) => ({
- width: 30,
- height: 30,
- borderRadius: 15,
- alignItems: "center",
- justifyContent: "center",
- backgroundColor: pressed ? colors.accent + "CC" : colors.accent,
- })}
- >
- <Text style={{ color: "#FFF", fontSize: 20, fontWeight: "600", marginTop: -1 }}>
- +
- </Text>
- </Pressable>
- </View>
</View>
</View>
@@ -537,10 +519,29 @@
/>
)}
+ {/* New session FAB */}
+ <View style={{ alignItems: "center", paddingVertical: 12 }}>
+ <Pressable
+ onPress={handleNewSession}
+ style={({ pressed }) => ({
+ flexDirection: "row",
+ alignItems: "center",
+ gap: 8,
+ paddingHorizontal: 20,
+ paddingVertical: 12,
+ borderRadius: 24,
+ backgroundColor: pressed ? colors.accent + "CC" : colors.accent,
+ })}
+ >
+ <Text style={{ color: "#FFF", fontSize: 20, fontWeight: "600", marginTop: -1 }}>+</Text>
+ <Text style={{ color: "#FFF", fontSize: 15, fontWeight: "600" }}>New Session</Text>
+ </Pressable>
+ </View>
+
{/* Footer */}
<View
style={{
- paddingVertical: 12,
+ paddingVertical: 8,
paddingHorizontal: 20,
borderTopWidth: 1,
borderTopColor: colors.border,
--
Gitblit v1.3.1