From 8be2eb41b0841d2e7d14dca21bf6831b2e4356ce Mon Sep 17 00:00:00 2001 From: scotttong Date: Tue, 2 Jun 2026 18:51:04 -0700 Subject: [PATCH] =?UTF-8?q?PAP-56:=20IA=20Phase=201=20=E2=80=94=20left-nav?= =?UTF-8?q?=20restructure?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rebuild the sidebar to the board-locked IA structure (frontend-only): - Add Conference room top-level item above New Task (chat-bubble icon), routing to a new placeholder page. - Rename "New Issue" -> "New Task" and switch its label to the standard nav color (text-foreground/80) to match SidebarNavItem. - Add Artifacts (new placeholder page) and Projects (-> existing /projects) to the Work section in the order Tasks · Routines · Goals · Workspaces · Artifacts · Projects. - Remove the old collapsible per-project PROJECTS section (SidebarProjects) from the sidebar; tiles get rebuilt in a child issue. - Add /conference-room and /artifacts routes in App.tsx. Co-Authored-By: Claude Opus 4.8 --- ui/src/App.tsx | 4 ++++ ui/src/components/Sidebar.test.tsx | 4 ---- ui/src/components/Sidebar.tsx | 15 +++++++++------ ui/src/pages/Artifacts.tsx | 19 +++++++++++++++++++ ui/src/pages/ConferenceRoom.tsx | 19 +++++++++++++++++++ 5 files changed, 51 insertions(+), 10 deletions(-) create mode 100644 ui/src/pages/Artifacts.tsx create mode 100644 ui/src/pages/ConferenceRoom.tsx diff --git a/ui/src/App.tsx b/ui/src/App.tsx index 94522182c9b..64a5dfe79da 100644 --- a/ui/src/App.tsx +++ b/ui/src/App.tsx @@ -10,6 +10,8 @@ import { Companies } from "./pages/Companies"; import { Agents } from "./pages/Agents"; import { AgentDetail } from "./pages/AgentDetail"; import { Projects } from "./pages/Projects"; +import { ConferenceRoom } from "./pages/ConferenceRoom"; +import { Artifacts } from "./pages/Artifacts"; import { ProjectDetail } from "./pages/ProjectDetail"; import { ProjectWorkspaceDetail } from "./pages/ProjectWorkspaceDetail"; import { Workspaces } from "./pages/Workspaces"; @@ -67,6 +69,8 @@ function boardRoutes() { return ( <> } /> + } /> + } /> } /> } /> } /> diff --git a/ui/src/components/Sidebar.test.tsx b/ui/src/components/Sidebar.test.tsx index 01308192484..8b98c55bc7b 100644 --- a/ui/src/components/Sidebar.test.tsx +++ b/ui/src/components/Sidebar.test.tsx @@ -82,10 +82,6 @@ vi.mock("./SidebarCompanyMenu", () => ({ SidebarCompanyMenu: () =>
Company menu
, })); -vi.mock("./SidebarProjects", () => ({ - SidebarProjects: () => null, -})); - vi.mock("./SidebarAgents", () => ({ SidebarAgents: () => null, })); diff --git a/ui/src/components/Sidebar.tsx b/ui/src/components/Sidebar.tsx index bce1f64aecf..65e68d46645 100644 --- a/ui/src/components/Sidebar.tsx +++ b/ui/src/components/Sidebar.tsx @@ -12,12 +12,14 @@ import { Repeat, GitBranch, Settings, + MessagesSquare, + Package, + FolderOpen, } from "lucide-react"; import { useQuery } from "@tanstack/react-query"; import { NavLink } from "@/lib/router"; import { SidebarSection } from "./SidebarSection"; import { SidebarNavItem } from "./SidebarNavItem"; -import { SidebarProjects } from "./SidebarProjects"; import { SidebarAgents } from "./SidebarAgents"; import { useDialogActions } from "../context/DialogContext"; import { useCompany } from "../context/CompanyContext"; @@ -73,14 +75,15 @@ export function Sidebar() {