From a405c29ab12217efc49f55b7420e439c010f00cf Mon Sep 17 00:00:00 2001 From: Mohamed Boudra Date: Sat, 25 Oct 2025 21:59:10 +0200 Subject: [PATCH] feat: replace single realtime button with three-button footer navigation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace the centered realtime button in the global footer with three buttons: - Agents: Navigate to home screen - New Agent: Open create agent modal - Realtime: Start realtime mode (existing functionality) This provides easier access to core navigation actions from any non-agent screen. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- packages/app/src/components/global-footer.tsx | 99 ++++++++++++------- 1 file changed, 64 insertions(+), 35 deletions(-) diff --git a/packages/app/src/components/global-footer.tsx b/packages/app/src/components/global-footer.tsx index 7988a0df4..cb7f4dc79 100644 --- a/packages/app/src/components/global-footer.tsx +++ b/packages/app/src/components/global-footer.tsx @@ -140,33 +140,57 @@ export function GlobalFooter() { ); } - // For home and orchestrator screens, show centered realtime button + // For home and orchestrator screens, show three buttons return ( - - - - - - - + <> + + + router.push("/")} + style={styles.footerButton} + > + + Agents + + + setShowCreateModal(true)} + style={styles.footerButton} + > + + New Agent + + + + + Realtime + + + + + setShowCreateModal(false)} + /> + ); } @@ -186,18 +210,23 @@ const styles = StyleSheet.create((theme) => ({ right: 0, bottom: 0, }, - centeredButtonContainer: { - padding: theme.spacing[6], - alignItems: "center", - justifyContent: "center", + threeButtonContainer: { + flexDirection: "row", + padding: theme.spacing[4], + gap: theme.spacing[3], }, - centeredRealtimeButton: { - width: 56, - height: 56, - borderRadius: theme.borderRadius.full, - backgroundColor: theme.colors.palette.blue[600], + footerButton: { + flex: 1, + flexDirection: "column", alignItems: "center", justifyContent: "center", + paddingVertical: theme.spacing[3], + gap: theme.spacing[1], + }, + footerButtonText: { + color: theme.colors.foreground, + fontSize: theme.fontSize.xs, + fontWeight: theme.fontWeight.normal, }, buttonDisabled: { opacity: 0.5,