diff --git a/packages/web/src/components/TaskRow.tsx b/packages/web/src/components/TaskRow.tsx index 90ea692..e3bf5c1 100644 --- a/packages/web/src/components/TaskRow.tsx +++ b/packages/web/src/components/TaskRow.tsx @@ -1,3 +1,4 @@ +import { Link } from "@tanstack/react-router"; import { StatusBadge } from "@/components/StatusBadge"; import { DependencyIndicator } from "@/components/DependencyIndicator"; import { cn } from "@/lib/utils"; @@ -53,7 +54,13 @@ export function TaskRow({ {/* Agent assignment */} {agentName && ( - [{agentName}] + e.stopPropagation()} + > + [{agentName}] + )} {/* Status badge */} diff --git a/packages/web/src/layouts/AppLayout.tsx b/packages/web/src/layouts/AppLayout.tsx index 2294879..e623959 100644 --- a/packages/web/src/layouts/AppLayout.tsx +++ b/packages/web/src/layouts/AppLayout.tsx @@ -1,11 +1,8 @@ import { Link } from '@tanstack/react-router' const navItems = [ - { label: 'Initiatives', to: '/initiatives', enabled: true }, - { label: 'Inbox', to: '/inbox', enabled: true }, - { label: 'Agents', to: '#', enabled: false }, - { label: 'Tasks', to: '#', enabled: false }, - { label: 'Settings', to: '#', enabled: false }, + { label: 'Initiatives', to: '/initiatives' }, + { label: 'Inbox', to: '/inbox' }, ] as const export function AppLayout({ children }: { children: React.ReactNode }) { @@ -20,27 +17,18 @@ export function AppLayout({ children }: { children: React.ReactNode }) { {/* Navigation */} diff --git a/packages/web/src/routes/inbox.tsx b/packages/web/src/routes/inbox.tsx index eadf8a8..7db0aa5 100644 --- a/packages/web/src/routes/inbox.tsx +++ b/packages/web/src/routes/inbox.tsx @@ -1,5 +1,5 @@ import { useState } from "react"; -import { createFileRoute, Link } from "@tanstack/react-router"; +import { createFileRoute } from "@tanstack/react-router"; import { AlertCircle } from "lucide-react"; import { Button } from "@/components/ui/button"; import { Card } from "@/components/ui/card"; @@ -186,8 +186,26 @@ function InboxPage() {

- Task: {selectedAgent.taskId} + Task:{" "} + {selectedAgent.taskId ? ( + + {selectedAgent.taskId} + + ) : ( + "—" + )}

+ {selectedAgent.taskId && ( + + View in context → + + )} {/* Question Form or Notification Content */}